Shape 5

Joomla Free Extensions => Tell A Friend - Free => : aaaa June 21, 2007, 07:20:52 PM



: Does it work in Virtuemart pages?
: aaaa June 21, 2007, 07:20:52 PM
Couldn't try it now, as there was a message saying that this module is beeing updated right now.  (Virtuemart is the recommended shoppingcart for Joomla, in case anyone wonders)


: Re: Does it work in Virtuemart pages?
: jonahh June 21, 2007, 07:29:27 PM
The module is currently being updated, there were some problems with IE.  Virtuemart was actually the main reason for creating Tell A Friend.  We have a few more releases geared toward Virtuemart coming up in the near future.

Regards,


: Re: Does it work in Virtuemart pages?
: aaaa June 21, 2007, 07:33:07 PM
That's great news   ;D   Will download & try as soon as you are finished with the update of this module.

I'd love to have some more sales reports from Virtuemart.  It would also be great to be able to mark some orders, and then be able to press a button to print address labels.   That's just a few tips for you, in case you don't mind some proposals for future releases  ::)

Keep up the good work  :)     


: Re: Does it work in Virtuemart pages?
: theone July 19, 2007, 05:19:34 PM
Is there a way to create a link to launch the email page within the actual Flypage? It would lay out better than as a module and would be great to have the link under the Add to Cart button. I'm going to go play and see if I can figure out a way to do it unless you have a method for doing this right now.

And since you guys are working on Virtuemart enhancements have yo thought about a gift registry? I know there is a big desire for it.


: Re: Does it work in Virtuemart pages?
: jonahh July 19, 2007, 07:11:39 PM
Hello Theone,

Yes there is a way.  If you check out the demo the default color scheme on load now has this added to the flypage. 
Below is what I added to the flypage, just replace our site URL with yours:



<tr>
     <td>{product_availability}
</td>
     <td colspan="2">
{addtocart}

    
       <input type="button" class="button" value="Recommend" onclick="window.open('http://www.shape5.com/demo/your_store/modules/tellafriend.htm','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=570,left=50,top=50,titlebar=yes')"/>

<script type="text/javascript">
var parent = window.location;
</script>
    
     </td>
   
</tr>


If anyone else would like to do this, you must first install the "Tell A Friend" module then add this code to the Virtuemart flyout page located in:

root of joomla install/administrator/components/com_virtuemart/html/templates/product_details

Regards,



: Re: Does it work in Virtuemart pages?
: malik_hemani July 19, 2007, 08:48:16 PM
Hello Everyone, we are using this in Virtue Mart. So far this is the only tell a friend that we like since it pops up and looks very attractive. You can take a look at one of the product where it is listed. Take a look toward the bottom, there is a icon/button that youc an press to make it work.

http://designertimepiece.com/store/index.php?page=shop.product_details&flypage=shop.garden_flypage&product_id=17&category_id=&manufacturer_id=&option=com_virtuemart&Itemid=42

However, when the email goes, the link is replaced with [Object] in both IE and FF. Please let us know as your earlier when this has been fixed. We are planning on launching this site very soon and would love to have this!

Also one thing I would highly recommend is this: In the email, instead of having the entire URL, have a some word such as 'please click here to follow to the page/product' because VirtueMart URL can be long...take a look at the one i just posted. This will look a lot cleaner in the email. I will continue to google alternate methods to make this work. If I get something, I will let you guys know.

Thanks
Malik Hemani
GraphicStylus.net
Web Solutions For Small Businesses


: Re: Does it work in Virtuemart pages?
: jonahh July 19, 2007, 09:40:56 PM
Malik,

That is quite strange, I received the same error when I tested your site.  It does work, give it a try in our demo.  I would try downloading and reinstalling the entire module again if this doesn't help set the directory and file permissions to 777 to determine if permissions may be the problem.

I have attached a file that will send the "click here" text instead of the entire URL in an email.   If you would like to use this just copy the attached file into your modules folder.

Regards,


: Re: Does it work in Virtuemart pages?
: malik_hemani July 19, 2007, 09:54:42 PM
Hello Jonahh,

First of all I am impressed by the quick response and customer service.

Ok if i make all 5 files to 777 when you hit send/submit it will go to a page and say page cannot be found. Once i put it back to 644 and used the new tellafriend.php you sent, i get this error:

Parse error: syntax error, unexpected T_VARIABLE in /home/designf5/public_html/store/modules/tellafriend.php on line 45

Please let me know. Aslo, I was reading some other post and there was a mention about creating a new way to get the referring URL to put in the email. Did you guys figure it out yet!

Take Care


: Re: Does it work in Virtuemart pages?
: mikek July 20, 2007, 07:42:43 AM
malik,hemani,

Yes, the newest version in the download section uses a newer method for pulling the url and it has been tested extensively cross browser.

It sounds like one of the files may not have been fully uploaded or some how got corrupted. Can you please remove the 5 files from your server and then reinstall with the newest version in our download section. Please follow this tutorial to ensure a correction installation. I am not assuming that you didn't before but just want to make sure you have a fresh, clean install and then let's see if the error still shows.

http://www.shape5.com/component/option,com_smf/Itemid,75/topic,38.0


: Re: Does it work in Virtuemart pages?
: malik_hemani July 25, 2007, 02:23:12 PM
Hello Mikek,

sorry for the late reply. I have been extremely busy with personal stuff.

I did the following step and now when i hit submit/send i get 'Restricted access'

- uninstalled the previous version of tell a friend through the installer in joomla admin section
- changed the settings of chmod to 0644
- installed it via installer in admin
- changed settings back to 0644
- published the module

please let me know what the next step is...i think it got worse than last time. I really love this module!!!!!!!!


: Re: Does it work in Virtuemart pages?
: mikek July 25, 2007, 10:19:47 PM
Malik,

When you reinstalled did you download the module from our site again?  We updated yesterday with some added spam protection but realized today that  the module was causing the "restricted access" problem.

We apologize for this inconvenience.  If you did just redownload the module yesterday please delete this install and redownload again, as the current version up in the download section does not give the "restricted access problem".

Regards


: Re: Does it work in Virtuemart pages?
: malik_hemani July 26, 2007, 10:43:20 AM
Hey Mikek,

i installed the new one with the installation guide by changing to 0644 and we got it working but back to same error

Hello,

Testing 123

Click below to view the webpage that your friend has recommended:
[object]

Malik Hemani has used the Shape5.com Tell-a-Friend form to send you this link.

We look forward to your visit!

------

we dont get a link, just [object]...i am testing in IE 6 right now as work as IE 6. when i get home i will do 7 and FF and let you know. If it works in 7 and FF we dont care about IE 6. but just a heads up!

thanks


: Re: Does it work in Virtuemart pages?
: malik_hemani July 26, 2007, 10:48:08 AM
this just hit me but maybe this could be problem:

i am not using the module placement it comes with. I have the module published but now showing on the catalog pages....instead i have a button i created in the details page and linked to this

http://www.designertimepiece.com/store/modules/tellafriend.htm

the pop up opens but maybe the url from the previous page is not getting past in??? if it isnt, what are some alternate solutions?

thanks guys...the reason i am trying hard to get it working is for the following
 1 - one of the best, and i can say THE best piece of addition to joomla
 2 - the only one i LOVE that does it exactly i was looking for
 3 - simple to use and does it instantly without putting too much load on the server
 4 - flexibility to add a link/button from any page

thanks guys and keep the hard and good work


: Re: Does it work in Virtuemart pages?
: mikek July 26, 2007, 11:56:52 AM
Yes, that is most likely the problem. If you refer back to this post:

<tr>
     <td>{product_availability}
</td>
     <td colspan="2">
{addtocart}

   
       <input type="button" class="button" value="Recommend" onclick="window.open('http://www.shape5.com/demo/your_store/modules/tellafriend.htm','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=570,left=50,top=50,titlebar=yes')"/>

<script type="text/javascript">
var parent = window.location;
</script>
   
     </td>
   
</tr>




This script here:

<script type="text/javascript">
var parent = window.location;
</script>


is what actually stores the url of the page. The popup window has script that calls var parent and passes it into the email system.

By just creating a link to the html page that bypasses this script that stores the url and that's why it's not getting passed.

Ths module was really designed to be used with a button not a hyperlink off  of a picture. I would recommend using the original script mentioned above with a button and that will fix the problem.

Let us know if you have anymore questions.


: Re: Does it work in Virtuemart pages?
: malik_hemani July 26, 2007, 12:53:40 PM
hey mikek,

sorry to bother you again...ok it was my fault for overlooking the posts that was there. I removed the link i had created and inserted exactly what you gave me but now i just get a blank on the url place in the email...the one you gave me is located here:

http://designertimepiece.com/store/index.php?page=shop.product_details&flypage=shop.garden_flypage&product_id=17&category_id=1&manufacturer_id=0&option=com_virtuemart&Itemid=42

thanks so much for helping out and for the quick response!


: Re: Does it work in Virtuemart pages?
: malik_hemani July 26, 2007, 06:10:08 PM
hey mikek,

i got it working. the solution was this

in joomla configuration.php the address to the live site was http://designertimepiece.com/store

you have to add the www so http://www.designertimepiece.com/store

this works so good...now just have to edit the email so instead of putting the url they would click on 'Click Here' which is already on this forum!

thanks guys


: Re: Does it work in Virtuemart pages?
: mikek July 26, 2007, 06:22:09 PM
That's great news! I never would have thought to look at the config file, but that does make sense.

Just a thought about the link. You can change like we posted but FYI sometimes email applications strip links in emails and submit only plain text for security measures. If you add the click here option the link would no longer be a link and it would only show click here as text. If the url was there, the link wouldn't work but at least they have the url.

It doesn't happen often at all, but just something to think about.

Regards,


: Re: Does it work in Virtuemart pages?
: malik_hemani July 26, 2007, 06:29:44 PM
hey perfect since you are on

i did that click here but i got this in my email

Click Here (http://www.designertimepiece.com/store/index.php?)

know why?

it doesnt have the entire url first and i agree with you. if the email is set to only recieve text not html it will either come as click here or like above with the url in it....but since VM has such long email it looks dirty...i will ask my client!