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.
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.
and since we're SHARING so that folks KNOW, here's MORE on comments. (because Google is your friend..)
Multiple-line C-style comments - Also supported in *.php, & *.css filesHow do I insert comments in JavaScript code? Answer: JavaScript supports three different types of comments:
- 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]- 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]- 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]
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.
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:
Just posting here in case it is a bug and if others are looking for the same problem / solution.Code:<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?> <address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address> <?php } ?>
Melanie
beehavendesignz DOT com
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.
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.