+ Reply to Thread
Results 1 to 3 of 3

Thread: Using the CMS

  1. #1
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    557
    Squirrelcart version
    v3.4.1

    Question Using the CMS

    Really digging into this very flexible CMS.
    I am using
    Code:
    <?php print sc_link("mylink", 'tag'); ?>
    to display content pages in a "Read More" context.
    That is, I provide a little explanation but offer deeper info with "Read More" link.
    Jamie: the browser "Back" button works fine to get the user back to the original content page but, would like to provide an On-Page "Back" button.
    Is there any way to do this using the CMS?

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Thanks! Glad you like the CMS features.

    The last page should be stored in $SC['last_page']. If you put this wherever you want the back link, it should work:
    PHP Code:
    <a href="<?php print $SC['last_page'?>">Back</a>

  3. #3
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    557
    Squirrelcart version
    v3.4.1

    Beautiful

    Excellent; milk and cookies for the squirrels!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts