Editing Affiliate Banner Page

  • Posts: 73
  • Thank you received: 0
13 years 9 months ago #8954

I am talking with a green affiliate program promoter and they didn't know you have to register and log in to view affiliate program details. So, I need to make it more obvious. Where do I add some text like "Affiliates earn extra money. You must be registered and logged in to view our affiliate details. bla bla bla" to the Affiliate page?

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
13 years 9 months ago #8955

You can go in the menu Display->views and edit the file show of the view affiliate.
There, you can add your message:

if(empty($this->user->user_id)){
 $app =& JFactory::getApplication();
 $app->enqueueMessage('You must be registered and logged in to view our affiliate details.');
}

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 0
13 years 9 months ago #8960

Thank you nicolas! Worked great.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum