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 / [RESOLVED] Bouton suivant / précédent

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.

[RESOLVED] Bouton suivant / précédent

More
7 years 8 months ago - 7 years 8 months ago #26469 by Minie
Bonjour,

mon client souhaite que dans le détail des annonces, figure un bouton suivant et précédent, j'ai donc commencé, je fais ma requete SQL dans le php du détail pour sélectionner l'id de l’annonce qui succède ou qui précède l'annonce affichée selon mon champ ad_agenda, mais quand je fais mon lien, je rencontre plusieurs problèmes, voici mon lien : /index.php?option=com_adsmanager&view=details&id=80

Problème 1 : L'annonce s'ouvre dans une page sans id, alors que normalement tous les détails d'annonce d'ouvrent dans l'itemID 149 qui correspond au lien de menu "Adsmanager » Content Details"

Problème 2 : L'url reste /index.php?option=com_adsmanager&view=details&id=80 et ne bénéficie pas des fonctions Seo de Joomla.

Pensez vous avoir une solution à ces deux soucis ?

Merci d'avance.
Last edit: 7 years 8 months ago by loic.
More
7 years 8 months ago #26483 by loic
Replied by loic on topic Bouton suivant / précédent
Bonjour,

Pour l'Itemid et le seo, la solution est la même, il faut que vous rajoutiez l'itemid à la main dans l'url, comme ceci:
index.php?option=com_adsmanager&view=details&id=80&Itemid=149

Veuillez noter que l'url d'une annonce doit aussi avoir en paramètre l'id de la catégorie, catid=xx.

cordialement.
More
7 years 8 months ago #26516 by Minie
Replied by Minie on topic Bouton suivant / précédent
Bonjour,

c'est nikel, en effet ca marche mieux sans le "/" avant le index.php dans mon code.

merci beaucoup ! :cheer:
More
7 years 8 months ago #26522 by loic
Replied by loic on topic Bouton suivant / précédent
Excellente nouvelle.

Je passe le ticket en résolu.

Cordialement.
Time to create page: 0.128 seconds
Powered by Kunena Forum