Print

Joom!Fish Content Element for RWCards

With this content element you can translate:

* the title of a category
* the description of a category
* the image of a card *)
* the description of a card


*)if you have an image with text on it, you can upload a "translated" image and a translated thumbnail via the Joomla Media Manager or via FTP to /images/stories/cards (look to it that your thumbnail are named like " This e-mail address is being protected from spambots. You need JavaScript enabled to view it ")
If you want to use your original image and only want to translate the description, just insert the filename of the original image as translation.


!IMPORTANT!
If you want to use this content element entirely you must change a little bit in one PHP file of the RWCards component. If you dont do this, the translations of the categories aren't shown.

Here is a little workaround:

1. Open /components/com_rwcards/models/rwcards.php
2. go to line 48
3. after

$query = "SELECT #__rwcards.*,

you have to insert

#__rwcards_category.id,

4. now the whole line should look like

$query = "SELECT #__rwcards.*, #__rwcards_category.id, #__rwcards_category.category_kategorien_name, #__rwcards_category.category_description FROM #__rwcards left join #__rwcards_category on #__rwcards_category.id = '" . $val->id . "' where (#__rwcards.category_id = '" . $val->id ."' and #__rwcards.published = '1') order by #__rwcards.ordering";

5. save the edited file
6. now the translations should work

Copyright by : Joomla Travel extensions

Written by :
Joomla Travel 2.0