Results 1 to 7 of 7

Configuration of product headers

This is a discussion on Configuration of product headers within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Can the layout of the product headers be easily configured or do I need to change the code in a ...

      
  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default Configuration of product headers

    Can the layout of the product headers be easily configured or do I need to change the code in a php file?

    Eg having clicked on a category in the shop, brief details of each product are listed; can the thumbnail images be switched off to not display, and can the header show the product_model data?

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    To switch off the thumbnails I guess all I need to do is enter a url to a small blank gif.

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    Tried setting the image to pixel_trans.gif, but I then need to reduce the height/width of the area reserved for the thumbnail.

  4. #4
    osCMax Developer

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


    Default

    You can turn of the pictures in the admin under 'Product Listing'
    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
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    In Admin under Configuration|Images there is an option 'Images Required' which can be set true/false, you can also fix image sizes. However, I may want an image to display in the product detail page but not as a thumbnail in the header listing. I want to set the header listing page to dynamically size the header height according to whether there is an image to display or not. Otherwise there are gaps between product listings which are the height reserved for the thumbnail.

    Which file has the code for the product listing (not the product detail)? Index.php references the product_listing module with <?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?> In the product_listing module, between the html table tags, there is php code which sets the variable $lc_text to the value in each product field sequentially. So are the field values being listed in a string and concatenated with spaces?

    I still haven't found the reference to the image in the header listings.

  6. #6
    Lurker
    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0


    Default

    you need to go in to the admin and go to the "Configuration" Section. Then go to the section that says "Product Listing" these settings will only affect the product listing not the product info page. i think this is what you are looking for.

  7. #7
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    I've found where to turn product listing images off now thank you. I was thinking that I would try changing the listing to dynamically size the table row / image according to whether an image existed or not, but perhaps I better keep it as standard.

Similar Threads

  1. Cannot moderfy headers!!!!
    By peterwilding in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-28-2005, 07:01 AM
  2. 2 headers UGH!
    By AnnieChrist in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-24-2005, 05:06 AM
  3. Headers
    By lem in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 02-18-2005, 12:07 AM
  4. infoBox headers
    By glynn in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 03-19-2004, 11:54 AM
  5. Random Headers?
    By idiehdesigns in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 02-15-2004, 04:17 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
  •