Hard to explain in a little subject box but how do I....

1 replies
I usually hang out on the Adsense forum here but given my good experience there I am wondering if this forum might be just as full of experienced pros in web development as that one is full of Adsense pros.

I am having a heck of time trying to figure out something and I am web development pro!

I have two sets of pages at my site.

For the sake of illustration let's say I have one directory like so...

dir: base
Nav links: home, contact, my rates, my skills

I have a second directory like so...

dir: lessons
Nav links: home, contact, lesson syllabus, lesson 1, lesson 2

Notice the contact link? That is my contact form.

I want the contact form to appear under both directories but where the nav links that show up will continue to be the one's for whatever directory one is in.

The contact form is physically located in the base directory. So when I click on the contact link while in the lessons directory...the nav links that show up are now the base links. I don't want that.

I want the nav links to remain what they are no matter where the contact link is clicked on.

How do I accomplish that?

I've tried all kinds of things. SESSION variables to hold the directory one is in, .htaccess mod_rewriting, etc.. Nothing has worked fully so far. Is there some simple way to do this?

Carlos
#box #explain #hard #subject
  • Profile picture of the author carlos123
    I finally figured it out. Thanks anyway. I spend days on this and finally in the last few minutes figured out how to do this.

    Carlos
    {{ DiscussionBoard.errors[1241655].message }}

Trending Topics