chrometweaks.org

Where can I find a descent free trial iPage web hosting?

Click Here To View All Answers...


First question I got is Where can I find a descent free trial iPage web hosting? Hoping for any answer or 2. Another quick question... For example I need to link an image to category 22.

Index?cPath=22.

But I need to have the current session ID generated so the shopping cart items stay put..

Index.php?cPath=21&osCsid=e2422f5163387435hf7fmgf86a60429.

<a href="/index?cPath=22"> < - - does not work..

Any help would be great!.

Matt..

Comments (22)

Hmm... I need to find out myself. I don't know what is the right answer to your question. I'll do some Googling and get back to you if I discover an answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

This may sound dumb but how do I do this?.

This post has been edited by.

Phpnotforme.

: 29 September 2004, 05:01..

Comment #2

Not at all. You would need to do something like this:.

     <tr>.

         <td align="center" class="main">.

           <?php echo '<a title="Wholesale candy" href="'tep_href_link(FILENAME_PRODUCT_INFO, 'cpath=34&products_id=90', 'NONSSL')'">'"PRODUCT"'</a>'; ?>.

         </td>.

       </tr>.

This will only link to a particular product that is in category 34 and has an id of 90, which your iPage site may not have. You will have to generate this unless you know the exact product as shown here. I'm not sure how you would easily generate it as it would involve reading in the values from the database..

Jack..

Comment #3

That's really helpfull but I need an image on my home page to link to a category, I feel I am really close!..

Comment #4

Oh, didn't know you were asking in your previous reply. I thought you meant you were going to work on it. Try this:.

<tr>.

  <td align="center" class="main">.

    <?php echo '<a title="Some title goes here" href="'tep_href_link(FILENAME_PRODUCT_INFO, 'cpath=34&products_id=90', 'NONSSL')'">''<img border="0" src="images/some_image.jpg" alt="Some text goes here" width="154" height="122"> ''</a>'; ?>.

  </td>.

</tr>.

As before, you will have to make several adjustments to have it work on your shop..

Jack..

Comment #5

For example I need to link an image to category 22.

Index?cPath=22.

But I need to have the current session ID generated so the shopping cart items stay put..

Index.php?cPath=21&osCsid=e2422f5163387435hf7fmgf86a60429.

<a href="/index?cPath=22"> < - - does not work..

Any help would be great!.

Matt..

Comment #6

You have to use the tep_href_link function. It adds the SID's for you..

Jack..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.