Announcement

Collapse
No announcement yet.

<actinic:variable name="SectionLink" />

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

    <actinic:variable name="SectionLink" />

    Hey all,

    I have a section in actinic and then 4 sub-sections then a product in each of these sub sections.

    I want to display a "brand of the week" on the front page. I've done this by making the graphics/html table and fragmenting it into the home page at the top.

    For each brand each week I want to display there section link. E.g the brand is the section - and I want to freely display the page within this table.

    example - http://www.32squared.co.uk/acatalog/ArtJunkie_.html

    the subsection links are the pictures of the 5 t shirts. That is the infomation I wish to display.

    How can I display that using an actinic:variable?


    Dan

    #2
    Actinic's built-in "New Products" capability (see Marketing / New Products) will do this for you automatically. Are you aware of this?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Im currently using that for something else..

      All I'm after is a way of displaying the sectionlink's subsections.

      I need more control than the new products capability offers.

      Comment


        #4
        IM guessing i would need the sectionpagename and section id?

        Comment


          #5
          Why not simplify things, and have either a random image and link or a slideshow running that brings up random graphics and links. Each time a page is loaded it serves up a random graphic and link and there is no management at all then.

          Comment


            #6
            Can you recommend a good random graphic/link loader? guessing java based?

            Comment


              #7
              Take the one running on my home page if that's the sort of thing you want. It's Javascript yes.

              Comment


                #8
                Also the main importance of this is because I am charging each brand a fee to be the "brand of the week" hence the need for some sort of control over it.


                Dan

                ----------------------------------------------------------------------------

                I've hacked the best sellers list to give me the desired effect, I'll just have to change it once a week.

                Which seems fine.

                D

                Comment


                  #9
                  Back to your original request. You could do something like this. Make a Section level variable of type True/False called BrandOfWeek with default value False.

                  Then use code like
                  Code:
                  <actinic:block type="EntireSectionList">
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22BrandOfWeek%22%20%2f%3e%20%3d%3d%20true" >
                    DISPLAY SECTION INFO HERE	
                    </actinic:block>
                  </actinic:block>
                  Here's the above in English:

                  <actinic:block type="EntireSectionList">
                  <actinic:block if="<actinic:variable name="BrandOfWeek" /> == true" >
                  DISPLAY SECTION INFO HERE
                  </actinic:block>
                  </actinic:block>

                  Then just set / unset that variable in the appropriate section each week.

                  This is fine if only on the home page. It may need a lot of compute time if you put it on every page.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    Awesome Norm, nah its just on the home page

                    Comment

                    Working...
                    X