Announcement

Collapse
No announcement yet.

go to next page within section?

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

    go to next page within section?

    I have got several fragments which are basically jpgs making up a large pricelist.

    I do not want to list these all on one page as the user would have to scroll down to far and i think this would look messy.

    I would like to include a fragment which says

    'click to go to next page' and then continue to list more fragments for example.

    What is the best way to do this?

    I assume the answer would be quite simple but any help would be appreciated....!

    #2
    There are some variables that can be used in your section layout to do this.
    Try placing the following at the top of your section layout:
    Code:
    Previous Page: <a href="<actinic:variable name="SectionPageNamePrev" />"><actinic:variable name="SectionNamePrev" /></a> | Next Page: <a href="<actinic:variable name="SectionPageNameNext" />"><actinic:variable name="SectionNameNext" /></a>
    See attached image of the result.

    You can also see something a bit more complex on these pages for example:
    http://www.evening-dress-shop.co.uk/...onia_Pena.html

    Note that if you move sections around or add new ones between others then you may have to compact and close and reopen Actinic for these variables to be updated correctly before uploading.
    Attached Files

    Comment


      #3
      sorry where abouts should i place this piece of code?

      in the layout code of the particular section or?

      Comment


        #4
        If you are unsure of your ability to jump into the layout code then I suggest you rather place a Text Only Fragment at the top of the sections you want to link to/from and then place the following code into the Fragment text of the first Section:
        Code:
        !!<
        Next Page: <a href="[SectionPageNameNext]">[SectionNameNext]</a>
        >!!
        This into the Fragment text of the middle Sections:
        Code:
        !!<
        Previous Page: <a href="[SectionPageNamePrev]">[SectionNamePrev]</a> | Next Page: <a href="[SectionPageNameNext]">[SectionNameNext]</a>
        >!!
        And this into the Fragment text of the last Section:
        Code:
        !!<
        Previous Page: <a href="[SectionPageNamePrev]">[SectionNamePrev]</a>
        >!!

        Comment

        Working...
        X