Jump to content

How to find Files (Urgent Pls help)


Recommended Posts

Hi, what i really need is... when i use FireFox .. when im on a page in my shop i right click in a item , exemple a text that i want to change.... ok so i right click then Inspect Element.. and it shows for exemple a text that i want to change it calls ADD TO CART and i want to change it for another name

so when i inspect this element it gives me this

 

<a class="button ajax_add_to_cart_button exclusive" title="Add to cart" href="http://www.rerjoias.com.br/index.php?controller=cart&add=1&id_product=8&token=0cba4a1e082b9bcea5b2fb07d3dbb47c" rel="ajax_id_product_8"> … </a>

Alright so i know that i have to change the *tittle="Add to cart" oK  but where do i find this file? i cant track it... do you guys please can help me out???

Thanks a lot and sorry for bad english!!!!

 

Merry Xmas to all!!

Link to comment
Share on other sites

That was just a exemple , is not the add cart .. its a lot things i really want to find the file... to change almost everything , the Languages translations work just a bit not for everything , and on blockcart is just for the cart i want to change other stuff

Thank You!!!

Link to comment
Share on other sites

Sure, i want to change mainly texts on Home and other pages also... everything that is in english to portuguese witch is my language but not everything translates becouse im using a template so is a lots of things also like where they say Design by and stuff like this .. and its not on foot i need to find the exacly file to change and i cant find the files becouse mainly is index.php and has nothing on it

Link to comment
Share on other sites

you can translate from English to portugese by downloading the portugese language file and install it, then if you want to use only portugese, desactivate English.

if you don't know how to do so let me know.

 

conerning the designed by... do you mean "powered by prestashop"? if yes, here is how you can change it:

 

your-site-root-directory/yourtheme/modules/blockcms/blockcms.tpl

go to  line 60 it looks like this

{if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a class="_blank" href="http://www.prestashop.com">PrestaShop</a>™</li>{/if}

you need to remove what you want.

 

in index.php you can't change nearly nothing...all is done through modules and other places.

 

let me know if u need more help.

Edited by walidon (see edit history)
Link to comment
Share on other sites

Dont work friend... its all in portugues already and english disable... but since its a template it dont translate everything and when it does... it translate kinda bad you know so i need to change to exacly words... and its a lot things that i want to change and its only the powered by prestashop it also have like Powered by prestashop and theme by ....

 

got me?

 

thanks for helping me!

Link to comment
Share on other sites

for the poweredby....  try in

your-site-root-directory/modules/blockcms/blockcms.tpl

 

the same line the same thing

 

can you give a link? this may help me to understand your site.

concerning the translation: it is recommended that you go to your back office (admin) and translate what you like,

you have two things to do in order to translate your site:

one through the localization menu ---go to translation then the first thing is modify translations. you will find the flags of the installed languages; you click on the flag of the language you want to modify (in ur case it is portegese) then there you will find a varity of  expressions to modify.

the other one is translating the modules. go to modules -- in the list of modules when you find a module with the option configure , click there and then you will find the options manage translations. this will give you all the modules and their possible translation. all you need to do is fill in the empty ones and change the existing ones with what you like.

Edited by walidon (see edit history)
Link to comment
Share on other sites

Ok so i found something that i want to change what i did was ... i search for the file like you said on the TPLs and i found it its this line

 

 

<h1>{l s='New products'}</h1>  Ok so i change it to Novos Produtos witch is the same but in portuguese... and dont work ...

So i went again on the website and went to find the element again and there was this code here

<a href="#new">New products</a>

Ok so now im lost becouse i didnt found this on the TPL files

Link to comment
Share on other sites

×
×
  • Create New...