test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • questbg Friend
    #132112

    Hi Everyone

    I’m using a combination of Teline II, Joomla 1.5.3 and JoomFish 2.0 beta.

    I need to know how to translate a banner in JoomFish.

    I’ve got a banner in English and Russian. Each needs to point at different URL’s (obviously!).

    Both graphics have been uploaded into the ‘banners’ directory.

    The English language banner is working fine.

    Now I need to make it so that when the site is in Russian, the Russian banner shows.

    In JoomFish I go to Translate and select content as “Banners” .

    Here I can change the banner title, and the URL:

    However, nowhere am I able to select a new graphic for the banner?

    Does anyone know how to do this? Has anyone actually done this?

    Any assistance would be greatly received.

    Thanks
    Chris

    questbg Friend
    #265430

    Update:

    The advice I was given on the JoomFish forum was this:

    Open:
    administrator/components/com_joomfish/contentelements/banner.xml

    and edit:

    Code: Select all
    <field type="titletext" name="name" translate="1">Banner Name</field>
    <field type="text" name="clickurl" translate="1">Click URL</field>

    to become:

    Code: Select all
    <field type="titletext" name="name" translate="1">Banner Name</field>
    <field type="text" name="imageurl" translate="1">Image URL</field>
    <field type="text" name="clickurl" translate="1">Click URL</field>

    Then open the banners in translation mode and just correct the url of the image used.

    However, my problem is, I tried this today, but I don’t have any “administrator/components/com_joomfish/contentelements/banner.xml”

    I only have this:

    Does anybody know where to find this code please? :((

    Many thanks
    Chris

    Menalto Friend
    #265441

    For me it seems that you are looking in components/com_joomfish and not administrator/components/com_joomfish?

    questbg Friend
    #265442

    Thanks Menalto … got it. Now to see if the code works!! 😉

    questbg Friend
    #265444

    Indeed it works. Thanks again Menalto. Please mark ‘solved’!

    questbg Friend
    #265446

    Ooops. Spoke too soon! It changed the actual ‘graphic’ OK. English language = English banner. Russian language = Russian banner.

    However, even though I typed in a new URL in JoomFish Translate, this is being ignored and the Russian banner still points to the original English URL?

    Any ideas on that one!

    Thanks
    Chris

    questbg Friend
    #265447

    Found the problem, but I don’t have any ideas how to fix it!

    It seems that the URL field has a limit of 60 characters. The URL supplied by my Russian client has more characters?

    Is there any code I can hack around to increase maximum characters in the translated URL field?

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  questbg 16 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum