Jump to content

Support for Theme - PRS020046. Some questions.


Recommended Posts

Hi!

I have some questions about the site http://www.libreria-capestrano.it.

 

I use this tamplate for a Library-Store

1) How can I add a field Title, a Publisher, a Author, a Year of Publication, etc... for each book (in auto, not manually)?

2) How can I have the field search by Title, Author, Publisher, etc...?

3) how can I change the name of these sections? (look how_change_name.jpg)

 

Thanks!

post-518631-0-72534700-1367255551_thumb.jpg

Link to comment
Share on other sites

Q3:

Go to localization->Translations

Choose Installed Modules Translations, select your Theme (standard 'default') and choose the language (Italian?) flag you want to translate to (If you just want other English words, click the USA flag).

 

For 'CATEGORIES':

Find the text:

module: blockcategories

There you find two blocks:blockcategories_footer and blockcategories.

In both is a text field 'Categories'. Add the wanted translation next to this field

 

The Information block is for some reason differently set up than the categories name. So we cannot directly translate this one. So we change the code a little, so that we can give our own name.

 

Open the file:

/themes/default/modules/blockcms/blockcms.tpl

 

find and change the following line: (add all red code)

<!-- Block CMS module -->

{foreach from=$cms_titles key=cms_key item=cms_title}

<div id="informations_block_left_{$cms_key}" class="block informations_block_left">

{* <-- add to comment out the old line

<p class="title_block"><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></p>

*}

<p class="title_block"><a href="{$cms_title.category_link}">{l s='<add here the text you want in the menu header>' mod='blockcms'}</a></p>

<ul class="block_content">

 

In the last red line, just change the text to any text you want in the header.

 

Hope this helps with Q3...

pascal

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...