VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: minnemedia on April 11, 2025, 11:21:08 AM

Title: In Frontend Managing: Missing tmpl=component in Internal Links
Post by: minnemedia on April 11, 2025, 11:21:08 AM
VirtueMart 4.4.6 / Joomla 4.4.13 / PHP 8.3.14

When logged in with managing rights in the frontend, many internal links are missing the tmpl=component parameter. This causes VirtueMart managing views to be loaded within the default Joomla site template instead of a clean component view.
This leads to UI conflicts, unnecessary template elements (header, footer, sidebars), and JavaScript/CSS clashes.
Example:
http://vm.test/index.php/manage?view=product&task=edit&virtuemart_product_id=1
loads with the full Joomla template instead of the intended managing layout.

Please advise how to resolve these issues or let us know if a patch or fix is planned.
Best regards,
Martin
Title: Re: In Frontend Managing: Missing tmpl=component in Internal Links
Post by: Jumbo! on April 22, 2025, 18:17:22 PM
The frontend editing will always use the frontend template. Therefore, you need to ensure that your template supports all core VirtueMart scripts and CSS styles.
Title: Re: In Frontend Managing: Missing tmpl=component in Internal Links
Post by: Milbo on May 16, 2025, 21:06:03 PM
Jumbo, that is first right, but at the end wrong. VM usually ensures the correct loading of scripts itself. But yes all is displayed within the FE template.

But the links should work correctly. Maybe a screenshot helps