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 do I create a read more link in acymailing?

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 do I create a read more link in acymailing?

More
8 years 3 weeks ago #24714 by Boatlocator
Hello again
I am trying to get acymailing working properly and cannot get it to display just a few lines of text with a read more link.
At the moment, when I select a tag in acy mailing thats an ads manager ad, it displays all the text in the newsletter which is not what i need.
I have searched their forum but all i can find is the simple setup instructions for the ads manager plugin which refer to "use read more link if you have one"
It seems I do not have one so I need to know from you is it possible to create one?
I have tried read more in JCE editor which does not work.
Any suggestions??
More
8 years 3 weeks ago #24724 by loic
Hello,

Are you trying to add a read more link for the ads of AdsManager ?
If I understand correctly it displays the full description of the ads ?

Best regards.
More
8 years 3 weeks ago #24725 by Boatlocator
Replied by Boatlocator on topic How do I create a read more link in acymailing?
Yes thats correct
It is displaying the full description and I would like to display just a short description with read more
Like this prntscr.com/esnswz
This is the display in the category page
More
8 years 3 weeks ago #24743 by loic
Hello,

You need to custom the acymailing plugin to do that - plugins/acymailing/adsmanager/adsmanager.php.

The description is added at the line 589.

Best regards.
More
8 years 3 weeks ago #24764 by Boatlocator
Replied by Boatlocator on topic How do I create a read more link in acymailing?
Thanks Loic
I can find that file and line but Unfortunately, I dont have the skill to write the custom code.
Can you tell me what the code I should remove and what I should replace it with?
More
8 years 3 weeks ago #24769 by loic
Hello,

you need to do like in the list view of adsManager.

replace
$result .= $ad->ad_text;

By
$ad_text = strip_tags(str_replace ('<br />'," ",$ad->ad_text));
                $af_text = JString::substr($ad_text , 0, 100);
                if (strlen($ad_text)>100) {
                    $af_text .= "[...]";
                }
$result .= $af_text ;

Change the 100 if you wish to change the number of characters.

Best regards.
Time to create page: 0.164 seconds
Powered by Kunena Forum