News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Frontend page in Joomla 4

Started by chupi, September 19, 2022, 20:05:34 PM

Previous topic - Next topic

chupi

As I said in this discussion: http://forum.virtuemart.net/index.php?topic=148823.0 I have recently updated to version 4.0.7 (compatible J3/J4 bugfix RC) on a test site and the errors that existed with the Joomla router have been corrected when Virtuemart SEO was enabled, no error is shown in the logs of Apache on a site with Joomla 4.2.2 and PHP 8.0.23 .

But now I have a doubt to see if they can solve it for me. Previously with Joomla 3.10.x the Home in the main menu was defined as

Frontend page
Use with option Vm-Manager activated, or as old Front page (deprecated)
Front-end managing your store. But deprecated to display products, Use 'Category Layout' instead.

   with this URL: index.php?option=com_virtuemart&view=virtuemart

But with Joomla 4 this gives a 404 error. What should we do to display the Virtuemart home page as before?

Thank you

GJC Web Design

that menu has been marked as depreciated for ages

use a std. VM top level category menu if u require a VM home page

index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&virtuemart_manufacturer_id=0
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

chupi

Thank you

Does that option have to be chosen from Menu --> Viertuemart --> Category Layout, "Top Level Category"?

But that URL produces an error: 404: 0 Unsupported operand types: string % string

Even if any category is chosen

Is there no other way to choose a home page for Virtuemart?

GJC Web Design

QuoteBut that URL produces an error: 404: 0 Unsupported operand types: string % string

must be your template ... provide a trace of the fatal error ... or test with std. Beez template
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

chupi

#4
I'm working with Joomla 4, Beez doesn't exist, I use a Cassiopeia child template.

If I use that menu configuration in Joomla's default Cassiopeia the error disappears, but all the categories appear on the page, which is not acceptable.

The page is this one with the Menu configuration of this image:

https://my-ebook.es/images/cassiopeia-es.jpg

https://my-ebook.es/

Edited:

incomprehensible !!! After changing from the default template to the child template the error has disappeared, but all the categories still appear on the home page.

GJC Web Design

QuoteIf I use that menu configuration in Joomla's default Cassiopeia the error disappears, but all the categories appear on the page, which is not acceptable.

switch them off in the menu configuration! There are dozens of settings...
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

jflash

Quote from: chupi on September 23, 2022, 11:34:11 AM
But that URL produces an error: 404: 0 Unsupported operand types: string % string
I had a similar error message, and problem was the old language files. There are new handling: all '%s' need to be '%1$s' Maybe same?