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 Info

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 Info

More
11 years 2 months ago #13774 by tompap
Replied by tompap on topic Multilanguage Info
Right now there is no solution for that
If you change the router you need to modify the two function the builder and the parser otherwise in the details url parsing you will not find the correct URL
More
11 years 2 months ago #13791 by raph17
Replied by raph17 on topic Multilanguage Info
But now i have twice category name in url

site/category-name(from menu)/category-name(from adsmanager)/ad-details
More
11 years 2 months ago #13807 by tompap
Replied by tompap on topic Multilanguage Info
You need to change the router.php code to remove the category from the URL it's not so simple code.
As this is custom code, there is no option for that you need to do the change in PHP
More
11 years 2 months ago #13818 by raph17
Replied by raph17 on topic Multilanguage Info
So the categories url can be translated or not?

Romanian - Skijet
English - Watercraft
French - Motomarine

On frontend are translated but the url string is not and is something like this /adsmanager_categoryname
More
11 years 2 months ago #13820 by raph17
Replied by raph17 on topic Multilanguage Info

tompap wrote: Oh check in router.php, when we add the category name;
Check if we do a $cat->name or JText::_($cat-name);

We should have JText (I am not in front of a developpment desktop I cannot check it right now)


There is not such a cat-name in router.php
More
11 years 2 months ago #13824 by tompap
Replied by tompap on topic Multilanguage Info
in router.php add the JText like this

[code]
function getAdsmanagerRouteCategory($id)
{
$db =JFactory::getDBO();
$sql = "SELECT name FROM #__adsmanager_categories WHERE id = ".(int)$id;
$db->setQuery($sql);
$result = $db->loadResult();
$result= TTools::stringURLSafe($result);
$result = JText::_(JString::substr($result,0,30));
return $result;
}
[code]
The following user(s) said Thank You: raph17
Time to create page: 0.064 seconds
Powered by Kunena Forum