Announcement

Collapse
No announcement yet.

Nav menu help, php issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nav menu help, php issue

    Hi

    I'm creating a site in actinic for the first time, my main nav has roll overs and an on state.

    http://www.paramountbathrooms.com/index.html

    I've outsourced the work to a web developer friend of mine.

    He's been trying to write php to make the menu tab stay appear on when you are in the section. but he's been having a bit of trouble.

    i quote:"Yeh it is impossible to tell what page you are on using PHP because it doesn't display the correct $_SERVER variables."

    Is there any way of creating a menu that has on states

    Any help would be gratefully received!

    #2
    No need for php at all, have a bodyID and set the ID per section via a new variable you setup, then via css style the link via the body tag, style will only kick in when on that page then.

    Comment


      #3
      thank you, i'll give it a bash.

      Comment


        #4
        Gabes post might be of help too, if you wanted to go in depth further

        http://community.actinic.com/showthr...hlight=freebie
        "If my answers frighten you then you should cease asking scary questions"

        Comment


          #5
          Originally posted by chunkesolutions View Post
          Gabes post might be of help too, if you wanted to go in depth further

          http://community.actinic.com/showthr...hlight=freebie
          LOL, you searched for 'freebie' to get this result. nice one.

          Comment


            #6
            i've given up on that one for now.

            can anyone help me stop a section from appearing in a section link list

            please, i'm getting no where today

            Comment


              #7
              Wrap the section link layout in a blockif that evaluates whether a new variable you have set (let's call it "InclueInSectionList" for example) is set to true. Set it to false on the one you don't want to show.

              Comment


                #8
                thank you very much, i knew it would involve a blockif. i have yet to venture into block if territory, it time to get my feet wet

                Comment


                  #9
                  Read Gabe's tutorials, you can't do sod all in V8 or V9 (of any note) without using these.

                  Comment


                    #10
                    I've only gone and bloody done it!!!!!!!!

                    http://www.paramountbathrooms.com/acatalog/Mira.html

                    i used five different menu fragment layouts/selectors on five different overall site page layouts.

                    I had a moment of divine intervention

                    Thank you for the help

                    Comment


                      #11
                      Hmm nice one, but it could have all been done in one overall layout really, so you maintain just one, not 5 layouts. Multiple page layouts are a dog to maintain, best to avoid if you can.

                      Unless of course 5 different designs were required, i very much doubt it though tbh.

                      Comment


                        #12

                        Comment


                          #13
                          LOL, it's that Friday feeling again, comedy afternoon starts here.

                          Comment


                            #14

                            Comment


                              #15
                              GENIUS.

                              forum heroics++

                              Comment

                              Working...
                              X