Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

G2-Breadcrumb in PHPBB-Navigationbar

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Thu Jul 03, 2008 1:31 pm    Post subject: G2-Breadcrumb in PHPBB-Navigationbar Reply with quote

Hi, it's me again!

I'm intending to push the G2-Breadcrumb navigation to the PHPBB-Navigationbar. After experimenting around a little bit, i found out, that it's possible to realise that by constructing a function in GalleryEmbed.class, calling it as "GalleryEmbed::MyFunction()" in gallery2.php, expanding the existing $template->assign_vars with the variable you passed the function results to and - wooosh! - the output is available in the gallery.html-Template. Get the Template-Code that constructs the PHPBB-Navibar, insert the variable anywhere you want! Did that with the current time, worked perfect.

But... can anybody give me hint how to export the G2-Breadcrumb? Of course I know that it can be implemented in a G2-Template-File with "g->block type=core.BreadCrumb". But which class/function is called by that with which params?

All I found is a snippet in GalleryTemplateAdapter.class that's building blocks, containers, callbacks etc. Already tried to pass over a 'type' => 'core.BreadCrumb' as written in the instruction on line 774, but all it put out was, that an argument is missing.

I believe it can be managed somehow, but I'm really not used to PHP programming in the way it's exercised in G2, so can anyone give me a hint how to get a working function into GalleryEmbed.class that does this job Question Or is there even a simpler way I haven't thought of yet?

Would be very glad if youguys could help me again, although it's not a that dramatic problem this time Wink
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: G2-Breadcrumb in PHPBB-Navigationbar  

Back to top
GENCarter

Novice
Novice


Joined: Oct 08, 2008
Posts: 26

PostPosted: Thu Oct 09, 2008 9:59 am    Post subject: Re: G2-Breadcrumb in PHPBB-Navigationbar Reply with quote

Please, can someone code this! I really need this!
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia