chrometweaks.org

iPage Domain and Server question?

Click Here To View All Answers...


My question is iPage Domain and Server question? Looking forward for any comment. Another question... Hi all,.

I want put img links in index, but I want add osCsid in href. How can I do it? How can I print osCsid?.

Thxs...

Comments (16)

Good question... I dunno what is the answer to that question. I'll do some Googling and get back to you if I find an good answer. You should email the people at iPage as they probably could give you help..

Comment #1

I, too, would like to know how this is done. Hope someone can help..

When I create a link (image or text) , it does not have the seession ID (oscID) attatched to it. so if a person is logged in before clicking the link, that person will no longer be logged in because the link does not have the a seession ID attached to it, therefore when the it is clicked, the iPage site loses the current session and creates a new one..

Any help would be appreciated...

Comment #2

Burt,.

Thanks. I saw your post but I have a problem understanding what you mean (as I feel the starter of this thread does, too)..

What do you mean by "tep_image function"? Where do you put that code? I tried inserting it in the link somehow but was unsuccessful..

If you or anyone could elaborate on this for a newbie, I am sure I and the starter of this thread would appreciate it..

Again, thanks...

Comment #3

Example, taken from header.php:.

Echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>';.

Here you are using two functions:.

1/ tep_href_link - this should be used for.

EVERY.

Link within your Store, as this is what will maintain your SID.

And.

2/ tep_image - this writes HTML to allow you to place an image..

Mix them up and you can place an image inside a <a> as shown in the code above..

So, a text only link example:.

<a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>.

Creates a link to "logoff.php" with the text "logout".

An image link example:.

Echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>';.

This creates a link to "account.php" using an image named "header_account.gif"...

Comment #4

Thank you very much for taking th etime to explain. Very helpful. Got my links to display the SID. Thanks a bunch...

Comment #5

Hi all,.

I want put img links in index, but I want add osCsid in href. How can I do it? How can I print osCsid?.

Thxs...

Comment #6

I want add this:.

Define('TEXT_MAIN', '<table align="center">.

<tr align="center">.

<td><a href="http://localhost/shop/index.php?cPath=8"><img src="/shop/images/index/aparatologia.jpg" border="0"><br><center>Aparatologa</center></a></td>.

<td><a href="http://localhost/shop/index.php?cPath=11"><img src="/shop/images/index/complementos.jpg" border="0"><br><center>Complementos</center></a></td>.

</tr>.

<tr align="center">.

<td><a href="http://localhost/shop/index.php?cPath=7"><img src="/shop/images/index/estetica.jpg" border="0"><br><center>Esttica</center></a></td>.

<td><a href="http://localhost/shop/index.php?cPath=1"><img src="/shop/images/index/peluqueria.jpg" border="0"><br><center>Peluquera</center></a></td>.

<td><a href="http://localhost/shop/index.php?cPath=12"><img src="/shop/images/index/solarium.jpg" border="0"><br><center>Solarium</center></a></td>.

</tr>.

</table>');.

I want put this img link at my categories, but I can't add osCsid :\ It's posible?..

Comment #7


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