Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Image size in Specials

    I would start with the Debug Tool from the Free Software Add Ons and see if that tells you where the problem is ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Feb 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Image size in Specials

    Thanks - I've installed DEBUG and checked it's in the right folder and cache file permissions are writable. There is no log file which I take from another post means there is no php error.

    I've again uploaded every specials file from my original zen-cart and template download.
    Still getting no centre column - I do get the sideboxes - but always have.

    Can you think of something else?

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Image size in Specials

    Make sure that the /cache directory is set to 777 and that you refresh the FTP window after you hit the Specials page ...

    Also, check the Configuration ... Maximum Values ... and make sure you don't have things set to 0 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    Feb 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Image size in Specials

    OMG - thank you. It was the max values set to 0

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Image size in Specials

    Hate when that happens ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #16
    Join Date
    Jun 2011
    Location
    Bournemouth UK
    Posts
    42
    Plugin Contributions
    0

    Default Re: Image in one Sidebox

    Hi,
    I know I can cgange the bg or add an image to all sideboxed by editing this line :
    .sideBoxContent {background-color: #fff;padding: 0.4em;padding-top:10px;border:0px solid #e1e1e9;}

    in the stylesheet. But I have product finder mod in a sidebox and I wish to add a bg image to that sidebox only.

    Anyone know how to do this ...Please!

    Thanks

  7. #17
    Join Date
    Apr 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: Image size in Specials

    Quote Originally Posted by Ajeh View Post
    There is the Specials centerbox and the Specials page ... you are trying to make changes in the Specials Page but want the changes to happen to the Specials centerbox ... based on your image ...

    Look at the module:
    specials_index.php

    Hello,

    Using ver 1.5.0

    Still don't see where the variable to set w x h size of the specials in the center box and the page

    I've looked in

    includes/modules/specials_index.php
    and
    includes/modules/pages/specials/main_template_vars.php

    I can see the sidebox special is using the admin->config->Images-(Small Image Width) in there but nothing for center box and page.

    Anyone solved this.

    Thanks

  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Image size in Specials

    The specials center box uses the same settings as the small images width and small image height ...

    If you want different values you would need to customize the specials centerbox with your templates and overrides and change the values for:
    SMALL_IMAGE_WIDTH
    SMALL_IMAGE_HEIGHT
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #19
    Join Date
    Apr 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: Image size in Specials

    That also controls the image size in the sideboxs. Anyway to change specials only . If i increase to 200 the specials images look perfect but all sidebox images are too big

  10. #20
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Image size in Specials

    Using your templates and overrides, customize the file:
    /includes/modules/specials_index.php

    by copying to:
    /includes/modules/your_template_dir/specials.php

    and change the image sizes in RED directly in the code to the sizes you need:
    Code:
        $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsSpecials centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
        'text' => (($specials_index->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($specials_index->fields['products_id']), 'cPath=' . $productsInCategory[$specials_index->fields['products_id']] . '&products_id=' . (int)$specials_index->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $specials_index->fields['products_image'], $specials_index->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($specials_index->fields['products_id']), 'cPath=' . $productsInCategory[$specials_index->fields['products_id']] . '&products_id=' . $specials_index->fields['products_id']) . '">' . $specials_index->fields['products_name'] . '</a><br />' . $products_price);
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Changing specials image size
    By greenlightison in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 12 Sep 2011, 10:27 PM
  2. Separate Image Size for Specials
    By ---kate--- in forum General Questions
    Replies: 4
    Last Post: 21 Feb 2009, 08:37 AM
  3. Change image and text size on specials page
    By BlacksmithRon in forum General Questions
    Replies: 1
    Last Post: 11 Feb 2009, 09:56 PM
  4. Specials Sidebox, image size and products shown
    By katiekin in forum Basic Configuration
    Replies: 4
    Last Post: 6 Sep 2008, 03:24 PM
  5. Sidebox Specials Image Size
    By kjedwards in forum Basic Configuration
    Replies: 1
    Last Post: 31 May 2007, 08:31 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR