Zen Cart Logo
Forums / Addon Templates / All Business template Support Thread

All Business template Support Thread

Views: 183,248

Results 541 to 560 of 997
27 Apr 2011, 13:54
#541
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

All Business template Support Thread

Hi Anne,

We're on the home straight now !

A customer has pointed out to us that in our old template design you were able to sort by price low / high whereas the new design (being the all business template) does not allow this.

The column grid layout on this template only has sort alphabetically. There is a filter option to filter by titles beginning with a,b,c etc but no all round sort by price. (It is available if you navigate to all products which is displayed in a list form)

Is there any way of add in sort by price onto the main product pages ?

This is not a problem with the template. You are confusing the new/featured/specials/all product listing page with the product listing pages. The new/featured/specials/all product listing pages have this functionality but the product listing page does not. See all possible settings for the product listing page here:

http://www.zen-cart.com/wiki/index.php/Admin_-_Configuration_-_Product_Listing

If you search the forum you will probably find instructions for adding the filter that you want to the product listing page.

Thanks,

Anne

27 Apr 2011, 14:13
#542
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: All Business template Support Thread

Hi Anne,

Thanks for the response. I have indeed found and implemented the code.

For anyone elses reference it can be found here

27 Apr 2011, 14:44
#543
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: All Business template Support Thread

Just to clarify that - the issue is caused because this template used the Column Layout Grid addon. When I say issue it's not an issue more lke change of functionallity. :smile: The default zencart install does allow sort by price on the main product pages.

The code I linked to above will sort out anyone with the Column Layout Grid addon who wishes to implement sort by price.

27 Apr 2011, 14:57
#544
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

Also to clarify, the drop down with sort by product name, Price, model, date added is not natively available on the product listing page. The sort by price functionality that you are talking about is natively available on the product listing page by clicking on the link "price" when the page is using rows.

The code you have linked to will give you a drop down sort by box like on the all/new/featured/specials product listing pages on your zen cart product listing pages when you are using the column layout grid module.

Thanks,

Anne

27 Apr 2011, 15:08
#545
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: All Business template Support Thread

Yep that's better clarified there :D

28 Apr 2011, 00:32
#546
jadedev avatar

jadedev

New Zenner

Join Date:
Apr 2011
Posts:
39
Plugin Contributions:
0

Re: All Business template Support Thread

Get Em Fast:

I also just noticed that you've got 2 separate stylesheets loading..............."stylesheet.css"

Thanks for your help mate. How/where do you see what files I am using?

http://www.chefscircle.com.au/cart/index.php?main_page=products_all

I am trying to find out which template is used for the product. Clearly it's not tpl_product_info.php.

28 Apr 2011, 10:01
#547
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

Thanks for your help mate. How/where do you see what files I am using?

You can view the source code to see which style sheets are loading.

I am trying to find out which template is used for the product. Clearly it's not tpl_product_info.php.

The page you have linked is the all products page.

Thanks,

Anne

28 Apr 2011, 20:55
#548
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: All Business template Support Thread

Pet Herbal Remedies:

And the author is?....

I've reviewed the install documents but don't see any reference.

Thanks, Lynn

Hi Anne,

I'm busy trying to install the fade slide from https://www.dynamicdrive.com into define main page. I've had to make a few changes including adding a javascript file to includes/modules/pages/index and to includes/templates/all_business/common/html_header however i'm having great difficulties getting past step 2. The thread that I've been following for instructions is

http://www.zen-cart.com/forum/showthread.php?t=152373

Step 2 results in no slider and issues with EZ pages links (don't work). Step 3 requires a div in define main page

<div id="fadeshow1"></div>

Is there a conflict with this template because there was a previous slider in place? Should the javascript file be placed in a file other than what's recommended? Images are also uploaded and in place. If so I'd much appreciate your assistance. Then I'd be happy to post how I was able to do it.

Thanks, Lynn

http://visitmonolake.org/zencart/

28 Apr 2011, 21:24
#549
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

Hi Anne,

I'm busy trying to install the fade slide from https://www.dynamicdrive.com into define main page. I've had to make a few changes including adding a javascript file to includes/modules/pages/index and to includes/templates/all_business/common/html_header however i'm having great difficulties getting past step 2. The thread that I've been following for instructions is

http://www.zen-cart.com/forum/showthread.php?t=152373

Step 2 results in no slider and issues with EZ pages links (don't work). Step 3 requires a div in define main page

<div id="fadeshow1"></div>

Is there a conflict with this template because there was a previous slider in place? Should the javascript file be placed in a file other than what's recommended? Images are also uploaded and in place. If so I'd much appreciate your assistance. Then I'd be happy to post how I was able to do it.

Thanks, Lynn

http://visitmonolake.org/zencart/

There is no problem with the template. For good measure you can delete the javascript file from the included slider. All I can recommend is that you follow the instructions.

Thanks,

Anne

05 May 2011, 10:27
#550
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

Hi Anne,

First of all many thanks for a great template, I have spent the last five months making personal alterations and fell I am almost there with the site now but have a couple of questions you may be able to answer?

First of all I would like to change the product description text but having trawled the stylesheet and even implemented the following at the bottom of my stylesheet > #productDescription{color:#44444;}
I still can't get it work

Secondly I have tried to implement the revised Jscript_easyslider mod as posted earlier on in the thread to stop the problem with IE reporting an error but feel I am not inserting the <script></script> code in the correct place as when I have done this on previous attempts I lose the slider and its just replaced with images listed vertically. (I understand this is not a contribution of yours but hoped you may be able to help anyway!)

And lastly (no more I promise) I cannot get the twitter link to work, I have modified both files where the links are present tpl_footer_menu and footer_menu_defines but to no avail as for some reason it has the link in place but is preceeded by my own domains url!

Perhaps when you get a minute you might be able to take a look at these for me?

The site url is http://www.as-ireland.com

I am using the latest version of Zencart (fresh install)
The follwoing mods have been installed
Image Handler 2
CSS/JS Loader

Many thanks once again for an excellent template.

Kind Regards

Derek:D

05 May 2011, 12:17
#551
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

And lastly (no more I promise) I cannot get the twitter link to work, I have modified both files where the links are present tpl_footer_menu and footer_menu_defines but to no avail as for some reason it has the link in place but is preceeded by my own domains url!

Your twitter link is not working because the link is showing:

http://www.as-ireland.com/www.twitter.com/AS_Essentials

There are instructions in the install.txt file for adding this twitter link and there is also a tutorial on my site that you can follow.

Secondly I have tried to implement the revised Jscript_easyslider mod as posted earlier on in the thread to stop the problem with IE reporting an error but feel I am not inserting the <script></script> code in the correct place as when I have done this on previous attempts I lose the slider and its just replaced with images listed vertically. (I understand this is not a contribution of yours but hoped you may be able to help anyway!)

If you have correctly followed the instructions posted here then there will be no problems with the js working:

http://www.zen-cart.com/forum/showpost.php?p=961529&postcount=248

I would recommend going through the instructions again very carefully to see what you have missed.

First of all I would like to change the product description text but having trawled the stylesheet and even implemented the following at the bottom of my stylesheet

Your stylesheet rules are being overridden by hard coded styles in the product description themselves. The template does not natively come with any hard coded style rules, so they must be something that you have added or you have used the html editor in the product description area.

Thanks,

Anne

05 May 2011, 13:18
#552
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

picaflor-azul:

Your twitter link is not working because the link is showing:

http://www.as-ireland.com/www.twitter.com/AS_Essentials

There are instructions in the install.txt file for adding this twitter link and there is also a tutorial on my site that you can follow.

I have followed your instructions and the PHP files are showing exactly as described but I cannot get https://www.as-ireland.com to go away, it seems it is coded elsewhere but am not sure where to look, I have used the developers tool kit to find abnormal instances of the URL but none there!

If you have correctly followed the instructions posted here then there will be no problems with the js working:

http://www.zen-cart.com/forum/showpost.php?p=961529&postcount=248

I would recommend going through the instructions again very carefully to see what you have missed.

I have again read them over again, I understand the process involved but was hoping someone could shed some light on where exactly to put the <script> </script> code on the newly created PHP file as I think is where the confusion may lie.

Your stylesheet rules are being overridden by hard coded styles in the product description themselves. The template does not natively come with any hard coded style rules, so they must be something that you have added or you have used the html editor in the product description area.

Thanks,

Anne

That makes perfect sense I have altered the product description colour and this appears to have worked.

Cheers

Derek

05 May 2011, 14:42
#553
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

I have again read them over again, I understand the process involved but was hoping someone could shed some light on where exactly to put the <script> </script> code on the newly created PHP file as I think is where the confusion may lie.

I can not say it much more clearly than the instructions:

<script>contents of the jscript_easySlider.js</script>

I have followed your instructions and the PHP files are showing exactly as described but I cannot get https://www.as-ireland.com to go away, it seems it is coded elsewhere but am not sure where to look, I have used the developers tool kit to find abnormal instances of the URL but none there!

Check your php sytax, etc. as you must have an error in your code. You can re-install the files related to these links from the original template package or do a file comparison.

Thanks,

Anne

05 May 2011, 23:28
#554
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: All Business template Support Thread

derek.b:

I have again read them over again, I understand the process involved but was hoping someone could shed some light on where exactly to put the <script> </script> code on the newly created PHP file as I think is where the confusion may lie.

Cheers

Derek

Hi Derek

Try the fix I posted here and see if that helps:
http://www.zen-cart.com/forum/showpost.php?p=983670&postcount=172

As far as your Twitter and Facebook link problems...

When looking at the coding, they are both referencing: <a href="blingthemes">

Your code:

<!--BOF footer menu display-->
<dl>
<span id="social-media">
<a href="blingthemes">
<img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link"/>
</a>
<a href="blingthemes">
</span>
<br class="clearBoth"/>
<!--EOF footer menu display-->

Original Code:

<!--BOF footer menu display-->
<dl>
<span id="social-media">
<a href="http://www.twitter.com/picaflorazul">
<img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link"/>
</a>
<a href="http://www.facebook.com/picaflor-azul#!/profile.php?id=100000413665171">
</span>
<br class="clearBoth"/>
<!--EOF footer menu display-->

The two files it should be pulling this info from are:

includes/languages/english/extra_definitions/all_business/footer_menu_defines.php (approx line 56)

define('TWITTER', 'http://www.twitter.com/picaflorazul');
define('FACEBOOK','http://www.facebook.com/picaflor-azul#!/profile.php?id=100000413665171');

includes/templates/all_business/common/tpl_footer_menu.php (approx line 24)

<span id="social-media">
<a href="<?php echo TWITTER; ?>"><img src="includes/templates/all_business/im
ages/twitter.png" class="twitter-image"  alt="twitter link" /></a>
<a href="<?php echo FACEBOOK; ?>"><img src="includes/templates/all_busin
ess/images/facebook.png" class="facebook-image"  alt="facebook link" /></a>
</span>

<br class="clearBoth" />

Try doing a search with the Developers Took Kit for "blingthemes" and see if you can find where it's being referenced. I suspect that is the root of your problem.

06 May 2011, 06:31
#555
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

Boggled:

Hi Derek

Try the fix I posted here and see if that helps:
http://www.zen-cart.com/forum/showpost.php?p=983670&postcount=172

Without sounding all gushy, that worked a treat, it was where to put the tags which confused me and being a non PHP/HTML/CSS expert in any way shape or form this was what I needed - You Legend!:smile:

As far as your Twitter and Facebook link problems...

When looking at the coding, they are both referencing: <a href="blingthemes">

Your code:

<!--BOF footer menu display--> <dl> <span id="social-media"> <a href="blingthemes"> <img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link"/> </a> <a href="blingthemes"> </span> <br class="clearBoth"/> <!--EOF footer menu display--> ``` > > Original Code: > ``` <!--BOF footer menu display--> <dl> <span id="social-media"> <a href="http://www.twitter.com/picaflorazul"> <img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link"/> </a> <a href="http://www.facebook.com/picaflor-azul#!/profile.php?id=100000413665171"> </span> <br class="clearBoth"/> <!--EOF footer menu display--> ``` > > The two files it should be pulling this info from are: > > includes/languages/english/extra_definitions/all_business/footer_menu_defines.php (approx line 56) > ``` define('TWITTER', 'http://www.twitter.com/picaflorazul'); define('FACEBOOK','http://www.facebook.com/picaflor-azul#!/profile.php?id=100000413665171'); ``` > > includes/templates/all_business/common/tpl_footer_menu.php (approx line 24) > ``` <span id="social-media"> <a href="<?php echo TWITTER; ?>"><img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link" /></a> <a href="<?php echo FACEBOOK; ?>"><img src="includes/templates/all_busin ess/images/facebook.png" class="facebook-image" alt="facebook link" /></a> </span> <br class="clearBoth" /> ``` > > Try doing a search with the Developers Took Kit for "blingthemes" and see if you can find where it's being referenced. I suspect that is the root of your problem.

Ok so I looked at this again this morning and went on the hunt in my FTP program to see if there was any files that perhaps didn't look right or out of context with Anne's theme, low and behold I clicked on web/includes/extra_configures and in there was a file named estoreparameters.php, after downloading this and opening it up in my text editor it was full of Twitter/Youtube define statements and was obviously causing a conflict!!

Well all I can say is many thanks to Yourself and Anne for the help, I have managed to get 6 months into this without asking any questions and soley using the search function but had come to the stage where my eyes could not handle anymore!!

Once again Many Thanks:clap:

06 May 2011, 07:33
#556
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

Just one quick one, I have just done a HTML Validation on my site, and amongst over issues the discussed easy_slider php file which I have now created and uploaded is full of errors, I guess this is because it has been written as a .js file but now converted to PHP.

My question is any coding type experts out fancy having a look to see what the issue maybe?:dontgetit

06 May 2011, 12:08
#557
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

Just one quick one, I have just done a HTML Validation on my site, and amongst over issues the discussed easy_slider php file which I have now created and uploaded is full of errors, I guess this is because it has been written as a .js file but now converted to PHP.

My question is any coding type experts out fancy having a look to see what the issue maybe?

Your errors are not native to the template or the slider. See the template demo here:

All Business free template by Picaflor Azul

and the XHTML validation here:

XHTML 1.0 Validation

and CSS validation here:

All Business CSS 2.1 Validation

If you make changes to the template then you will need to re-validate. The validator spells out all of the errors with line numbers and recommendations for fixing the errors. You need to go through the errors one at a time and fix them.

Thanks,

Anne

06 May 2011, 18:11
#558
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

picaflor-azul:

Your errors are not native to the template or the slider. See the template demo here:

All Business free template by Picaflor Azul

and the XHTML validation here:

XHTML 1.0 Validation

and CSS validation here:

All Business CSS 2.1 Validation

If you make changes to the template then you will need to re-validate. The validator spells out all of the errors with line numbers and recommendations for fixing the errors. You need to go through the errors one at a time and fix them.

Thanks,

Anne

Hi Anne

I didn't question as to whether the original template had valid XHTML or CSS, it was more that prior to me changing the jscript_easySlider.js file and using the script command and changing it to a php file I am now presented with a list of circa 30 errors which were not there before I changed the file extension. Only reason I changed this was to cure the page error being noted by IE8.

This is using an original copy of the jscript_easyslider.js file that was originally downloaded from your website.

I understand the need to validate after template alterations and also do so on a regualr basis, hence my statement that "amongst other issues" in my last post.

I just wondered if perhaps due to file extension change that a conflict of coding happened (if thats the correct term)?

Cheers

Derek

06 May 2011, 18:28
#559
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: All Business template Support Thread

I followed the same instructions on the demo to correct the javascript error, so it is possible to validate the xhtml and css after moving the js file:

http://www.zen-cart.com/forum/showpost.php?p=961529&postcount=248

The best advice that I can give you is to read the error messages carefully and follow the instructions given in the validator to correct the errors.

Thanks,

Anne

06 May 2011, 21:24
#560
derek_b avatar

derek_b

New Zenner

Join Date:
Dec 2010
Location:
Sligo, Ireland
Posts:
18
Plugin Contributions:
0

Re: All Business template Support Thread

picaflor-azul:

I followed the same instructions on the demo to correct the javascript error, so it is possible to validate the xhtml and css after moving the js file:

http://www.zen-cart.com/forum/showpost.php?p=961529&postcount=248

The best advice that I can give you is to read the error messages carefully and follow the instructions given in the validator to correct the errors.

Thanks,

Anne

Hi Anne,

I know this must be annoying you by now but given your experience I appreciate your help, when you say you moved the file did you rename it aswell?

You see the problem I have got is this, if you rename the .js to a php then surely you need to set the definition in the define_main_page.php in all_business as this currently still directs the script to jscript_easyslider.js even though the linked tutorial specifically states to delete that file from the relevant folder!

I have now completely reloaded that file and done exactly as stated over and over again I can upload the error log from the validation tool if it helps?

Thanks again for your time

Derek