Zen Cart Logo
Forums / Addon Templates / Sheffield Blue Template Support Thread

Sheffield Blue Template Support Thread

Views: 123,051

Results 381 to 400 of 842
28 Oct 2013, 5:12 PM
#381
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Sheffield Blue Template Support Thread

ozzyizzy:

Hello. I have recently implemented the Responsive Sheffield Blue Template, and I am very happy with the Template and what it can do. Thank you Picaflor-Azul :-). I have however found a problem on my site https://www.knicknacs.com.au with the product info. On my General products info pages (example http://knicknacs.com.au/murano-jewelry/murano-perfume-vials/murano-glass-perfume-vial-red-flower) it barely flashed up the description before it disappears. Whereas on my General Document items the product description stays put. (example http://knicknacs.com.au/mobile-phones/6-inch-android-4.2-quad-core-mobile-phone-avalanche-720p-3g). Could someone point me in the right direction please? Is this a responsive issue, or am I not configuring it correct somewhere? Thanks in Advance.

If you take a look at the support thread for the responsive sheffield blue template you will see that this bug has already been addressed and I have posted a patch ;)

Thanks,

Anne

29 Oct 2013, 2:40 AM
#382
jenkins2212 avatar

jenkins2212

New Zenner

Join Date:
Oct 2013
Location:
Athens, Georgia, United States
Posts:
27
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

Hi second post so be easy on me haha.

My site buyauthenticstore.com
using blue sheffield:)

Wondering how to get the image in the slide bar to fill out to whole box? Im sure its something super simple but i have tweaked EVERYTHING!

Also the wrapper at the "featured" box on the bottom does not stretch the length of the page. Any help with that would be greatly appreciated.

And lastly.... like i said im new haha. I cant get my logo to fit in the top left of the page. Any help?

29 Oct 2013, 1:02 PM
#383
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

jenkins2212:

Hi second post so be easy on me haha.

My site buyauthenticstore.com
using blue sheffield:)

Wondering how to get the image in the slide bar to fill out to whole box? Im sure its something super simple but i have tweaked EVERYTHING!

Also the wrapper at the "featured" box on the bottom does not stretch the length of the page. Any help with that would be greatly appreciated.

And lastly.... like i said im new haha. I cant get my logo to fit in the top left of the page. Any help?

The template is 980 pixels wide. Your slide show images will need to be this wide.

The background image for the center tabs is 600 pixels wide. The template is designed to be used as a 2 or 3 column layout. If you want to use it as a single column layout you will have to create a new background image in the correct width.

If you read the readme.html file you will find instructions for adding your logo.

Thanks,

Anne

29 Oct 2013, 8:44 PM
#384
jenkins2212 avatar

jenkins2212

New Zenner

Join Date:
Oct 2013
Location:
Athens, Georgia, United States
Posts:
27
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

Thanks for the quick reply!
When i add a logo it throws the entire sites margins off??? Thats why i havent added one.
Thanks for the pixel width of the sliders! Much appreciated.

So there is no way to make the "featured" blue wrapper wider to extent to the other side of the box?

29 Oct 2013, 11:42 PM
#385
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

Thank you Anne, for this wonderful responsive template. On the Renaissance Man site we began getting a ton of SPAM through the mini contact form in the header, but I think it may prevent it (using ZC 1.5.1) by adding the following line of code to TEMPLATE/common/tpl_mega_menu.php:

                    ```
<?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>

I added it just below:
<textarea name="enquiry" cols="40" rows="3" id="enquiry"></textarea>
29 Oct 2013, 11:50 PM
#386
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

mutinyzoo:

Thank you Anne, for this wonderful responsive template. On the Renaissance Man site we began getting a ton of SPAM through the mini contact form in the header, but I think it may prevent it (using ZC 1.5.1) by adding the following line of code to TEMPLATE/common/tpl_mega_menu.php:

                    ```
<?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
> 
> I added it just below:
> ```
<textarea name="enquiry" cols="40" rows="3"  id="enquiry"></textarea>

I too have been receiving plenty of spam with 1.5.1, I'll look forward to any opinions as to if this is how the spammers are circumnavigating the anti-spam by using the mega menu.

30 Oct 2013, 1:11 AM
#387
divavocals avatar

divavocals

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

picandnix:

I too have been receiving plenty of spam with 1.5.1, I'll look forward to any opinions as to if this is how the spammers are circumnavigating the anti-spam by using the mega menu.

This is EXACTLY how they are doing it..

30 Oct 2013, 11:36 AM
#388
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

DivaVocals:

This is EXACTLY how they are doing it..

I really hope this solution is confirmed (not questioning your statement Diva, it makes total sense, just want to know the fix is correct before diving in).

30 Oct 2013, 1:31 PM
#389
divavocals avatar

divavocals

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

picandnix:

I really hope this solution is confirmed (not questioning your statement Diva, it makes total sense, just want to know the fix is correct before diving in).

It is.. the contact form in the menu is missing the CSS anti spam stuff.. Look at the contact us page file to compare if you need confirmation..

30 Oct 2013, 1:35 PM
#390
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

jenkins2212:

Thanks for the quick reply!
When i add a logo it throws the entire sites margins off??? Thats why i havent added one.
Thanks for the pixel width of the sliders! Much appreciated.

So there is no way to make the "featured" blue wrapper wider to extent to the other side of the box?

If you want to use a logo that is a different size than the recommended logo dimensions then you may have to make some adjustments in the css.

I already answered the question about the featured wrapper:

"The background image for the center tabs is 600 pixels wide. The template is designed to be used as a 2 or 3 column layout. If you want to use it as a single column layout you will have to create a new background image in the correct width."

Thanks,

Anne

30 Oct 2013, 1:37 PM
#391
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

DivaVocals:

It is.. the contact form in the menu is missing the CSS anti spam stuff.. Look at the contact us page file to compare if you need confirmation..

I had considered adding the code to the template, but it causes the html validation to fail. I decided to leave it as an optional edit that a template user can make if they are getting spam via the menu contact form.

Thanks,

Anne

30 Oct 2013, 2:35 PM
#392
divavocals avatar

divavocals

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

picaflor-azul:

I had considered adding the code to the template, but it causes the html validation to fail. I decided to leave it as an optional edit that a template user can make if they are getting spam via the menu contact form.

Thanks,

Anne

In this case, I think the spam prevention is more important than the validation (which isn't an absolute..) there are some cases where validation sometimes fails for code it probably shouldn't fail.. this looks like one of those situations..:smile: (IMHO..)

30 Oct 2013, 6:25 PM
#393
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

The SPAM protect is still not working, sorry to say. The code on the header form is thus:

<div id="contact_form">
<div class="message">
<div id="alert"></div>
</div>
<form method="post" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send&zenid=17087889666c36ed2151973644aaac92" name="contact_us">
<input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken">
<label for="contactname">
Name
<span class="required"> *</span>
</label>
<input id="contactname" type="text" value="" size="30" name="contactname">
<br class="clearBoth">
<label for="email">
Email
<span class="required"> *</span>
</label>
<input id="email" type="text" value="" size="30" name="email">
<br class="clearBoth">
<label for="enquiry">
Message
<span class="required"> *</span>
</label>
<textarea id="enquiry" rows="3" cols="40" name="enquiry"></textarea>
<input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty">
<div class="form_buttons">
<input id="submit" class="button" type="submit" value="Submit">
</div>
</form>

(NOTE: using image to contact and not the default contact form)
Code on the Image to Contact page thus:

<div id="bandSignupDefault" class="centerColumn">
<h1 id="bandSignupDefaultHeading">Contact/Estimate Request</h1>
<form enctype="multipart/form-data" method="POST" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send" name="image_to_contact">
<input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken">
<address>
<div id="bandSignupContent" class="content">
<fieldset id="bandSignup-Info">
<legend>Contact/Estimate Request</legend>
<div class="alert forward">* Required information</div>
<br class="clearBoth">
<label class="inputLabel" for="first_name">Full Name:</label>
<input id="contactname" type="text" size="40" name="contactname">
<span class="alert">*</span>
<br class="clearBoth">
<label class="inputLabel" for="email_address">Email Address:</label>
<input id="email-address" type="text" size="40" name="email">
<span class="alert">*</span>
<br class="clearBoth">
<label class="inputLabel" for="phone_number">Phone Number:</label>
<input id="phonenumber" type="text" size="40" name="phonenumber">
<br class="clearBoth">
<label for="enquiry">
Message/Project Description:
<span class="alert">*</span>
</label>
<textarea id="enquiry" rows="7" cols="30" name="enquiry"></textarea>
<input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty">
</fieldset>
<fieldset id="bandSignup-Payment">
<legend>Project Images</legend>
(2MB Max - free resize tool available
<a target="_newbrowser" href="http://www.picresize.com/">here</a>
.)
<div id="org_div1" class="file_wrapper_input">
</fieldset>
<div class="buttonRow forward">
<input type="image" title=" Send Now " alt="Send Now" src="includes/templates/renaissance3/buttons/english/button_send.gif">
(please be patient for image uploads)
</div>
<div class="buttonRow">
<a href="http://www.renaissancemaninc.com/index.php?main_page=index">
</div>
<br class="clearBoth">
</div>
</form>
</div>

Still not sure if it's a CSS reference missing or what.

I haven't seen/found a clear explanation of HOW to css-driven antispam works, but my guess is that the CSS is simply hiding a field from human users, which will be auto-filled by spam robots and caught by the php file. In which case, I'm not sure what is not working with the above code, unless there's something in the DIV(s) containing the form that do something.

It doesn't appear that the ID (CUAS) of the hidden form is actually being rendered or used anywhere else in the packages code.

30 Oct 2013, 6:59 PM
#394
divavocals avatar

divavocals

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

It's a preventative measure, it's not a CURE.. Even CAPTCHA can be defeated..

mutinyzoo:

The SPAM protect is still not working, sorry to say. The code on the header form is thus:

<div id="contact_form"> <div class="message"> <div id="alert"></div> </div> <form method="post" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send&zenid=17087889666c36ed2151973644aaac92" name="contact_us"> <input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken"> <label for="contactname"> Name <span class="required"> *</span> </label> <input id="contactname" type="text" value="" size="30" name="contactname"> <br class="clearBoth"> <label for="email"> Email <span class="required"> *</span> </label> <input id="email" type="text" value="" size="30" name="email"> <br class="clearBoth"> <label for="enquiry"> Message <span class="required"> *</span> </label> <textarea id="enquiry" rows="3" cols="40" name="enquiry"></textarea> <input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty"> <div class="form_buttons"> <input id="submit" class="button" type="submit" value="Submit"> </div> </form> ``` > (NOTE: using image to contact and not the default contact form) > Code on the Image to Contact page thus: > ``` <div id="bandSignupDefault" class="centerColumn"> <h1 id="bandSignupDefaultHeading">Contact/Estimate Request</h1> <form enctype="multipart/form-data" method="POST" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send" name="image_to_contact"> <input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken"> <address> <div id="bandSignupContent" class="content"> <fieldset id="bandSignup-Info"> <legend>Contact/Estimate Request</legend> <div class="alert forward">* Required information</div> <br class="clearBoth"> <label class="inputLabel" for="first_name">Full Name:</label> <input id="contactname" type="text" size="40" name="contactname"> <span class="alert">*</span> <br class="clearBoth"> <label class="inputLabel" for="email_address">Email Address:</label> <input id="email-address" type="text" size="40" name="email"> <span class="alert">*</span> <br class="clearBoth"> <label class="inputLabel" for="phone_number">Phone Number:</label> <input id="phonenumber" type="text" size="40" name="phonenumber"> <br class="clearBoth"> <label for="enquiry"> Message/Project Description: <span class="alert">*</span> </label> <textarea id="enquiry" rows="7" cols="30" name="enquiry"></textarea> <input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty"> </fieldset> <fieldset id="bandSignup-Payment"> <legend>Project Images</legend> (2MB Max - free resize tool available <a target="_newbrowser" href="http://www.picresize.com/">here</a> .) <div id="org_div1" class="file_wrapper_input"> </fieldset> <div class="buttonRow forward"> <input type="image" title=" Send Now " alt="Send Now" src="includes/templates/renaissance3/buttons/english/button_send.gif"> (please be patient for image uploads) </div> <div class="buttonRow"> <a href="http://www.renaissancemaninc.com/index.php?main_page=index"> </div> <br class="clearBoth"> </div> </form> </div> ``` > Still not sure if it's a CSS reference missing or what. > > I haven't seen/found a clear explanation of HOW to css-driven antispam works, but my guess is that the CSS is simply hiding a field from human users, which will be auto-filled by spam robots and caught by the php file. In which case, I'm not sure what is not working with the above code, unless there's something in the DIV(s) containing the form that do something. > > It doesn't appear that the ID (CUAS) of the hidden form is actually being rendered or used anywhere else in the packages code.
30 Oct 2013, 7:08 PM
#395
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

DivaVocals:

It's a preventative measure, it's not a CURE.. Even CAPTCHA can be defeated..

Yes, but in this case the css-driven spam protect seems to be working on the contact page, but not in the header form, so I think I'm doing something wrong. Does anyone know if it's possible that the containing div's are involved in the spam protection? Doesn't look like it from what I can see.

30 Oct 2013, 7:46 PM
#396
divavocals avatar

divavocals

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

mutinyzoo:

Yes, but in this case the css-driven spam protect seems to be working on the contact page, but not in the header form, so I think I'm doing something wrong. Does anyone know if it's possible that the containing div's are involved in the spam protection? Doesn't look like it from what I can see.

How do you know which form the spam is coming from??

30 Oct 2013, 8:19 PM
#397
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

DivaVocals:

How do you know which form the spam is coming from??

Good question. I'm just conjecturing that since the SPAM began when I uploaded the new template (and it's been nearly 10 in 12 hours, up from none in months), that it is coming through the new form. For now, I've disabled the mini-header-contact-form so we'll see what comes in (or doesn't) over the next 24 hours.

31 Oct 2013, 3:41 AM
#398
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Sheffield Blue Template Support Thread

mutinyzoo:

Good question. I'm just conjecturing that since the SPAM began when I uploaded the new template (and it's been nearly 10 in 12 hours, up from none in months), that it is coming through the new form. For now, I've disabled the mini-header-contact-form so we'll see what comes in (or doesn't) over the next 24 hours.

I've been slowly building a replacement for my live site using Sheffield Blue as a base. I'm at a point right now where I've been going back through and redesigning most of my forms to make them more responsive. I had some older mod forms not using the new spam idea and recoded with the spam code. I also modifed the mega menue contact form so when it fails it plays nice with the changes I'm doing on the normal contact us from.

I added a hidden subject so I know where the message came from... maybe you will find it usfull, I've tested the mega menu and it's behaving as expected... the input field is tracking back and getting cought by the main code.

<br class="clearBoth" />
                        <label for="enquiry">Message<span class="required"> *</span></label>
                        <?php echo zen_draw_textarea_field('enquiry', '40', '3', $enquiry, 'id="enquiry" class="required" required="" type="text"'); ?> 
                        <?php echo zen_draw_input_field('should_be_empty', '', ' size="10" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
                       <?php echo zen_draw_hidden_field('subject', 'From MegaMenu', ' id="subject"'); ?> 
31 Oct 2013, 1:27 PM
#399
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Sheffield Blue Template Support Thread

davewest:

I've been slowly building a replacement for my live site using Sheffield Blue as a base. I'm at a point right now where I've been going back through and redesigning most of my forms to make them more responsive. I had some older mod forms not using the new spam idea and recoded with the spam code. I also modifed the mega menue contact form so when it fails it plays nice with the changes I'm doing on the normal contact us from.

I added a hidden subject so I know where the message came from... maybe you will find it usfull, I've tested the mega menu and it's behaving as expected... the input field is tracking back and getting cought by the main code.

<br class="clearBoth" /> <label for="enquiry">Message<span class="required"> *</span></label> <?php echo zen_draw_textarea_field('enquiry', '40', '3', $enquiry, 'id="enquiry" class="required" required="" type="text"'); ?> <?php echo zen_draw_input_field('should_be_empty', '', ' size="10" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?> <?php echo zen_draw_hidden_field('subject', 'From MegaMenu', ' id="subject"'); ?> ```

That's a great idea ;)

Thanks,

Anne

31 Oct 2013, 2:00 PM
#400
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

I used Zen Cart back in 2006, but have had no need of it since 2008 - until now :smile:

I have installed this template but want to remove the Social Sidebar.

In the instructions it says

In your favorite plain text editor open includes/templates/sheffield_blue/css/stysheet_social_header.css

At the bottom of the file add display:none; to the class for each icon you don't want to display.

I do not have this file - so assume it is referring to* /includes/templates/sheffield_blue/css/stylesheet_social_sidebar.css.*

However modifying this does not seem to remove (hide) the sidebar.

This is what I tried

.sidebar{background:#e3e9ff;-moz-border-radius:10px;border:3px solid #bbccff;position:fixed;cursor:pointer;}
.sidebar-words{color:#000000;font-weight:bold;font-family:helvetica;list-style:none;padding:0px;}
.soico{margin-right:2px;margin-bottom:5px;margin-top:5px;width:40px;}
.youtube-sh{display:none;}
.blog-sh{display:none;}
.google-sh{display:none;}

I also tried it without the '-sh' as this is excluded in the example in the instructions - this didn't work either.

Can anyone enlighten me as to what I am missing here.

Thanks.