Re: New! Template Package Update with Admin Interface!
ok, ok, I have reinstalled 2 times. I will reinstall again.
Thank you very much.
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
usausaok
ok, ok, I have reinstalled 2 times. I will reinstall again.
Thank you very much.
Oh ok. If that doesn't work make sure you manually delete each file associated with her template. I have her older style of this and am not upgrading
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
usausaok
After I installed the template, the shopping cart shows the php code, did you see that?
I am very appreciate your help.
This isn't an installation error.. There are PHP short tags are being used in some of the code header.. Most servers ignore them lending to the issue you are seeing..
in the common/tpl_header.php file find this section:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <? echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CHECKOUT ?>" alt="checkout icon" class="checkout-icon" /><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
replace it with this:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <?php echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CHECKOUT ?>" alt="checkout icon" class="checkout-icon" /><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
Note that I replaced the "<?" shorttag with "<?php". Do the same and the issue goes away..
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
usausaok
Dear Anne,
How are you. I am a new Zen-Cart user. If you have time, can you help me to take a look my website:
http://parts.onlineds.com , I installed your template, but the shopping cart looks like different. I am very appreciate your help.
I am not seeing the template installed here.
Thanks,
Anne
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
DivaVocals
This isn't an installation error.. There are PHP short tags are being used in some of the code header.. Most servers ignore them lending to the issue you are seeing..
in the common/tpl_header.php file find this section:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <? echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CHECKOUT ?>" alt="checkout icon" class="checkout-icon" /><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
replace it with this:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <?php echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CHECKOUT ?>" alt="checkout icon" class="checkout-icon" /><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
Note that I replaced the "<?" shorttag with "<?php". Do the same and the issue goes away..
Yes, this is correct. I have this bug on a list for fixing in a future update.
Thanks,
Anne
Re: New! Template Package Update with Admin Interface!
My website doesnt load on some computers as of 8pm CST today. I am sure it is some sort of April fools prank some group is playing.
The script that is locking me up is the gsgd one. At least I think so. The site shows it is loading cdnjs.cloudflare.com but it just never loads.
Can I remove this? What does it do?
Thank you
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
AZComp
My website doesnt load on some computers as of 8pm CST today. I am sure it is some sort of April fools prank some group is playing.
The script that is locking me up is the gsgd one. At least I think so. The site shows it is loading cdnjs.cloudflare.com but it just never loads.
Can I remove this? What does it do?
Thank you
Anne can correct me if I am wrong, but I don't think her template is using any of the Cloudflare libraries.. Something else you've installed may be making calls to that library.. You need to figure out which add-on you've installed which does this..
What is Cloudflare you ask??? if you Google "what is cdnjs.cloudflare.com", you might get some insight.. see if this site will help: http://blog.cloudflare.com/cdnjs-com...cript-librarie
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
AZComp
My website doesnt load on some computers as of 8pm CST today. I am sure it is some sort of April fools prank some group is playing.
The script that is locking me up is the gsgd one. At least I think so. The site shows it is loading cdnjs.cloudflare.com but it just never loads.
Can I remove this? What does it do?
Thank you
The script that is causing the problem is the jquery easing script. It is being served remotely. The author just changed their policy on linking to the script remotely. You can either remove the call for the script in the includes/templates/all_business/jscript/jscript_jquery.min.php line 2 or copy the script to your server in the includes/templates/all_business/jscript folder and change the call to point to the one on your server.
I will include the change in a future template update.
Thanks,
Anne
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
picaflor-azul
The script that is causing the problem is the jquery easing script. It is being served remotely. The author just changed their policy on linking to the script remotely. You can either remove the call for the script in the includes/templates/all_business/jscript/jscript_jquery.min.php line 2 or copy the script to your server in the includes/templates/all_business/jscript folder and change the call to point to the one on your server.
I will include the change in a future template update.
Thanks,
Anne
Hey Anne, if you are interested, I've had good success with jQuery's CDN.. In case you still want to go the route of using a CDN..
Quote:
Using jQuery with a CDN
CDNs can offer a performance benefit by hosting jQuery on servers spread across the globe. This also offers an advantage that if the visitor to your webpage has already downloaded a copy of jQuery from the same CDN, it won't have to be re-downloaded.
Using jQuery's CDN provided by MediaTemple
1
2 |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
|
Re: New! Template Package Update with Admin Interface!
Quote:
Originally Posted by
DivaVocals
Hey Anne, if you are interested, I've had good success with jQuery's CDN.. In case you still want to go the route of using a CDN..
Thanks for the tip ;-)
Thanks,
Anne