Author Topic: Frontend page in Joomla 4  (Read 182 times)

chupi

  • Beginner
  • *
  • Posts: 12
  • A beginner
Frontend page in Joomla 4
« on: September 19, 2022, 20:05:34 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10576
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Frontend page in Joomla 4
« Reply #1 on: September 19, 2022, 22:29:48 pm »
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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Frontend page in Joomla 4
« Reply #2 on: September 23, 2022, 11:34:11 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10576
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Frontend page in Joomla 4
« Reply #3 on: September 23, 2022, 11:41:12 am »
Quote
But 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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Frontend page in Joomla 4
« Reply #4 on: September 23, 2022, 12:20:21 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10576
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Frontend page in Joomla 4
« Reply #5 on: September 23, 2022, 14:23:25 pm »
Quote
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.

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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 60
Re: Frontend page in Joomla 4
« Reply #6 on: September 26, 2022, 11:07:12 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?