nicole Posted April 23, 2010 Share Posted April 23, 2010 Hi, the 'Done but with errors on page' sign appear on the bottom of my webpage. I really don know what are they and so i clicked into every css and module folders, i found a few syntax errors in the tpl files as attached below.I don know anything about any codings and so i have no idea what's wrong. Could anyone give me some guideline and tell me how to fix them? Also, i don know the effect of these errors, really....scratching my head...(i) blocklanguage.tpl(ii) address.tpl(iii) authentication.tpl(iv) header.tpl(v) order-address.tpl(vi) scenes.tpl(vii) thickbox.tplplease please, anyone who is expert in this, please guide me... Link to comment Share on other sites More sharing options...
nicole Posted April 23, 2010 Author Share Posted April 23, 2010 Hi, the 'Done but with errors on page' sign appear on the bottom of my webpage. I really don know what are they and so i clicked into every css and module folders, i found a few syntax errors in the tpl files as attached below.I don know anything about any codings and so i have no idea what's wrong. Could anyone give me some guideline and tell me how to fix them? Also, i don know the effect of these errors, really....scratching my head...(i) blocklanguage.tpl(ii) address.tpl(iii) authentication.tpl(iv) header.tpl(v) order-address.tpl(vi) scenes.tpl(vii) thickbox.tpl(viii) blocksearch-top.tpl(ix) blocksearch.tpl(x) mailalerts - product.tpl(xi) productcategory.tplplease please, anyone who is expert in this, please guide me... Link to comment Share on other sites More sharing options...
razaro Posted April 23, 2010 Share Posted April 23, 2010 Hi i am not sure there are any errors in those tpl files, maybe it is just dreamweaver problem.And about those site errors edit config/config.inc.php and temporarily change ‘dispay_errors’ from ‘no’ to ‘yes’.Then if there are any post them. And like i said in other thread there is error connected to Categories Bar module. From where did you get that module ? Post link. Link to comment Share on other sites More sharing options...
nicole Posted April 23, 2010 Author Share Posted April 23, 2010 Hi i am not sure there are any errors in those tpl files, maybe it is just dreamweaver problem.And about those site errors edit config/config.inc.php and temporarily change ‘dispay_errors’ from ‘no’ to ‘yes’.Then if there are any post them. And like i said in other thread there is error connected to Categories Bar module. From where did you get that module ? Post link. Hi Razaro,I got the module 'moon' from http://dgcraft.free.fr/blog/index.php/category/themes-prestashop/but for the category bar module, i got it from one of the themes - ipnotik theme http://dgcraft.free.fr/blog/index.php/themes-prestashop/bonjour-tout-le-monde/http://grainmagique.free.fr/ipnotik/categoriesbar.zip Link to comment Share on other sites More sharing options...
razaro Posted April 23, 2010 Share Posted April 23, 2010 You need to add following code to file header.tpl in themes/moon folder, right after other scripts <script type="text/javascript" src="{$content_dir}modules/categoriesbar/chrome.js"></script> Link to comment Share on other sites More sharing options...
nicole Posted April 23, 2010 Author Share Posted April 23, 2010 You need to add following code to file header.tpl in themes/moon folder, right after other scripts <script type="text/javascript" src="{$content_dir}modules/categoriesbar/chrome.js"></script> Hi razaro. Thanks for the reply....I had added the code into the file. Just to confirm, please see attachment below. 'm I right? Thanks a million...nic Link to comment Share on other sites More sharing options...
razaro Posted April 23, 2010 Share Posted April 23, 2010 Yes that is ok Link to comment Share on other sites More sharing options...
nicole Posted April 23, 2010 Author Share Posted April 23, 2010 Yes that is ok heheee...happy for that...the rest should be fine, right? If i add a new module, do i need to add coding like you had provided to me earlier? Link to comment Share on other sites More sharing options...
razaro Posted April 23, 2010 Share Posted April 23, 2010 Usually no, this module is from end of 2008 and i think because you usedifferent version of Prestashop there was error. Link to comment Share on other sites More sharing options...
nicole Posted April 23, 2010 Author Share Posted April 23, 2010 Usually no, this module is from end of 2008 and i think because you usedifferent version of Prestashop there was error. you mean it is not compatible with ps 1.2.5? hmmm...this will be difficult...do you think all features (modules) could work properly in this site?Any other way that i could keep this template?nic Link to comment Share on other sites More sharing options...
razaro Posted April 23, 2010 Share Posted April 23, 2010 Sorry i wasn't clear category bar is older module, but with that one line it should workwithout any problems.Moon theme is compatible with 1.2.5 so you don't have to worry.And all modules should work properly on your site. And Moon theme is one off the best even better from many paid themes, but probably have some small bugs.If you find some bugs search forum and DG.Crafts site for solutions,and also check Element and Black and White threads . Link to comment Share on other sites More sharing options...
nicole Posted April 24, 2010 Author Share Posted April 24, 2010 Sorry i wasn't clear category bar is older module, but with that one line it should workwithout any problems.Moon theme is compatible with 1.2.5 so you don't have to worry.And all modules should work properly on your site. And Moon theme is one off the best even better from many paid themes, but probably have some small bugs.If you find some bugs search forum and DG.Crafts site for solutions,and also check Element and Black and White threads . hi razaro..thank you for d clarification. I will try to insert some info into the website and see what problem might occur..By the way, there are some square boxes at the categories bar, can i remove them? Not sure when they started appearing, hehe..If I want to change the wallpaper (is the background design named wallpaper), can i just download one and then upload to the image?How can i move the 'send to a friend' and 'send question' buttons at the product page to be placed under the 'Add to Cart'? Before that i installed the wishlist module but it could not be used and always showed 'error...java..'something. Why would this happen?thanks alot... Link to comment Share on other sites More sharing options...
razaro Posted April 24, 2010 Share Posted April 24, 2010 First boxes:It is image down.gif that indicates there are sub-menus.You could change image in\modules\categoriesbar\ orchange code in modules\categoriesbar\chrome.js from dropdownindicator: '<img src="./modules/categoriesbar/down.gif" border="0" />' to dropdownindicator: '' if you want to remove image.Second background image:Code to change is at beginning of global.css body { background:url("../img/texture.gif") repeat scroll 0 0 transparent; } Look here for optionsThird button:In product.tpl cut this code (I replaced code within addthis button with ...) <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} and paste it before {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> to look like this <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> And I get some errors connected to AddThis code. So backup file delete <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> and try to install whishlist module.And be sure to get Firebug plugin for Firefox from herereally helpful tool.Also Google Chrome browser has nice inspect tool link. Link to comment Share on other sites More sharing options...
nicole Posted April 24, 2010 Author Share Posted April 24, 2010 Third button:In product.tpl cut this code (I replaced code within addthis button with ...) <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} and paste it before {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> to look like this <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> And I get some errors connected to AddThis code. So backup file delete <!-- AddThis Button BEGIN --> .... <!-- AddThis Button END --> and try to install whishlist module.And be sure to get Firebug plugin for Firefox from herereally helpful tool.Also Google Chrome browser has nice inspect tool link.Hi Razaro,I had following your instruction and managed to change the background of website as well as the dropdownindicator, but the 3rd part, sorry for my stupidity, I'm unsure whether to replace the whole part as I indicated in the attachment below. Should I?Razaro, thanks for you help... Link to comment Share on other sites More sharing options...
razaro Posted April 24, 2010 Share Posted April 24, 2010 I made confusion in attempt to write less code.From your imageCut lines 69 to 78 and insert them at line 212 it before {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> Check image in attachment. Link to comment Share on other sites More sharing options...
nicole Posted April 25, 2010 Author Share Posted April 25, 2010 I made confusion in attempt to write less code.From your imageCut lines 69 to 78 and insert them at line 212 it before {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <!-- accessories --> Hi Razaro,1) I have moved and added the code to line 212 (see attachment) but the addthis button doesnt seem work on my site.2) Also, I have installed the wishlist, but as you can see, my wishlist button is located below the 'add to cart' but the position isnt right and I couldnt add anything at all. I tried to follow the thread http://www.prestashop.com/forums/viewthread/48684/to insert [removed][removed] into the hearder.tpl -----> wishlist still fails.3) Yet, if i place the wishlist module under the right hook, there appears the 'wishlist - no product & my wishlist' at the bottom of every page(see attachment images of 'wishlist - left hook' & 'homepage'& 'my account' ). However, when when i click into the my wishlists button on my account page, the categories bar disappear and a categories link appear at the header (it is not added into header hook in back office).4) I tried to place the module into the left hook, it appears only on the left colume of e.g. accessories page but not individual product page or the homepage nor the my account page. This look more tidy and clean.....but it doesnt work...Then I replaced this coding to the blockwishlist-extra.tpl ---> (as instructed in http://www.prestashop.com/forums/viewthread/48684/) {l s='Add to my wishlist' mod='blockwishlist'} the result is the error 404 while adding product into wishlist. So i remove that changes in blockwishlish-extra. Link to comment Share on other sites More sharing options...
razaro Posted April 25, 2010 Share Posted April 25, 2010 You are missing one step.You need to first create wishlist in my account page.And this is hard to notice but between name and save there is textbox :-)Here you enter name of wishlist and click save.Look at image in attachment .Now it should work.In attachment also you have product.tpl , for sent to a friend and other buttons .To style Add to whishlist button on product page add this code to global.css.This is just test change style however you want. #primary_block p.buttons_bottom_block a { background:#438BCB; border:medium none; color:#FFFFFF; cursor:pointer; font-weight:bold; height:29px; margin:0.5em 0; padding:0.5em 0.3em 0; text-align:center; text-transform:uppercase; width:138px; } And i have some problems with bestsellers module ,maybe it is just me will look at that later. product.zip Link to comment Share on other sites More sharing options...
nicole Posted April 25, 2010 Author Share Posted April 25, 2010 You are missing one step.In attachment also you have product.tpl , for sent to a friend and other buttons .To style Add to whishlist button on product page add this code to global.css.This is just test change style however you want. #primary_block p.buttons_bottom_block a { background:#438BCB; border:medium none; color:#FFFFFF; cursor:pointer; font-weight:bold; height:29px; margin:0.5em 0; padding:0.5em 0.3em 0; text-align:center; text-transform:uppercase; width:138px; } And i have some problems with bestsellers module ,maybe it is just me will look at that later. Hi Razaro,Thanks for the product.tpl file. buttons in product page are great and perfect...Really appreciate your help....many many many thanks to you, really.....bestsellers module? what's the matter?nic Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now