News:

Support the VirtueMart project and become a member

Main Menu

Edit payment layout virtuemart

Started by fabioweb, October 17, 2016, 11:40:50 AM

Previous topic - Next topic

fabioweb

Hello i get some problem to render correctly this page: http://seratadigala.tioitalia.it/it/?option=com_virtuemart&view=cart&task=editpayment
the problem is that i have main content here
<div id="main">Main Content</div>
and payment selection is rendered out..
<div id="tabs"></div>

How can i place it inside div main?

regards

Ghost


GJC Web Design

missing closing div somewhere perhaps?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

fabioweb

i'm looking..
Layout is rendered through <jdoc:include type="component" /> right?

If yes it's inside div main


Ghost

First remove the div tags before body tag. Then check for more errors https://validator.w3.org/nu/.

fabioweb

Okay,
Fatal Error: Cannot recover after last error. Any further errors will be ignored...


Ghost

That is because you have a div tag before body tag.

</head>
<div style="clear:both;"></div>
<body class="com_virtuemart view-cart no-layout task-editpayment">
<!-- Body -->

Remove it and then you can at least see other errors.

fabioweb

Checking...
Otherwise can i set a redirect 301?
So this page will never be displayed in case of error. It has a different format, no product summary and should be confusing..

What do you think?

Thank you :)


GJC Web Design

if u only have one payment and set auto select and opc u never see this anyway
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation