Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscsid code - (filename_something)


keijom

Recommended Posts

Posted

@@keijom

 

Provide all details about what exactly you want and where you want to put link?

Like post..hit LIKE button.

 

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

 

Guaranteed Website Speed Optimization!!

Posted

index.php

 

 

<h1><?php echo HEADING_TITLE; ?></h1>
<div class="contentContainer">
<div class="contentText">
<?php echo tep_customer_greeting(); ?>
</div>
<?php
if (tep_not_null(TEXT_MAIN)) {
?>
<div class="contentText">
<?php echo TEXT_MAIN; ?>
</div>
<p>
<?php
}

?>
</p>

<table width="600" border="1">
<tr>
 <td><a href="(filenams_something)">this is link </a></td>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
</tr>
<tr>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
</tr>
<tr>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
 <td> </td>
</tr>
</table>

Posted

Are you asking about file name or just about "osCsid"

 

Example for osCsid:

?osCsid=5130e6640e467f496beddd29dfaa746e

 

If you are talking about just osCsid, this is created automatically by the osCommerce system, you don`t need to worry about them.

 

If you want to create a link then it might look something like this:

 

<?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '">' . MY_ACCOUNT_INFORMATION . '</a>'; ?>

Posted

Are you asking about file name or just about "osCsid"

 

Example for osCsid:

?osCsid=5130e6640e467f496beddd29dfaa746e

 

If you are talking about just osCsid, this is created automatically by the osCommerce system, you don`t need to worry about them.

 

If you want to create a link then it might look something like this:

 

<?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '">' . MY_ACCOUNT_INFORMATION . '</a>'; ?>

 

That is correct. I want create link. That code working fine. Thanks @@imop!

Posted

What should I do if I want to put a link to "text file"? I mean for exsample: english.php or conditions.php etc. I want oscsid-code works

Posted

Do not worry about "oscsid"

 

Link to text file:

<?php echo '<a href="' . tep_href_link('my_text_file.txt', '', 'SSL') . '">' . TEXT_FILE_NAME . '</a>'; ?>

 

Something like this.

Posted

That is my own test.php

 

I put html text and link in here (for exsample advance_search_result&keywords etx...)

 

define('TEXT_INFORMATION', ' html text '); 

 

 

 

That code is not working

<?php echo '<a href="' . tep_href_link('my_text_file.txt', '', 'SSL') . '">' . TEXT_FILE_NAME . '</a>'; ?>

Posted
define('TEXT_INFORMATION', 'lorem ipsum <a href="' . tep_href_link('my_text_file.txt', '', 'SSL') . '">Blah blah</a> ipsum lorem'); 

Posted

define('TEXT_INFORMATION', 'lorem ipsum <a href="' . tep_href_link('my_text_file.txt', '', 'SSL') . '">Blah blah</a> ipsum lorem');

 

Thanks @@burt. That working fine, but....

 

<a href="' . tep_href_link('advanced_search_result.php?keywords="nordic+3"&search_in_description=1&"', '', 'SSL') . '"><strong>This is nice Tyre</strong>

 

What I have to do, if I have "" - double-quotes?

Posted

Hi,

 

Why you are using double quotes?

 

I get the wrong results. It would be fine to use double quotes in order to get the right result.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...