osCmax v2.5 User Manual
Results 1 to 2 of 2

Adding Links under Define Main Page Problem

This is a discussion on Adding Links under Define Main Page Problem within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I was wondering if someone could tell me how to preserve sessions for links I might add to specials using ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Nov 2006
    Location
    Southern New Jersey
    Posts
    35
    Rep Power
    0


    Default Adding Links under Define Main Page Problem

    I was wondering if someone could tell me how to preserve sessions for links I might add to specials using "Define Main Page".

    Here is the problem I found.

    My website: Nationwide Tackle LLC : Fishing Tackle for Freshwater and Saltwater Largemouth Bass has a few banner type images promoting specials and new items in my store. I add the image through "define main page" and add the URL to the appropriate category.

    What I noticed is if your logged in to your account and click on one of those banners, you are instantly logged out of your account.

    I have since removed the links connected to the banners.

    How can I preserve the session id when I add images with links to define main page?

  2. #2
    osCMax Testing Team
    Join Date
    Nov 2006
    Location
    Southern New Jersey
    Posts
    35
    Rep Power
    0


    Default Re: Adding Links under Define Main Page Problem

    I tried adding the following to the WYSIWYG in Define MainPage

    <?php echo '<p><a href="' . tep_href_link('product_info.php', 'cPath=630') . '"><img src="images/marineqq1y.jpg" alt="Marine Section" name="graphic_name" width="450" height="150" border="0" id="graphic_name"></a></p>'; ?>

    This should create an image link to Category 630 (Marine Products) and carry the session id with it, however nothing is displayed and after you save define mainpage it changes the code to the follow.


    <!--p echo '
    <p><a href="' . tep_href_link('product_info.php', 'cPath=630') . '" _fcksavedurl="' . tep_href_link('product_info.php', 'cPath=630') . '"><img src="images/marineqq1y.jpg" _fcksavedurl="image/marineqq1y.jpg" alt="Graphic" name="graphic_name" width="450" height="150" border="0" id="graphic_name"></a></p>
    ';-->

    I have been searching for a solution for months to add image links with session ids and have been unsucessful. Can anyone help me get this solved?

Similar Threads

  1. Define Main page
    By metalman923 in forum osCmax v2 Customization/Mods
    Replies: 11
    Last Post: 01-28-2009, 05:51 AM
  2. Define Main Page - ERROR_FILE_NOT_WRITEABLE
    By fatbloke in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 01-19-2007, 09:28 AM
  3. define main page
    By chfields in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 10-25-2005, 06:36 PM
  4. Product links in define main page not working
    By developer_x in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-24-2005, 11:17 AM
  5. Problem with 'Define Main Page'
    By Turtlewebs in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 02-06-2004, 07:14 AM

Bookmarks

Posting Permissions

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