 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 21st, 2008, 09:15 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
| Highlighting the current secction in the menu header
How I can do a menu header like: http://www.birdforum.net/
I would like highlight the selected option
thanks in advance
|
| |
February 21st, 2008, 10:00 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Hello I would suggest you view their html source of the page to see how they create that header. That will give you alot of hints on how to code up a header like that.
|
| |
February 21st, 2008, 11:38 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
|
Thanks Chuck,
Before investigate the code of that page a last question (maybe these is a bit not PP related).
I already did a flash header with a main menu (this work perfect with VB and PP integration), but now I only need to pass a parameter to get the current page (Forum or Gallery). You know what paramenter could be?
regards
|
| |
February 21st, 2008, 12:26 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Not sure what you mean by passing a parameter to get to the current page. If you use links just place the proper url for links that how they normally work.
|
| |
February 21st, 2008, 12:57 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
|
I think in some where must exist a variable to know if I'm in a Forum or a Gallery page. Then, I can pass this variable to my SWF header. Simple like "myheader.swf?section=".$parameter.
I only need a reference to know if the user are in the forum or the gallery.
|
| |
February 21st, 2008, 01:33 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
well there are no variables unless you create something but I cant tell you what that is.
|
| |
February 21st, 2008, 02:27 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
|
I found and put this in the forum header:
"$vboptions[forumhome].php$session[sessionurl]"
And will work, the only thing is that when I'm in the gallery mode I get:
"http://www.mydomain.com/forum/index.php"
And in the forum mode:
"index.php"
I can deal with this for now because I only need a reference between each one to highlight the menu option inside the flash. But would be more clean if I get "forum" and "gallery".
|
| |
February 21st, 2008, 02:38 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
well because your not giving it the true variable
Maybe this but not sure
$vbulletin->options[bburl]/index.php
|
| |
February 21st, 2008, 05:02 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
|
Thanks Chuck, I found the solution in this post, exactly what I need Navbar link code
regards
|
| |
February 21st, 2008, 05:15 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
No problem glad you found it
|
| |
February 21st, 2008, 07:14 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2008
Posts: 24
|
Hi Chuck,
Sorry for the insistence, but I notice that in the internals pages of the gallery the condition doesn't work (for example http://www.mydomain.com/gallery/showgallery.php?cat=504), maybe need compare another parameter.
*** SOLVED ***
I found the another parameters, I don't know if I missed one Code: Content visible to verified customers only.
Last edited by RAFA3L; February 21st, 2008 at 08:25 PM.
Reason: fixed
|
| |
February 22nd, 2008, 06:26 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Thats not a conditional that works with any of our products. Thats vb only I believe.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:01 AM. | |