Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 6 of 6

Thread: Unlinking "Specials For" and "New Products Fo

  1. #1
    bsa
    Guest


    Default Unlinking "Specials For" and "New Products Fo

    Hello,

    I want to unlink the "Specials For August" and the "New Products For August" in the infoBox headings because when I change the background color it just doesn't look good and the arrows are linked anyhow. Does anybody know how I can unlink this text?

    Thanks,
    Brad

  2. #2
    osCMax Developer


    Unlinking "Specials For" and "New Products Fo


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    Why not just change the color of the links

    Look in these files:
    /includes/modules/default_specials.php
    new_products.php

    And find this :
    new_products.php
    Code:
    $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B') . '</a>'));
    default_specials.php
    Code:
    $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">' . sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B') . '</a>'));
    Comment out both of those lines, and un-comment the line above each. It will revert the the default behavior.

  3. #3
    Anonymous
    Guest


    Default

    Hey msasek ..what do you mean when you say comment out ....

    I know this is a dumb question!

  4. #4
    osCMax Developer


    Unlinking "Specials For" and "New Products Fo


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    To comment code in php, just put // at the beginning of the line.

  5. #5
    Anonymous
    Guest


    Default

    thanks very much

  6. #6
    Anonymous
    Guest


    Default

    Great,

    I added the "class="infoBoxHeading" to each of the links:

    default_specials.php

    $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_SPECIALS) . '" class="infoBoxHeading">' . sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B') . '</a>'));

    new_products.php

    $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '" class="infoBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B') . '</a>'));

    Thank you,
    Brad

Similar Threads

  1. Remove "QTPRO" for "Option Type Feature"
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 01-10-2007, 10:32 AM
  2. How to change the "date" and "months" na
    By oling in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 08-25-2006, 09:09 AM
  3. "Price" and "Add to Cart" button inside
    By midwestwebsites in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 11-14-2005, 05:13 AM
  4. Changing "authorize.net" to "Credit Card Deta
    By Christy in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 08-02-2004, 03:11 PM
  5. Font color on "Specials" and "New Products&qu
    By gheffron in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 04-01-2004, 02:40 AM

Bookmarks

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
  •