Announcement

Collapse
No announcement yet.

Hidden Sections

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

    Hidden Sections

    I am trying to hide certain sections online from non registered customers.

    I have made a new section link layout as below

    =======================

    <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="&#60;
    A HREF=NETQUOTEVAR:SECTIONLINK&#62;NETQUOTEVAR:SECTIONNAME&#60;&#47;
    A&#62;"/>

    <!-- NETQUOTEVAR:SECTIONIMAGE NETQUOTEVAR:SECTIONTEXT -->

    NETQUOTEVAR:NEXT

    ========================

    This hides the section 'test' from retail customers, but when I log-in I see the page as attached.

    What I want is the the section test to now appear in the same way as all the others at the bottom of the list (e.g. Account Application)

    Any sugestions?
    Attached Files
    www.butterflies-healthcare.co.uk
    www.viteyes.co.uk - vitamins for macular degeneration
    www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
    www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
    www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

    #2
    doing better

    I have now changed the page so that the code reads:

    <!-- SectionLine HTML begin -->
    <!-- Insert HTML for the beginning of a section title -->

    <DIV ALIGN="LEFT">

    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="10">

    <TR>

    <TD ALIGN="LEFT" VALIGN="TOP">
    <Actinic:SHOWFORPRICESCHEDULE Schedules="6" <A HREF=NETQUOTEVAR:SECTIONLINK>NETQUOTEVAR:SECTIONIMAGE</A>
    </TD>

    <TD ALIGN="LEFT" VALIGN="MIDDLE">
    <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK><B>NETQUOTEVAR:SECTIONNAME</B></A>">
    <br><span class="actxsmall">NETQUOTEVAR:SECTIONTEXT</span>
    </TD>

    </TR>

    </TABLE>

    </DIV>
    NETQUOTEVAR:NEXT
    <!-- Insert HTML for the end of a section title -->
    <!-- SectionLine HTML end -->



    This almost works

    When logged in all is visible as it should be - execpt the section image is not clickable.

    When not logged in the section title is not visible, but the image is?

    Any help
    www.butterflies-healthcare.co.uk
    www.viteyes.co.uk - vitamins for macular degeneration
    www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
    www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
    www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

    Comment


      #3
      I hate to beg, but I'm desperate here - any help please
      www.butterflies-healthcare.co.uk
      www.viteyes.co.uk - vitamins for macular degeneration
      www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
      www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
      www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

      Comment


        #4
        Hi there

        Just to let you know, I am testing out what you have written, and checking it.

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Any joy with this Nadeem?
          www.butterflies-healthcare.co.uk
          www.viteyes.co.uk - vitamins for macular degeneration
          www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
          www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
          www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

          Comment


            #6
            Hi James

            Here is a working sample in the advance user guide:
            Code:
            <Actinic:SHOWFORPRICESCHEDULE Schedules="2" HTML="&#60;A HREF=NETQUOTEVAR:SECTIONLINK&#62;NETQUOTEVAR:SECTIONNAME&#60;&#47;A&#62;"/>
            Looking at your code:

            Code:
            <Actinic:SHOWFORPRICESCHEDULE Schedules="6" <A HREF=NETQUOTEVAR:SECTIONLINK>NETQUOTEVAR:SECTIONIMAGE</A>
            </TD>
            This is wrong, there should be no second "<A HREF", instead "HTML="&#60;A HREF"

            Please check this

            Kind Regards
            Nadeem Rasool
            SellerDeck Development

            Comment


              #7
              <!-- SectionLine HTML begin -->
              <!-- Insert HTML for the beginning of a section title -->

              <DIV ALIGN="LEFT">

              <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="10">

              <TR>

              <TD ALIGN="LEFT" VALIGN="TOP">
              <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK>NETQUOTEVAR:SECTIONIMAGE</A>"/>
              </TD>

              <TD ALIGN="LEFT" VALIGN="MIDDLE">
              <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK><B>NETQUOTEVAR:SECTIONNAME</B></A>">
              <br><span class="actxsmall">NETQUOTEVAR:SECTIONTEXT</span>
              </TD>

              </TR>

              </TABLE>

              </DIV>
              NETQUOTEVAR:NEXT
              <!-- Insert HTML for the end of a section title -->
              <!-- SectionLine HTML end -->



              This is the full code I have now. What you see here is a "/> when not logged in, but when you log in the section image is not visible but the text label is.

              Is this a problem with trying to get both the section image and section text invisible when not logged in but visible when loggin in?

              James
              www.butterflies-healthcare.co.uk
              www.viteyes.co.uk - vitamins for macular degeneration
              www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
              www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
              www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

              Comment


                #8
                Not sure if I'm right, but have a go with this:

                Code:
                <!-- SectionLine HTML begin -->
                <!-- Insert HTML for the beginning of a section title -->
                <DIV ALIGN="LEFT"> 
                  <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="10">
                    <TR> 
                      <TD ALIGN="LEFT" VALIGN="TOP"> <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK>NETQUOTEVAR:SECTIONIMAGE</A>"/> 
                      </TD>
                      <TD ALIGN="LEFT" VALIGN="MIDDLE"> <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK&#62&#60B&#62NETQUOTEVAR:SECTIONNAME&#60/B&#62&#60&#47A&#62&#60br&#62&#60span class=&#34actxsmall&#34&#62NETQUOTEVAR:SECTIONTEXT&#60&#47span&#62"/> 
                      </TD>
                    </TR>
                  </TABLE>
                </DIV>
                NETQUOTEVAR:NEXT 
                <!-- Insert HTML for the end of a section title -->

                Comment


                  #9
                  Exactly the same result:

                  The problem appears to be with the line:

                  <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML="<A HREF=NETQUOTEVAR:SECTIONLINK>NETQUOTEVAR:SECTIONIMAGE</A>"/>

                  As you see the "/> at the end not the section image
                  www.butterflies-healthcare.co.uk
                  www.viteyes.co.uk - vitamins for macular degeneration
                  www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
                  www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
                  www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

                  Comment


                    #10
                    THe issue is that NETQUOTEVAR:SECTIONIMAGE brings in content from Act_SectionNavImage.html - which includes quote marks, which breaks the HTML tag.

                    Try editing this template and replace all the double quotes with single quotes.

                    Comment


                      #11
                      Thats works now - next question - how do I make a section visible to more than one price group?

                      At the moment is shows for price schedule 6

                      <Actinic:SHOWFORPRICESCHEDULE Schedules="6" HTML

                      What do i do if I want it visible to schedule 6,2 & 4
                      www.butterflies-healthcare.co.uk
                      www.viteyes.co.uk - vitamins for macular degeneration
                      www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
                      www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
                      www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

                      Comment


                        #12
                        Just put the numbers in the

                        Schedules="6"

                        section of the tag, separated by commas.

                        Schedules="2,4,6"

                        Comment


                          #13
                          Working a treat now

                          Thanks all for the help
                          www.butterflies-healthcare.co.uk
                          www.viteyes.co.uk - vitamins for macular degeneration
                          www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
                          www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
                          www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

                          Comment

                          Working...
                          X