sub nav block headers

hey,  just wondering if any one had any tips or tricks for this one:

 

I am trying to change the block header of video, music, and photo.

 

So say if you click on videos from main nav then you click on top videos the block header always stays on video gallery no matter what sub nav link you click. 

 

I looked all over the db and code and the header text is only called once from browsevideo.php.  So I tried to create some sort of IF statement for the url string.

 

Something like :


if url="?rate=top"
then display "$_page['header_text'] = _t("_TopVideo");"

 

if url="?userID=21"
then display "$_page['header_text'] = _t("_MyVideo");"

 

well you get the idea I hope.  This is the only way i can think of to do it unless i am missing something so simple please do let me know.

 

I also googled around for this: url if statement and url conditions but could not come up with any good sources to look over.

 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 9 Sep 2009

?

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 11 Sep 2009

I remember I did something like this before but  I forgot Frown, I will post it here when I find it.

Live Support http://dolphinbugfixing.com
Quote · 11 Sep 2009

inc/classes/BxDolMenu.php

 

Your looking at the video function so look for this, it'll get you started...


 

'browseVideo.php'=>  array('check'=>'permalinks_gallery_videos', 'link'=>'video/all/10/1'),
  'browseVideo.php?rate=top'=> array('check'=>'permalinks_gallery_videos', 'link'=>'video/gallery_top'),
  'browseVideo.php?userID={profileID}'=> array('check'=>'permalinks_gallery_videos', 'link'=>'video/gallery/all/{profileNick}'),
  'browseVideo.php?userID={memberID}'=> array('check'=>'permalinks_gallery_videos', 'link'=>'video/gallery/all/{memberNick}'),


Enjoy finishing it up... I'm sure you'll have it done in no time...

Quote · 11 Sep 2009

hey forgot to check back here for the tips.  thanks mydatery ill have a look in a few to see what i can come up with.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 13 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.