Results 1 to 6 of 6

Unlinking "Specials For" and "New Products Fo

This is a discussion on Unlinking "Specials For" and "New Products Fo within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hello, I want to unlink the "Specials For August" and the "New Products For August" in the infoBox headings because ...

      
  1. #1
    bsa
    bsa is offline
    New Member
    Join Date
    Aug 2003
    Posts
    13
    Rep Power
    0


    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

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  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

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    To comment code in php, just put // at the beginning of the line.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  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, 10: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, 04: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

Posting Permissions

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