Announcement

Collapse
No announcement yet.

StyleVar Not Working

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • [Forum] StyleVar Not Working

    I went to go edit the following

    header_link_color
    header_linkhover_color

    but when i do they don't work.

  • #2
    anybody have an idea why?

    Comment


    • #3
      Yep its not saving or working at all.

      Comment


      • #4
        What do you mean by it is not saving? When you edit the stylevar, does the value changes or stay the same as before?
        while(true){
        if(
        $someone->needsHelp() && $i->canHelp()) $post->help();
        if(
        $i->findBug()) $post->bug();
        }

        Comment


        • #5
          I'm having the same problem. The change is being saved in the stylevar but the change is not showing up on the board.

          Comment


          • #6
            Do you have the style "enabled"? If you don't have it check-marked changes won't show up. It's a bug.
            -Andy.
            http://www.checkcheckonetwo.com
            http://www.mindplacesupport.com

            Comment


            • #7
              Yes, it is checked. And to be clear, I'm not working with a new style, I'm modifying the default VB4 style.
              Last edited by 50gi; Sat 2 Jan '10, 8:58am.

              Comment


              • #8
                Darn, I was hoping 4.0.1 was going to fix this bug. Maybe 4.0.2? Anyone know?

                Comment


                • #9
                  The stylevar itself is certainly in the relevant templates but not sure with a quick look as to why it's not having any effect - unless another stylevar being called after is 'overrulling' what's entered there.

                  There is a bug open for this so you could add to this and mark as reproducable:

                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment


                  • #10
                    I am trying to get this one to work also - has this been logged?

                    Comment


                    • #11
                      Where are you checking for the changes?

                      Comment


                      • #12
                        Any changes are being "saved" as values in the stylevar, but the changes are not reflected on the forum. For example, header_link_color is being changed to bright red but the link doesn't change color on the forum.

                        Comment


                        • #13
                          Originally posted by 50gi
                          Any changes are being "saved" as values in the stylevar, but the changes are not reflected on the forum. For example, header_link_color is being changed to bright red but the link doesn't change color on the forum.
                          Exactly - I am having that same issue.

                          Comment


                          • #14
                            Would any of you happen to be trying to change the color of the links in the top right corner? (My Profile, Settings, etc). If you are, then you want to change these two stylevars:

                            toplinks_link_color
                            toplinks_linkhover_color


                            If I'm wrong, tell us what exactly you are trying to change? header_link_color and header_linkhover_color will change links that you put into the header yourself.
                            Last edited by cbiweb; Tue 2 Feb '10, 5:27pm.
                            ~ Life isn't always fair, but you can be. ~

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X
                            😀
                            🥰
                            🤢
                            😎
                            😡
                            👍
                            👎