buy viagra
Home » Joomla!

Format the footer [subscribe] link in AcaJoom newsletters

18 December 2008 2 Comments

Problem

I’m using AcaJoom Plus as a newsletter component for Joomla, on behalf of a client. While testing the component I found that once the “Change your subscription” and “Unsubscribe” links were appended, it messed up my template and styling. The text is surrounded SPAN with a class called ‘subscriptionlink_nws’ applied to it, but there is only so much you can do with styles in the newsletter itself.

Solution

The ”Change your subscription” and “Unsubscribe” links can be found in the file ‘class.jmail.php’ which sits in: [site root]/administrator/components/com_acajoom/classes/.

Open this file and at around line 76 you should see:

$subscriptionstext = ‘<p>’. $subscriptionslink . ‘<br />’ . $unsubscribelink . ‘</p>’;

I found that simply removing the <p> tags made things instantly better, but you might want to add more custom html in there.

This works for the ‘News’, ‘Plus’ and presumably ‘Pro’ versions of AcaJoom.

2 Comments »

  • Joomla Bear said:

    Thx for that – I’m trying to work out if I can remove the unsubscribe option completely from my autoresponders only… doing my head in.

  • Joomla Bear said:

    Ok I worked this one out – There is an option in the autoresponder config – turn this off and manually edit the template so that subscription tag is not included.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.