Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / multilanguage site

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

multilanguage site

More
11 years 2 months ago #13777 by tompap
Replied by tompap on topic multilanguage site
it's not needed to have exactly ad_text_ro you can make it work with ad_textro
it's just: $content;
The following user(s) said Thank You: adarr
More
11 years 2 months ago #13792 by raph17
Replied by raph17 on topic multilanguage site
I solved the field name and published on page the code you gave it here but no description appear.
The following user(s) said Thank You: adarr
More
11 years 2 months ago #13808 by tompap
Replied by tompap on topic multilanguage site
there must be some php bug. Double check your code. you can also use some code like var_dump($this->content) to see the content.
The following user(s) said Thank You: adarr
More
11 years 2 months ago #13848 by raph17
Replied by raph17 on topic multilanguage site

tompap wrote: Hello,



2) unpublish ad_text

3) Then everywhere we are displaying ad_text
You need code like this

<?php
$lang = JFactory::getLanguage();
$tag = $lang->getTag();
$tag = substr($tag,0,strpos($tag,'-'));
 
$content->ad_text = $content['ad_text_'.$tag];
?>


Need to change this ad_text on all files of adsmanager ?
The following user(s) said Thank You: adarr
More
11 years 2 months ago #13870 by tompap
Replied by tompap on topic multilanguage site
yes
or you can do this code in all functions of content.php model

getLastContents getContents getContent
so all modules,all component views will just this ad_text value
The following user(s) said Thank You: adarr
Time to create page: 0.074 seconds
Powered by Kunena Forum