That code worked. Cheers to you for that!
Now I just have to work on removing the template around the loaded page.
I am having a bit of trouble of where the connection in these files and modifications to calling the overall template to load, and be able to modify that for this particular page load.
[UPDATE]
I have figured a way to do it.
You can have an if statement in home.tpl to load if $main ne showstf
else load home_main.tpl, which will then load only the tell a friend tpl.
is this the best solution in your opinion?
Also with this method it takes a way the ability to dynamically control the title of the window and meta info etc. (copies product page data). Any idea on how to setup this page with logical control of these items from xcart for my new window. I have not yet worked with the static page creation of x-cart, is it possible to create a static page in xcart admin with meta and title control, and then somehow load the mod into this static page?
One other problem I am having is that when i close out the pop up window, the main window on the next page click will show the notification box that states my recommendation has been sent, which of course is not good. Do you have an idea on how to correct this issue?
Thanks and regards.