Navigation

12 posts by 3 authors in: Forums > CMS Builder
Last Post: January 14, 2011   (RSS)

Hi,

I'm creating a site for a recruitment site. The main navigation works fine, however, the second navigation (when the relevant page is selected) should situate under the main nav, however, any page that has a second navigation displays over the top (please see jpg).

Also, please find attached the navigation file as well as the about us page file.

Re: [dsternalski] Navigation

By Chris - November 15, 2010

Hi dsternalski,

I'm thinking this is probably a CSS issue. Can you provide a URL to a page which shows the problem?
All the best,
Chris

Re: [chris] Navigation

Hi,

The main navigation problem is a css one, but the problem that I am refereing to is the second nav (where it says test under the main nav).

Basically the about us and client enquiry page have a second navigation, but no matter what page I'm on, the second nav is always displaying (even on the homepage where there is no second nav), the about us page second navigation is always overlaying the second nav from the client enquiry page even through they are different second navigations.

Re: [Jason] Navigation

Hi,

The reason that Current Vacencies is hard coded in at the moment is because I haven't added this section in. This will use the getCatergories.

The homepage, register with us and contact us use getRecords as these aren't going to have any second navigation. The navigation that uses getCategories will use the second navigation.

The reason that the navigation isn't hard coded is so that the main nav names can be changed in the CMS by the user.

Re: [dsternalski] Navigation

By Jason - November 22, 2010

Hi,

Okay, I think I see where you're going. So for each record set you have, you'll need to output the first record and then only output records after that if $thisPage is set to display those records.

Give this a try and let me know if you have any questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Navigation

Hi,

Sorry for the delay in the reply.

The navigation displays as it should, however, when i click through to a link on the second nav, the address bar displays the new address, but the page doesn't display the correct content.

Please find attached the navigation.php.

Re: [dsternalski] Navigation

By Jason - January 10, 2011

Hi,

The file navigation.php didn't get attached. Could you please try attaching it again. Also, if you could provide a url to a page that demonstrates the problem, it will be easier to troubleshoot.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Navigation

Hi,

please find navigation attached. I am in the process of putting this on a test site, so will send over a link once it is set up.
Attachments:

navigation_011.php 4K

Re: [dsternalski] Navigation

By Jason - January 11, 2011

Hi,

I've taken a look at your code and I can't see any problems there. I'll need to actually be able to see this script run to see what's happening.

What exactly is the nature of the problem? When you click on a link is it going to the wrong page, or just displaying the wrong content? Is it generating errors?

Let me know.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/