st4rl3t Posted August 14, 2008 Share Posted August 14, 2008 Hi, i have a question. I am a newbie, i have installed presta for my shop, but then when I want to edit the contents in links provided in the homepage, such as contact us, legals, conditions, about us. I don't know how to edit those pages, and if I want to add or change the links, where do I go? As far as I am seeing the contents of presto theme folder, there are lang files, and tpl files, but I dont know how to edit those files, Please help. Because I have looked around the back panel, in the 'module' tabs, but I did not see anywhere I can edit those sections.thanks alot! Link to comment Share on other sites More sharing options...
ejectcore Posted August 14, 2008 Share Posted August 14, 2008 You will find you can edit these here modules/blockvariouslinks/blockvariouslinks.tpl Link to comment Share on other sites More sharing options...
st4rl3t Posted August 14, 2008 Author Share Posted August 14, 2008 You will find you can edit these here modules/blockvariouslinks/blockvariouslinks.tpl Hi, I have looked in this file, its like this:<!-- MODULE Block various links --> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ <!-- /MODULE Block various links -->Then what should I do? Can I just paste what i want to write by editing those php files? And If I want to create new links for example, Can I just duplicate one of those php files and fill it with different content?Thanks!! Link to comment Share on other sites More sharing options...
ejectcore Posted August 14, 2008 Share Posted August 14, 2008 Using the default Pretashop links for example > <!-- MODULE Block various links --> </pre> <ul> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ </ul> <br><!-- /MODULE Block various links --> you can then add or remove links but make sure you have lastThis & other modules would of course be better controlled in the admin which I may look at doing this modification in a future release > <!-- MODULE Block various links --> </pre> <ul> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Page 1' mod='blockvariouslinks'} {l s='Page 2' mod='blockvariouslinks'} {l s='Page 1' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ </ul> <br><!-- /MODULE Block various links --> Link to comment Share on other sites More sharing options...
st4rl3t Posted August 14, 2008 Author Share Posted August 14, 2008 You will find you can edit these here modules/blockvariouslinks/blockvariouslinks.tpl Hi, I have looked in this file, its like this:<!-- MODULE Block various links --> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ <!-- /MODULE Block various links -->Then what should I do? Can I just paste what i want to write by editing those php files? And If I want to create new links for example, Can I just duplicate one of those php files and fill it with different content?Thanks!! One more question.. If i edit one file, like the one above, what are other files should I edit/add in order to make it works? Do I need certain editor instead of dreamweaver to edit it?Many thanks! Link to comment Share on other sites More sharing options...
st4rl3t Posted August 14, 2008 Author Share Posted August 14, 2008 Using the default Pretashop links for example> <!-- MODULE Block various links --> </pre> <ul> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Contact us' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ </ul> <br><!-- /MODULE Block various links --> you can then add or remove links but make sure you have lastThis & other modules would of course be better controlled in the admin which I may look at doing this modification in a future release > <!-- MODULE Block various links --> </pre> <ul> {l s='Specials' mod='blockvariouslinks'} {l s='New products' mod='blockvariouslinks'} {l s='Top sellers' mod='blockvariouslinks'} {l s='Legal' mod='blockvariouslinks'} {l s='Conditions' mod='blockvariouslinks'} {l s='Page 1' mod='blockvariouslinks'} {l s='Page 2' mod='blockvariouslinks'} {l s='Page 1' mod='blockvariouslinks'} {l s='Powered by' mod='blockvariouslinks'} PrestaShop™ </ul> <br><!-- /MODULE Block various links --> Thank you so much for your guidance, I am trying out now =) I do have another question, can you reduce the font size of currencies? When I change USD to IDR (indonesian rupiah) it change into bigger fred fonts and go outside the box area. How do I change that? Thanks Link to comment Share on other sites More sharing options...
jtyana Posted August 14, 2008 Share Posted August 14, 2008 I do have another question, can you reduce the font size of currencies? When I change USD to IDR (indonesian rupiah) it change into bigger fred fonts and go outside the box area. How do I change that? Thanks Search the forum for "currency font"http://www.prestashop.com/forums/viewthread/4075/General_discussion/How_to_reduce_font_size_of_price_ Link to comment Share on other sites More sharing options...
st4rl3t Posted August 14, 2008 Author Share Posted August 14, 2008 Thank you so much for all your help! =) Link to comment Share on other sites More sharing options...
Recommended Posts