Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,177

Results 561 to 580 of 1,865
2 Feb 2015, 9:52 PM
#561
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Westminster New

kalastaja:

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

2 Feb 2015, 9:55 PM
#562
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

missesbeehaven:

Your a gem :clap: thank you so much Anne :D

I had been looking at that for hours and trying different combinations but totally didnt think to add the code for top wrap to my css. WOHOOO now this is looking as I wanted thank you again - your the best!! :jump:

No problem ;) I don't mind helping people out when they have made an effort to figure things out for themselves and done some legwork and are just stuck on something. It is a little frustrating when people just want you to tell them the answer without any work themselves. I can tell that you have spent a good amount of time working on the template, customizing it to your needs ;)

Thanks,

Anne

2 Feb 2015, 11:48 PM
#563
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

picaflor-azul:

No problem ;) ** I don't mind helping people out when they have made an effort to figure things out for themselves and done some legwork and are just stuck on something. It is a little frustrating when people just want you to tell them the answer without any work themselves.**

nods in agreement :yes:

3 Feb 2015, 12:17 AM
#564
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

kalastaja:

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..:smile:)

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

  1. Multiple-line C-style comments. Everything between / and / is a comment, for example:

/* This is a comment / / C-style comments can span as many lines as you like, as shown in this example */

  1. One-line comments of C++ style. These comments begin with // and continue up to the next line break:

// This is a one-line comment

  1. One-line comments with the HTML comment-opening sequence (<!--). Note that the JavaScript interpreter ignores the closing characters of HTML comments (-->). Consider this example:

<!-- 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

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

3 Feb 2015, 2:42 AM
#565
missesbeehaven avatar

missesbeehaven

New Zenner

Join Date:
Apr 2009
Posts:
57
Plugin Contributions:
0

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:

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

3 Feb 2015, 4:56 AM
#566
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Westminster New

DivaVocals:

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
Ok, point taken.
BTW: (maybe a general question, but since we're on the subject) Why doesn't //xxxx ?> brake the php code?

3 Feb 2015, 6:18 AM
#567
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

kalastaja:

Ok, point taken.
BTW: (maybe a general question, but since we're on the subject) Why doesn't //xxxx ?> brake the php code?

If you want to have an in depth discussion on the use of comments in programming, or any other topic NOT RELATED to the support of this template, start a NEW topic on it..

3 Feb 2015, 12:09 PM
#568
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Westminster New

Choosing an item from the shop generates:

in Finnish: http://www.dtc.fi/index.php?main_page=product_info&cPath=3
in English: http://www.dtc.fi/index.php?main_page=product_info&cPath=3&products_id=10

The Finnish call ends up as a blank page. The English work as expected.
BTW. Traveling category handles only cPath, no products_id without backfiring .

3 Feb 2015, 2:22 PM
#569
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Westminster New

Log entries - pointing towards fi_fi:

[03-Feb-2015 16:19:06 Europe/Helsinki] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/etm99gtn/public_html/includes/languages/fi_fi.php:1) in /home/etm99gtn/public_html/includes/init_includes/init_templates.php on line 78
[03-Feb-2015 16:19:06 Europe/Helsinki] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/etm99gtn/public_html/includes/languages/fi_fi.php:1) in /home/etm99gtn/public_html/includes/functions/functions_general.php on line 46
3 Feb 2015, 2:51 PM
#570
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Westminster New

Based on the error message, check the file:
/home/etm99gtn/public_html/includes/languages/fi_fi.php

and remove the space(s) blank and/or line(s) at the start of the file before the opening php bracket <?php and see if this corrects the problem ...

As a precaution, check at the bottom of the file and if there is a closing php bracket ?> remove that as well ...

3 Feb 2015, 3:23 PM
#571
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

missesbeehaven:

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:

<?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 Feb 2015, 4:31 PM
#572
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

kalastaja:

Choosing an item from the shop generates:

in Finnish: http://www.dtc.fi/index.php?main_page=product_info&cPath=3
in English: http://www.dtc.fi/index.php?main_page=product_info&cPath=3&products_id=10

> The Finnish call ends up as a blank page. The English work as expected.
> BTW. Traveling category handles only cPath, no products_id without backfiring .

> **kalastaja:**
>
> Log entries - pointing towards fi_fi:
> ```
[03-Feb-2015 16:19:06 Europe/Helsinki] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/etm99gtn/public_html/includes/languages/fi_fi.php:1) in /home/etm99gtn/public_html/includes/init_includes/init_templates.php on line 78
[03-Feb-2015 16:19:06 Europe/Helsinki] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/etm99gtn/public_html/includes/languages/fi_fi.php:1) in /home/etm99gtn/public_html/includes/functions/functions_general.php on line 46

Not sure that these errors are related to THIS template..

4 Feb 2015, 3:36 AM
#573
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: Westminster New

First - Thank you Anne for an AMAZING template. I'm not a new user to Zen-Cart but haven't used in a while. I'm racking my brain trying to figure this out. I've tried all different settings. I have some ez pages set up. On my main page they show up where they're supposed to in the drop down menu. BUT on the other pages they're also showing up just below the header in the left column. If I turn them off for the left column they don't show up any longer in the drop down. I'm stumped. I've read EVERY 58 pages in this thread to see if it's been addressed already. The site is https://www.bellaornamenti.com It's no where near ready to go "live" and I have a ton of work to do but this is one thing that's bugging me!

Andrea

4 Feb 2015, 3:13 PM
#574
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

samisoaps:

First - Thank you Anne for an AMAZING template. I'm not a new user to Zen-Cart but haven't used in a while. I'm racking my brain trying to figure this out. I've tried all different settings. I have some ez pages set up. On my main page they show up where they're supposed to in the drop down menu. BUT on the other pages they're also showing up just below the header in the left column. If I turn them off for the left column they don't show up any longer in the drop down. I'm stumped. I've read EVERY 58 pages in this thread to see if it's been addressed already. The site is https://www.bellaornamenti.com It's no where near ready to go "live" and I have a ton of work to do but this is one thing that's bugging me!

Andrea

You should have the ezpages_drop_menu.php sidebox turned off for left/right column and on for Single Column Status, and on for Show this Box @ Min-Width. If you don't want the ezpages sidebox to show then you should turn off the ezpages.php sidebox.

Thanks,

Anne

4 Feb 2015, 4:01 PM
#575
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

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.

4 Feb 2015, 4:35 PM
#576
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

kalastaja:

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

4 Feb 2015, 8:33 PM
#577
staypuftmarshmallow avatar

staypuftmarshmallow

New Zenner

Join Date:
Jan 2015
Location:
Las Vegas
Posts:
2
Plugin Contributions:
0

Re: Westminster New

Thannaree:

In the Admin: Configuration > My Store > Store Address and Phone

Just wanted to say thanks for the help.

4 Feb 2015, 9:19 PM
#578
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

StayPuftMarshmallow:

Just wanted to say thanks for the help.

No problem ;)

Thanks,

Anne

5 Feb 2015, 3:50 PM
#579
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Westminster New

After installing the template I had to revert back to my previous oxford dark template, but now the buttons where "broken". They where not localized and they where text and not the *.gif buttons I had prior to the installation.

5 Feb 2015, 4:24 PM
#580
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

kalastaja:

After installing the template I had to revert back to my previous oxford dark template, but now the buttons where "broken". They where not localized and they where text and not the *.gif buttons I had prior to the installation.

You need to switch back to not using css buttons in admin--configuration--layout settings.

Thanks,

Anne