Jump to content

Where can I edit/add links in my homepage?


Recommended Posts

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

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 -->

<!-- /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

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 --&gt



you can then add or remove links but make sure you have

last
This & 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 --&gt

Link to comment
Share on other sites

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 -->

<!-- /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

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 --&gt



you can then add or remove links but make sure you have

last
This & 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 --&gt



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

×
×
  • Create New...