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 / How to delete category and ID number from url

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.

How to delete category and ID number from url

More
11 years 5 months ago #11760 by tillhunter
Hello
Now my ads link looks like that

carzilla.az/ru/ads/all-ads/1-cat1/15-mercedes-benz

But want to make it like that

carzilla.az/ru/ads/all-ads/mercedes-benz

How can i do that?
More
11 years 5 months ago #11784 by loic
Hello,

In the file 'components/com_adsmanager/router.php' line 76 and 77, you can replace this lines:
$segments[] = $query["catid"]."-".getAdsmanagerRouteCategory($query["catid"]);
$segments[] = $query["id"]."-".getAdsmanagerRouteContent($query["id"]);

By this ones:
$segments[] = getAdsmanagerRouteCategory($query["catid"]);
$segments[] = getAdsmanagerRouteContent($query["id"]);

Best regards.
More
11 years 5 months ago #11803 by tillhunter
Replied by tillhunter on topic How to delete category and ID number from url
Hİ.
İ replace them but now cant enter ads page it give me

carzilla.az/ru/ads/all-ads?status=error

More
11 years 5 months ago #11822 by loic
Hello,

Ok, I need to make a few test for that.

I come back to you quickly.

Best regards.
More
11 years 5 months ago #11851 by loic
Hello,

The id is mandatory for the ad in the details page.

So you need to let the line with the title of the ad as it was:
$segments[] = $query["id"]."-".getAdsmanagerRouteContent($query["id"]);

However, you can remove the id for the category.

Best regards.
More
11 years 5 months ago #11852 by tillhunter
Replied by tillhunter on topic How to delete category and ID number from url
Thank you for answer but it only remove ID of category. IS it possible remove category name also?
Time to create page: 0.080 seconds
Powered by Kunena Forum