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 / i want to display the Ad-Number {id} in a ad

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.

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

i want to display the Ad-Number {id} in a ad

More
8 years 7 months ago - 8 years 7 months ago #21818 by joesto
Hello from Germany,

i want do display the Ad-Number {id} in a ad, is that possible ?
in an email it goes with {id}

what file I need to override ?

i have the free version of admanager


thank you
Last edit: 8 years 7 months ago by joesto.
More
8 years 7 months ago #21824 by juloaadmin
Replied by juloaadmin on topic i want to display the Ad-Number {id} in a ad
you will need to do change in administratior/components/com_adsmanager/model/contents.php

there is a prepareMail function
More
8 years 7 months ago #21836 by joesto
i dont understand :(

i want the id in a Ad
More
8 years 7 months ago #21853 by juloaadmin
Replied by juloaadmin on topic i want to display the Ad-Number {id} in a ad
Yes the code is already there

$subject = str_replace("{id}",$content->id,$subject);
$body = str_replace("{id}",$content->id,$body);

working in the subject and body of the email
More
8 years 7 months ago #21941 by joesto
ok, thanks,
but i want the Number in the Ad

see attached file
Attachments:
More
8 years 7 months ago #21953 by juloaadmin
Replied by juloaadmin on topic i want to display the Ad-Number {id} in a ad
Yes it's {id}
this tag will dispaly the ad id
you should add the # manually
Moderators: perry
Time to create page: 0.139 seconds
Powered by Kunena Forum