Thread: Westminster New

Results 1 to 10 of 1865

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Westminster New

    Hi Anne,

    While doing a little more work on my zen store and your awesome template I found what may be a little bug typo just maybe or it appears that way to me.

    on my contact us page I was seing my address listed twice once before the actual contact us header and form and then again down lower in the page just before the contact form fields.

    When i looked into /includes/templates/westminster_new/templates/tpl_contact_us_default.php

    I discovered a duplicate entry of the following code which when I removed the code from line 20 to 22 the duplicate address was corrected:
    Code:
    <?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?>
    <address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
    <?php } ?>
    Just posting here in case it is a bug and if others are looking for the same problem / solution.
    Melanie
    beehavendesignz DOT com

  2. #2
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by missesbeehaven View Post
    Hi Anne,

    While doing a little more work on my zen store and your awesome template I found what may be a little bug typo just maybe or it appears that way to me.

    on my contact us page I was seing my address listed twice once before the actual contact us header and form and then again down lower in the page just before the contact form fields.

    When i looked into /includes/templates/westminster_new/templates/tpl_contact_us_default.php

    I discovered a duplicate entry of the following code which when I removed the code from line 20 to 22 the duplicate address was corrected:
    Code:
    <?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?>
    <address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
    <?php } ?>
    Just posting here in case it is a bug and if others are looking for the same problem / solution.
    Thank you for posting. This is a bug and I have it on the list to be fixed in a future update ;)

    Thanks,

    Anne

  3. #3
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Westminster New

    Thanks!
    Another question - does the template alter /includes/modules/pages/featured_products/header_php.php? Now my featured products listing breaks.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Westminster New

    Quote Originally Posted by kalastaja View Post
    Thanks!
    Another question - does the template alter /includes/modules/pages/featured_products/header_php.php? Now my featured products listing breaks.
    You have the files for BOTH templates.. If you see a /includes/modules/pages/featured_products/header_php.php file in the install package, consider it modified... **simple**

    or you could answer your own question and compare the /includes/modules/pages/featured_products/header_php.php file in the install package to the default Zen Cart version of the file..

    Either way, this is a pretty easy DIY kind of answer..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by DivaVocals View Post
    Either way, this is a pretty easy DIY kind of answer..
    Sorry. Wrong question. Any idea why the westminster file breaks for me? This what the system says:
    Code:
    [05-Feb-2015 19:29:58 Europe/Helsinki] PHP Fatal error:  1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 10' at line 1 ::  limit 10 ==> (as called by) /home/fh2fuvvy/public_html/includes/templates/template_default/templates/tpl_modules_products_featured_listing.php on line 23 <== in /home/fh2fuvvy/public_html/includes/classes/db/mysql/query_factory.php on line 155
    If I replace it with ZenCart original it works.
    Last edited by kalastaja; 5 Feb 2015 at 06:32 PM.

  6. #6
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by kalastaja View Post
    Sorry. Wrong question. Any idea why the westminster file breaks for me? This what the system says:
    Code:
    [05-Feb-2015 19:29:58 Europe/Helsinki] PHP Fatal error:  1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 10' at line 1 ::  limit 10 ==> (as called by) /home/fh2fuvvy/public_html/includes/templates/template_default/templates/tpl_modules_products_featured_listing.php on line 23 <== in /home/fh2fuvvy/public_html/includes/classes/db/mysql/query_factory.php on line 155
    If I replace it with ZenCart original it works.
    This file is not in the template package:

    /includes/templates/template_default/templates/tpl_modules_products_featured_listing.php

    Thanks,

    Anne

  7. #7
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by picaflor-azul View Post
    This file is not in the template package:
    /includes/templates/template_default/templates/tpl_modules_products_featured_listing.php
    Ok, but the problem would seem to be the header_php.php, because if I change it to file that comes with ZenCart, it works!
    As far as I can understand the header-file does (or doesn't) do something, which the backfires in the tpl_modules_products_featured_listing-file

  8. #8
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: Westminster New

    I have so few items, that displaying new products (currently all) is a bit embarrassing... Is there an easy way to remove the functionality? The "Configuration/New Listing/Mask Upcomming..." didn't seem to do the trick.

  9. #9
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by kalastaja View Post
    I have so few items, that displaying new products (currently all) is a bit embarrassing... Is there an easy way to remove the functionality? The "Configuration/New Listing/Mask Upcomming..." didn't seem to do the trick.
    If you want to remove the link to all products in the category sidebox go to admin--configuration--layout settings--Categories Box - Show Products All Link

    Thanks,

    Anne

 

 

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

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