+ Reply to Thread
Results 1 to 4 of 4

Thread: Link to a Content Page

  1. #1
    Client Beery_Asst's Avatar
    Join Date
    Feb 2006
    Location
    Houston, TX
    Posts
    189
    Squirrelcart version
    v3.4.0

    Link to a Content Page

    I have a content page (record #28) I would like to display via a hyperlink. How do I derive a link so that is displayed?

    Thanks.

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

    Cool Try This:

    Make a Link to the Content page. Say link # is 123.

    Then: <?php print sc_link(123, tag); ?>

    Phil
    Tucson

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

    Ooops!

    Make that code: <?php print sc_link(123, 'tag'): ?>

    Forgot the punctuation.

  4. #4
    Client Beery_Asst's Avatar
    Join Date
    Feb 2006
    Location
    Houston, TX
    Posts
    189
    Squirrelcart version
    v3.4.0
    I have created some buttons on my store front at www.USWingNuts.com up in the banner area using the following code:

    <form><input type="button" value="Check Out " onClick="window.location.href='http://www.uswingnuts.com/store/store.php?show_cart=yes'">

    I was hoping to have a complete URL that would link to a content page. I don't think I can use your code, or can I, to derive the URL.

    If there is anyone that sees why I shouldn't be using that code, please let me know for the buttons, let me know. I saw Jamie's article on using sprite buttons, and thought the method I chose worked well unless there is some kind of other browser issue.

+ 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