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  

Relocating Breadcrumb or OpenTable();

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
chymmylt

Beginner
Beginner


Joined: Dec 01, 2003
Posts: 7

PostPosted: Thu Jun 22, 2006 5:18 pm    Post subject: Relocating Breadcrumb or OpenTable(); Reply with quote

I have a site which has a standard breadcrumb setup throughout the site. I've figured out how to edit the breadcrumb to make it appear consistant with the rest of the site however I'm having trouble figuring out how to relocate it.

Basically throughout the site I have:

OpenTable2();
Breadcrumb
ClosetTable2();

OpenTable();
Page Contenet
CloseTable();



I've found in the index.php at the end of the file where it makes the OpenTable() CloseTable() calls but the breadcrumb call is within the theme. Is there an easy way to make a call to the breadcrumb from within the index.php (then I'd simply remove the redundant code from the theme) or to move the OpenTable() CloseTable() calls to within the theme?

Thanks!

Chym
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Relocating Breadcrumb or OpenTable();  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri Jun 23, 2006 9:42 am    Post subject: Re: Relocating Breadcrumb or OpenTable(); Reply with quote

G2 separates content from presentation via the use of templates (much like phpBB does). i don't think there is any way to do what you want, unless you remove the breadcrumb code from the g2 template, and add it into the index.php in the manner which you described above.
Back to top
Offline View user's profile Send private message Visit poster's website
chymmylt

Beginner
Beginner


Joined: Dec 01, 2003
Posts: 7

PostPosted: Fri Jun 23, 2006 3:02 pm    Post subject: Re: Relocating Breadcrumb or OpenTable(); Reply with quote

That's what I guessed. I'm fairly decent at hacking about at php but Gallery seems to use calls I'm not familiar with. The line of code in the theme that calls the bread crumb is:

{g->block type="core.BreadCrumb"}

But I can't just drop that into the index.php - is there a simple bit of code to make that work in the index or would it be terribly difficult to call from the index.php?

Thanks again!
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Sat Jun 24, 2006 8:35 am    Post subject: Re: Relocating Breadcrumb or OpenTable(); Reply with quote

that would be what you delete from the template. as for adding in the g2 breadcrumb trail (beyond a simple "Gallery" crumb), would require some extensive tinkering (namely, figuring out what the album/photo name is to display in the trail).
Back to top
Offline View user's profile Send private message Visit poster's website
chymmylt

Beginner
Beginner


Joined: Dec 01, 2003
Posts: 7

PostPosted: Sat Jun 24, 2006 2:42 pm    Post subject: Re: Relocating Breadcrumb or OpenTable(); Reply with quote

That's what I was figuring - just didn't know if there was a simple trick to call the breadcrumb that I was just missing and figured I'd ask before trying to hack together some ugly code when there was perfectly good code pre-existing Smile

Thanks for confirmin - let the hacking begin (just then, a million coders shudder)
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 » PHP-Nuke Integration » 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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

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