[ SOLVED ] Virtuemart is on a template which is not the default of Joomla system

Started by webmiep, August 12, 2013, 20:52:54 PM

Previous topic - Next topic

webmiep

Hello,

I have Joomla 2.5.14 VM 2.0.22a PHP versie: 5.3.17-1byte1squeeze1

My installation comes with a website and an template and an vm webshop with a secondary template (beautiful!)
Can someone help me where to change the 'default' template code to the secondary template name for following pages:
1. Thank you page for the order
2. Forgot Password
3. Forgot username
4. Login in the webshop

thanks a lot.
warm regards
Webmiep



jenkinhill

Make menu items to the pages you want to show (using a url link if necessary) and the assign those menu items to the required template.

See the Joomla documentation.  http://docs.joomla.org/How_do_you_assign_a_template_to_a_specific_page%3F
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

webmiep

Hello,

Thank you for your answer.
Do you know whereto I have to link in case of the thank you page?
Is this in VM?

warm regards
Webmiep

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

That is the template/view file, but the Thank You page does not exist until someone completes their payment. So I don't see how you can directly link to it.

Maybe override the view so it is displayed in Fancybox? No idea how to do that, though.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

webmiep

I do want the thank you message in my template for the virtuemart shop and not in the default template of the joomla installation

Thanks for your help
Webmiep

webmiep

Hello,

I finally found the file I think there has to change the name of the default template to myTemplate.
It is (I think) in com_virtuemart/controllers/pluginresponse.php on line 72 en 78
I send the code from line 58 until 100 and please can someone tell me where to add my templatename instead of the default templatename.
I am desperate now with searching.

Webmiep


I saw in the folder cart/order_done This line:

echo JRoute::_('http://www.mijndomeinnaam.nl/winkelwagen');

Does this have the right php quotes etc??

Or does it has to be something like this:

echo $this->html .JRoute::_('"&tmpl=my_templatename"');

[attachment cleanup by admin]

Maxim Pishnyak

Quote from: webmiep on August 18, 2013, 18:01:57 PM
I do want the thank you message in my template for the virtuemart shop and not in the default template of the joomla installation
Post here address of your customized 'thank you' file in your template for the virtuemart shop.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

webmiep

Hello,

Thank you for all the attention and time.
I changed the whole system and made an Joomla installation special for my webshop and made the shop template the default.
Now all is working allright.

Thanks al lot.
Webmiep