Thread: Westminster New

Page 173 of 187 FirstFirst ... 73123163171172173174175183 ... LastLast
Results 1,721 to 1,730 of 1865
  1. #1721
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Westminster New

    Quote Originally Posted by Elemi View Post
    By variable I assume you mean LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT? If so, they are both in the Westminster New template only.
    Correct. Don't use the template so I'm flying a little blind here.
    The error is telling you that some part of the cart needs to know how wide and how tall to make an image. If the request is part of the Westminster New template, then it should also have a define for those values as part of the template.
    When you search with the Developer' toolkit, you should find at least two places where the variables show up. The most important should look something like
    Code:
    Line #28 : define('LARGE_IMAGE_WIDTH','500');
    The line # and 500 may be different but, the link will tell you where the file is located.
    If you don't see a define for each of these variables, that's the main problem. They may need to be added.
    If you do see a define for them, you need to check that they have the single quotes (') correctly placed, that there's a number between the single quotes, and that there is nothing like PX or EM after the number.

    If there is no define there, you may need to add them to your extra_definitions folder. To do this:
    1. Create a file called westminster_images.php.
    2. Add the text below to the file and set the defines of each. Might want to use 300 as a starting point.
    3. Save the file to your site in the includes/languages/english/extra_definitions/westminster_new/ folder of the shop, NOT the admin.
    4. You may need to add the westminster_new folder to the extra_definitions folder if it is not already there.


    Code:
    <?php
    define('LARGE_IMAGE_WIDTH','300');
    define('LARGE_IMAGE_HEIGHT','300');

  2. #1722
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    I am building a new 1.5.6c version of an existing site (I am hopeless at upgrading so I use the rebuild method). The existing site uses westminster_new (original version).

    Q: can I utilize the existing stylesheet.css and any other modified .css template files on the old site, in this version 2.0 ? ... i.e. copy them across, without conflict?

    cheers,
    Mike

  3. #1723
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Westminster New

    You can put a Volkswagen engine in a Dodge Ram 2500 but, is the time spend building the adapter kit really worth the effort?

    Maybe, just maybe, the newer version is meant to be used with a newer ZC.

  4. #1724
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    You can put a Volkswagen engine in a Dodge Ram 2500 but, is the time spend building the adapter kit really worth the effort?

    Maybe, just maybe, the newer version is meant to be used with a newer ZC.
    Thanks dbltoe - yeah I think you're right - I suppose it's like a broken calculator, it just doesn't add up.

    cheers,
    Mike

  5. #1725
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Have a Drink Re: Westminster New

    Thank you soooo much dbltoe... there was nothing defined, so I created the file as per your instructions above, and have made the image size 450 x 450 to match my images... and that error log has stopped (I've checked every product I have loaded to date).

    I can now delete about a hundred debug issues and see what's remaining :-)

    How do I get that coffee to you?

    Hugs
    Tania :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  6. #1726
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Westminster New

    Glad you were able to get it going. We're all volunteers here on the forum. Personally, I am not able to support the project as well as I'd like financially. That's my reasoning for time spent on the forum. If I can answer questions and keep the dev team focused on development, I feel I am paying it forward.

    For those who wish to support the project and keep the devs in coffee, you can do so at https://www.zen-cart.com/content.php?6-donate

    They will appreciate it. Thanks for your willingness to help.

  7. #1727
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Thanks for that - I will put a donation across like I did when I created my first cart many many moons ago :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  8. #1728
    Join Date
    Mar 2011
    Posts
    78
    Plugin Contributions
    0

    Default Re: Westminster New Categories Sidebox on main page

    Anyone know how to get the categories sidebox showing on the main page on 1.5.6C and v2.0 template?
    On the previous versions (1.5.5 + v1.3 template) it was simply a case of removing/commenting out a line in tpl_main_page.php
    Code:
    if ($this_is_home_page) {
      $flag_disable_right = true;
     /* $flag_disable_left = true;*/
    }
    However v2 has significantly changed and I can't find a way to do it.
    Thanks.

  9. #1729
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New Categories Sidebox on main page

    Quote Originally Posted by gsh68 View Post
    Anyone know how to get the categories sidebox showing on the main page on 1.5.6C and v2.0 template?
    Sorry no, I've decided to stay with the clean look for now, however if you get an answer, I'll have a look to see how it compares.

    Have you worked out how to have the images in the slideshow at the top to be the same size? Mine are all identical pixels and dpi, although showing up as different sizes on the screen...
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  10. #1730
    Join Date
    Mar 2011
    Posts
    78
    Plugin Contributions
    0

    Default Re: Westminster New Categories Sidebox on main page

    Quote Originally Posted by Elemi View Post
    Sorry no, I've decided to stay with the clean look for now, however if you get an answer, I'll have a look to see how it compares.

    Have you worked out how to have the images in the slideshow at the top to be the same size? Mine are all identical pixels and dpi, although showing up as different sizes on the screen...
    I didn't change anything, just used the placeholder images as the template for my own images and overwrote them and they all show same size.

 

 

Similar Threads

  1. v155 Getting ajax error in v155 with v154 Westminster template
    By godt in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2016, 12:41 AM
  2. v155 Getting ajax error in v155 with v154 Westminster template
    By MCS_Computers in forum General Questions
    Replies: 10
    Last Post: 21 Mar 2016, 03:58 PM
  3. v154 Modifying Top Menu - Westminster New
    By chelseaneedshelp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2015, 04:28 PM
  4. Westminster New doesn't work on mobile phone
    By Pompidompie in forum Addon Templates
    Replies: 3
    Last Post: 26 Mar 2015, 10:34 PM
  5. v151 westminster new Share and Connect
    By Larry0652 in forum Addon Templates
    Replies: 8
    Last Post: 24 Oct 2014, 03:30 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