Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-21-2012, 12:43 PM   PM User | #1
mousie
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mousie is an unknown quantity at this point
Exclamation 3 Level Menu to redirect to URL

Hi,

Could someone advise what code I require to allow for the following....

I have a template page called subpage.php which all menu items use. The menu's are built using a treemenu build function.

I have a 3 level menu and require the 3rd level on a particular sub menu to have all it's sub sub menus redirected to external urls.

Eg;

Menu Layout
Services ---> Company ---> Service 1---> (forwards to www.services#1.com.au)
Service 2---> (forwards to www.services#2.com.au)
Service 3---> (forwards to www.services#3.com.au)
I hope this makes sense.

What I "think" i need is some code to call "any page" assigned as a subpage of the "Company" Page ID

Eg; My "Company" page is assigned an ID of 45 and all Sub Sub pages have a field "submenu" set to 45. I can see all my sub sub menu's fine, I just need something to tell it to go to external URLs.

Some code required to do something like this.....if page = 45 then forward to URL.

I do not know anything about PHP so am hoping someone may be able to assist.

Thanks
mousie is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:25 AM.


Advertisement
Log in to turn off these ads.