Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    14
    Plugin Contributions
    0

    Default Fix newsletter sidebox link?

    Is it possible to fix the Newsletter link in the information box, so that when they're subscribed, it says unsubscribe and vice versa?

    Better yet, is there a way to have the link say "Newsletter" and when you click it, it will as to unsubscribe only if you're already subscribed, and ask if you want to subscribe if you're not already subscribed?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Fix newsletter sidebox link?

    This is one of those 'yes, but you'll have to code it that way yourself' questions. Zencart won't do that by default.

    My guess is that it wouldn't be that difficult, so someone may be along to describe how.

  3. #3
    Join Date
    Aug 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Fix newsletter sidebox link?

    Is there a way to remove the link from the sidebox, but leave it in the my account page, because when i turned it off, it removed the my account link too. I think that might be the simplest solution

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Fix newsletter sidebox link?

    You can use your templates and overrides and comment out the code for:
    Code:
      if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
        $information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';
      }
    and change it to:
    Code:
      if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
    //    $information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';
      }
    NOTE: I would go for the better idea of taking them to a subscribe/unsubscribe ... the more the merrier ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Newsletter Sidebox & Newsletter signup
    By meljen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Nov 2012, 09:44 PM
  2. fix for content drifting to right in newsletter
    By kjharrison in forum General Questions
    Replies: 0
    Last Post: 9 Apr 2009, 10:56 AM
  3. Newsletter link in sidebox?
    By MagicMan in forum General Questions
    Replies: 2
    Last Post: 17 Feb 2009, 01:45 PM
  4. Replies: 2
    Last Post: 2 Nov 2007, 09:32 PM
  5. Replies: 1
    Last Post: 22 Feb 2007, 09:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg