Thread: Westminster New

Page 1 of 2 12 LastLast
Results 1 to 10 of 1865

Hybrid View

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

    Default Re: Westminster New

    Quote Originally Posted by picaflor-azul View Post
    I am not seeing this on the demo.
    True. But more astounding is the reason why I have the problem! If I tag the line below with my usual "//DTC" comment - it breaks the code! The background color change is ok, but not a trailing //-comment! Do observe that I'm using the comment throughout the file to mark my alterations.
    Code:
    ul.slimmenu li a:hover, ul.slimmenu1 li a:hover {background:#00a43e;text-decoration: none;color:#fff;}
    Now my site looks "normal".

    BTW: The position can handle the /**/-comment
    Last edited by kalastaja; 2 Feb 2015 at 07:08 PM. Reason: typo

  2. #2
    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
    True. But more astounding is the reason why I have the problem! If I tag the line below with my usual "//DTC" comment - it breaks the code! The background color change is ok, but not a trailing //-comment! Do observe that I'm using the comment throughout the file to mark my alterations.
    Code:
    ul.slimmenu li a:hover, ul.slimmenu1 li a:hover {background:#00a43e;text-decoration: none;color:#fff;}
    Now my site looks "normal".

    BTW: The position can handle the /**/-comment
    The answer is simple.. use the /* comment here */ format to comment in the CSS.. Problem solved..
    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.

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

    Default Re: Westminster New

    Quote Originally Posted by DivaVocals View Post
    The answer is simple.. use the /* comment here */ format to comment in the CSS.. Problem solved..
    I know I have a lousy track record, but isn't that obvious! My point was that is not standard procedure and not that easy to figure out - one would assume comments are fairly safe! So if this helps someone - ok; one peculiarity on display - the forum is here for that purpose, isn't it!?

  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
    I know I have a lousy track record, but isn't that obvious! My point was that is not standard procedure and not that easy to figure out - one would assume comments are fairly safe! So if this helps someone - ok; one peculiarity on display - the forum is here for that purpose, isn't it!?
    what wasn't obvious was the fact that you were sharing info vs asking a question.. so no.. the post I responded to wasn't all that OBVIOUS.. IJS..

    Not "standard procedure".. ummmmm... okay.. perhaps not for you, but the //, is not STANDARD for comments in CSS or HTML documents at all (like NEVER).. what comment code is used depends on many factors, but it isn't always //..
    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
    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
    I know I have a lousy track record, but isn't that obvious! My point was that is not standard procedure and not that easy to figure out - one would assume comments are fairly safe! So if this helps someone - ok; one peculiarity on display - the forum is here for that purpose, isn't it!?
    and since we're SHARING so that folks KNOW, here's MORE on comments. (because Google is your friend..)

    How do I insert comments in JavaScript code? Answer: JavaScript supports three different types of comments:

    1. Multiple-line C-style comments. Everything between [FONT=Courier New,Courier]/*[/FONT] and [FONT=Courier New,Courier]*/[/FONT] is a comment, for example:
      [FONT=Courier New,Courier]/* This is a comment */ /* C-style comments can span as many lines as you like, as shown in this example */ [/FONT]
    2. One-line comments of C++ style. These comments begin with [FONT=Courier New,Courier]//[/FONT] and continue up to the next line break:
      [FONT=Courier New,Courier]// This is a one-line comment [/FONT]
    3. One-line comments with the HTML comment-opening sequence ([FONT=Courier New,Courier]<!--[/FONT]). Note that the JavaScript interpreter ignores the closing characters of HTML comments ([FONT=Courier New,Courier]-->[/FONT]). Consider this example:
      [FONT=Courier New,Courier]<!-- This is treated as a one-line JS comment <!-- It works just like a comment beginning with // <!-- --> This is also a one-line JS comment <!-- --> because JS ignores the closing characters <!-- --> of HTML-style comments [/FONT]
    Multiple-line C-style comments - Also supported in *.php, & *.css files
    One-line comments of C++ style - Also supported in *.php files
    One-line comments with the HTML comment-opening sequence - Also supported in *.html files

    There is no ONE "STANDARD Procedure" for comments. There are a few different options.. Which style you use depends very much upon the kind of file/code you are using it in..
    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.

  6. #6
    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

  7. #7
    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

  8. #8
    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.

  9. #9
    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.

  10. #10
    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

 

 
Page 1 of 2 12 LastLast

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