Change text on "Read more" button + make text big

  • Wartou
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago - 10 years 4 months ago #1634 by Wartou
Hi,

Any idea how I can change this "read more" button into my language?







Also I would like the text : Toscana Santa Margherita
Santa Margherita I Chianti-distriktet ligger Santa Margherita. Nord for Siena og ikke langt fra Poggibonsi. Villaen består af fire lejligheder, de ...

To be bigger and perhaps more words from the article.

Also a picture would be nice, when I turn this on it shows the picture from the slide show on the article in the original size, which is too big...

Hope that some of you smart guys might have an answer...
Last edit: 10 years 4 months ago by Wartou. Reason: missing picture

Please Log in or Create an account to join the conversation.

  • Wartou
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago #1635 by Wartou
I have attached a picture, but can't see it myself...

The "read more" button appears when I have clicked search...

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #1636 by andrea_4g
Hi,
the string for the 'Read more' button can be found in Custom Properties language file:
components\com_customproperties\language\xx-XX\xx-XX.com_customproperties.ini

The proper way to have the strings translated into another language is the following
- create a new directory, named according to the new language, in components\com_customproperties\language\. E.g. it-IT for Italian, fr-FR French, etc ...
- copy and rename the original translation file. E.g.:
Code:
components\com_customproperties\language\en-GB\en-GB.com_customproperties.ini to components\com_customproperties\language\it-IT\it-IT.com_customproperties.ini
- edit the new file with a text editor
- translate the strings on the right side of the equal sign. E.g.:
Code:
original English string: COM_CUSTOMPROPERTIES_LBL_READ_MORE="Read more" translated italian string: COM_CUSTOMPROPERTIES_LBL_READ_MORE="Leggi tutto" - Save


Anyway, you can change the readmore text also with parameter 'Read more text' in Custom Properties configuration (Components > Custom Properties > Options > Results Formatting)

About the layout:
I think the right 'View' parameter setting for the layout you'd like to have is 'Title + Image + Plain Text'.
The length of the text is set by parameter 'Text length'.
The size of the image is controlled by parameters in Components > Custom Properties > Options > Thumbnails
The following user(s) said Thank You: Wartou

Please Log in or Create an account to join the conversation.

  • Wartou
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 4 months ago #1637 by Wartou
Thank you very much for taking your time on this. It was very helpful even though it seems easy for you.

I have now set the thumbnails "show image thumbnail" but nothing happens? I use an image show in the article and as you can see in my previous ticket, it usually show a big picture...

Any idea?

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #1641 by andrea_4g
Please make sure that there's an image inside the article. As far as I can see, the articles do have a slide show but they do not have a single image to be used by Custom Properties to create the thumbnail.

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds