I have been asked a few times how to add a 'Tell a friend page.. here goes
Step1. Download and unzip the file 'tellafriend' edit 'tellafriend.php' - add your email address and domain name close and save. upload the folder and it's contents to your host via ftp (no CHMOD required)
Step2. Go to your admin>Catalog>Information>Insert
Now create a new page called 'Tell a Friend'
In the Description box click 'source' and add this text
<iframe scrolling="no" height="378px" frameborder="no" align="right" width="520px" name="frame1" src="http://www.YOUR-DOMAIN.com/tellafriend"></iframe>
Here is a demo http://www.kelmar-group.co.uk/cart (look under the tab information >Tell a Freind)
P.s. I am not the author of this script, please use at your own risk
Hope this helps..
Priceyboy
Step1. Download and unzip the file 'tellafriend' edit 'tellafriend.php' - add your email address and domain name close and save. upload the folder and it's contents to your host via ftp (no CHMOD required)
Step2. Go to your admin>Catalog>Information>Insert
Now create a new page called 'Tell a Friend'
In the Description box click 'source' and add this text
<iframe scrolling="no" height="378px" frameborder="no" align="right" width="520px" name="frame1" src="http://www.YOUR-DOMAIN.com/tellafriend"></iframe>
Here is a demo http://www.kelmar-group.co.uk/cart (look under the tab information >Tell a Freind)
P.s. I am not the author of this script, please use at your own risk
Hope this helps..
Priceyboy
Attachments
Fromat: WinZip
Format: WinRar
Hi. This is cool. Does it work with OC v1.3.2 ?
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
hi there,
i have followed everything on the above and used this code:
but when you go to the page its blank.
http://macdealeruk.com/index.php?route= ... tion_id=10
mine is OC 1.3.2
any thoughts?
many thanks
i have followed everything on the above and used this code:
Code: Select all
<p><iframe name="frame1" align="right" src="http://www.macdealeruk.com/tellafriend.php" frameborder="no" width="520" scrolling="no" height="378"></iframe></p>
http://macdealeruk.com/index.php?route= ... tion_id=10
mine is OC 1.3.2
any thoughts?
many thanks
Where did you put the "tellafriend.php" script? By the looks of it, you should put the "tellafriend" folder into your top level directory, then call it with something like (in your case):
I haven't tested this, so I don't know if it will work or not. I only had a quick look at the code in the zip file.
Edit
The above code won't work, try this instead:
Code: Select all
<p><iframe name="frame1" align="right" src="http://www.macdealeruk.com/tellafriend/index.htm" frameborder="no" width="520" scrolling="no" height="378"></iframe></p>
Edit
The above code won't work, try this instead:
Code: Select all
<p><iframe name="frame1" align="right" src="/tellafriend/index.htm" frameborder="no" width="520" scrolling="no" height="378"></iframe></p>
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Hi,
i tried your code in the admin->catalog->information
the files are in the tellafriend folder top level
i get to see the tell a friend page when i click it but it is in full screen in stead of in the middle of my site
www.nep-tunes.org
any ideas? it would be very nice if i got this to work , thnanx!
i tried your code in the admin->catalog->information
the files are in the tellafriend folder top level
i get to see the tell a friend page when i click it but it is in full screen in stead of in the middle of my site
www.nep-tunes.org
any ideas? it would be very nice if i got this to work , thnanx!
Okay, looks like your nearly there..
Try the code below, and make sure when you add the code that you click 'source' in the FKEDITOR
<iframe scrolling="no" height="378px" frameborder="no" align="right" width="520px" name="frame1" src="http://www.www.nep-tunes.org/tellafriend"></iframe>
Regards
Priceyboy
Try the code below, and make sure when you add the code that you click 'source' in the FKEDITOR
<iframe scrolling="no" height="378px" frameborder="no" align="right" width="520px" name="frame1" src="http://www.www.nep-tunes.org/tellafriend"></iframe>
Regards
Priceyboy
thanx priceyboy for looking into it.
i think the problem was that i had my SEO keyword also 'tellafriend'. same name as my directory i copied the files in on the server. When i changed the SEO in something else, it worked.
nice tool ! works nice now!
_____________________________
www.nep-tunes.org
i think the problem was that i had my SEO keyword also 'tellafriend'. same name as my directory i copied the files in on the server. When i changed the SEO in something else, it worked.
nice tool ! works nice now!
_____________________________
www.nep-tunes.org
Thanks for this.
How hard would it be to enclose the link of the product you are on in the tell a friend message?
How hard would it be to enclose the link of the product you are on in the tell a friend message?
I wouldn't imagine that it would be too difficult, but i'm just logging off, i'll get onto it as soon as I log on tomorrow.
It also makes sense to me to have this as a link from the product rather than a link form the information box, so might also have an update for that too.
Steve...
It also makes sense to me to have this as a link from the product rather than a link form the information box, so might also have an update for that too.
Steve...
First a all, thanks a lot for this mod.
I've installed and it works awsom.
One question.
I have translated tellafriend.php in the English dir (catalog/language/english/information/) to Dutch and offcourse placed the php in the Dutch dir.
After this I've used the vqmod to create a shortcut in the footer.
It works ok but I have one cosmetic issue and I don't know where I should change.

Anyone can point me in the right direction, which .php to edit?
The Opencart version I use is 1.5.2.1
Thanks in advance!
Leo
Edit: attached my translation incase someone wants it.
I've installed and it works awsom.
One question.
I have translated tellafriend.php in the English dir (catalog/language/english/information/) to Dutch and offcourse placed the php in the Dutch dir.
After this I've used the vqmod to create a shortcut in the footer.
It works ok but I have one cosmetic issue and I don't know where I should change.

Anyone can point me in the right direction, which .php to edit?
The Opencart version I use is 1.5.2.1
Thanks in advance!
Leo

Edit: attached my translation incase someone wants it.
Hi again,
I answer my own question as I found the problem and maybe someone els is interested as well.
The problem I found in the vqmod xml, I needed to add a line and now everything is working.
Here it's:
<file name="catalog/language/dutch/common/footer.php">
<operation>
<search position="before"><![CDATA[$_['text_manufacturer'] = 'Merken';]]></search>
<add><![CDATA[
$_['text_tellafriend'] = 'Vertel een vriend';
]]></add>
</operation>
</file>
Grtz, Leo
I answer my own question as I found the problem and maybe someone els is interested as well.
The problem I found in the vqmod xml, I needed to add a line and now everything is working.
Here it's:
<file name="catalog/language/dutch/common/footer.php">
<operation>
<search position="before"><![CDATA[$_['text_manufacturer'] = 'Merken';]]></search>
<add><![CDATA[
$_['text_tellafriend'] = 'Vertel een vriend';
]]></add>
</operation>
</file>
Grtz, Leo

Who is online
Users browsing this forum: No registered users and 6 guests