custom "show_default" view

  • Posts: 223
  • Thank you received: 1
11 years 4 months ago #80117

trying to create a custom "show_default" view or page.

i created a copy of the "show_default" with a new name, and saved it.

When i assign it to a product, as shown...




and save it, when i go to try to view it in the store, i get a "500 - Layout show_MAPdefault not found" message.

how do i correct this?

thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81568
  • Thank you received: 13079
  • MODERATOR
11 years 4 months ago #80166

Can you check that you have the file templates/YOUR_TEMPLATE/html/com_hikashop/product/show_MAPdefault.php and the file components/com_hikashop/views/product/tmpl/show_MAPdefault.php ? If not, please create them.

Please Log in or Create an account to join the conversation.

  • Posts: 223
  • Thank you received: 1
11 years 4 months ago #80276

yes, have both in the locations you describe

Please Log in or Create an account to join the conversation.

  • Posts: 26015
  • Thank you received: 4004
  • MODERATOR
11 years 4 months ago #80402

Hi,

Which version of HikaShop do you have ?
Did you create theses copy using the HikaShop backend ? (thanks to "Display > Views")

Maybe the files does not have the right file access. If the file is not readable for the server, it could generate such error.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 223
  • Thank you received: 1
11 years 4 months ago #80481

hika 2.0 business
j2.5.8

created through display>views

permissions are correct (same as "show_default"

Please Log in or Create an account to join the conversation.

  • Posts: 81568
  • Thank you received: 13079
  • MODERATOR
11 years 4 months ago #80556

Ok, could you try to create your new layout with only lowercase letters ? Maybe it comes from the case which is mixed up by joomla/your webserver.

Please Log in or Create an account to join the conversation.

  • Posts: 223
  • Thank you received: 1
11 years 4 months ago #80687

That seems to have been the problem, i need to test a little more to be sure, but i think that was it.

thanks, as always!

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum