Editing Affiliate Banner Page
15 years 7 months ago #8954
by bthayer
Editing Affiliate Banner Page was created by bthayer
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.
15 years 7 months ago #8955
by nicolas
Replied by nicolas on topic Re: Editing Affiliate Banner Page
You can go in the menu Display->views and edit the file show of the view affiliate.
There, you can add your message:
There, you can add your message:
Code:
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.
15 years 7 months ago #8960
by bthayer
Replied by bthayer on topic Re: Editing Affiliate Banner Page
Thank you nicolas! Worked great.
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds