mail-html-reguser.php and link to activate registration

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Jun 24, 2013 1:21 pm
Reply with quote
Report this post
The link in the file: mail-html-reguser.php
Here user activate the registration with a link But the result gives the default template and not storeBox
I tried to change this in line 53
StoreBox is not my default template in the website
<?php
if (!empty($this->activationLink)) {
$activationLink = '<a class="default" href="' . JURI::root() . $this->activationLink . '">' . JText::_('COM_VIRTUEMART_LINK_ACTIVATE_ACCOUNT') . '</a>';
echo $li;
echo $activationLink . $li;
}
?>
But do not know what to fill in where.
Can someone please help me???

Warm regards webmiep
User avatar
Senior Boarder

teitbite
Mon Jun 24, 2013 6:27 pm
Reply with quote
Report this post
Hi

I cannot locate this part in my copy of this template, so I'm going to use what You've posted. Looks like You need to point which template should be used. please make it like this:

Code: Select all
Hi

Please add this to override.css file, remember to allow using of this file in template settings:

[code]
<?php
if (!empty($this->activationLink)) {
$activationLink = '<a class="default" href="' . JURI::root() . $this->activationLink . '"&tmpl=gk_storebox">' . JText::_('COM_VIRTUEMART_LINK_ACTIVATE_ACCOUNT') . '</a>';
echo $li;
echo $activationLink . $li;
}
?>
User avatar
Moderator


cron