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 / Public Forum / Main Forum / 301 redirect on the list and ads

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.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

× OLD Forum post could be checked here : forum.joomprod.com

301 redirect on the list and ads

7 years 6 months ago - 7 years 6 months ago #12225 by Max1985
Hello!
I try to do so.
In the file:
components/com_adsmanager/views/details/view.html.php
After the lines:
$content = $contentmodel->getContent($contentid,false);
added by:
$app->redirect(TRoute::_('index.php?option=com_adsmanager&view=details&id='.$content->id.'&catid='.$catid.''.$itemid, 1));
Redirect works like, but it causes an error: The page isn't redirecting properly
What's wrong?
7 years 6 months ago #12232 by loic
Hello,

could you display on a var_dump the string
index.php?option=com_adsmanager&view=details&id='.$content->id.'&catid='.$catid.''.$itemid

I would like to know if the link is correct.

Best regards.
7 years 6 months ago #12236 by Max1985
string(62) "index.php?option=com_adsmanager&view=details&id=15638&catid=60" 
7 years 6 months ago #12245 by loic
Hello,

The link is correct, the only weird thing is that the Itemid is empty, but that is not the cause of the error.

Have you tried to disable the SEF of Joomla to see if it works ?

Best regards.
7 years 6 months ago #12250 by Max1985
Hello!
I Tried. The result is the same.
7 years 6 months ago #12271 by tompap
And what is the content of :
TRoute::_('index.php?option=com_adsmanager&view=details&id='.$content->id.'&catid='.$catid.''.$itemid, 1)
Moderators: perry
Time to create page: 0.451 seconds
Powered by Kunena Forum