The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
SimpleCatalog - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: SimpleCatalog (/showthread.php?tid=9619)

Pages: 1 2 3 4


SimpleCatalog - Bigin - 2017-05-11

SimpleCatalog Thread

This is a - Beta v0.1

If you have any comments or questions relating to SimpleCatalog, please do not hesitate to add them here, thx


Demo Catalog: http://im.ehret-studio.com/simple-catalog/

More Infos: https://ehret-studio.com/lab/simplecatalog-itemmanager-based-plugin/


RE: SimpleCatalog - Riianna - 2017-05-11

Doesnt work for me. Installet and when activate i get error message and the whole site goes blank, i had to delete im_simple_catalog php file to get site back Big Grin. Exactly same thing happens with GS Blog plugin.


RE: SimpleCatalog - Bigin - 2017-05-11

Turn on debug mode in GS settings.
I cannot help you without an error message, sorry


RE: SimpleCatalog - Riianna - 2017-05-11

(2017-05-11, 05:48:01)Bigin Wrote: Turn on debug mode in GS settings.
I cannot help you without an error message, sorry

Debug mode dont tell anything its just blank.
But when i try to refresh plugin page in admin i get Fatal error: Can't use function return value in write context in im_simple_catalog\lib\controller.php on line 739


RE: SimpleCatalog - Bigin - 2017-05-11

Thanks for the reply. Probably you use PHP older than 5.6.
See the description requirements.


RE: SimpleCatalog - newdeepdan - 2017-05-19

This is definitely much more simpler than ItemManager and so much easier to understand. Is there a way to filter the catalog by selecting multiple categories? For example if someone wanted a 'White Tshirt', they can select the categories 'white' and 'tshirt'.


RE: SimpleCatalog - Bigin - 2017-05-19

Hi,
hmmm... I am not sure I understand what do you mean by "filter the catalog by selecting multiple categories"?
You can already search through different categories. Or do you mean the "tag filtering" feature? The tag-filter function does not allow filtering in different categories, but only, because you're already on a specific category page. Example, if you are on the "t-shirts" category page, so your URL would look like this: http://your-site/catalog/t-shirts/?tag=yourtag. What do you think, how should the URL look like, if you want to filter through multiple categories: http://your-site/catalog/t-shirts/bananas/foo/whatever/bla-bla/?tag=yourtag ? ;-)
That's exactly why the search function is here for.


RE: SimpleCatalog - Bigin - 2017-05-19

Oh I see! Ok, forget everything I've said before. I understand it now: you want to narrow your search by selecting one or several specific categories, right?
Unfortunately, that is not possible with build-in methods. Because that is a new feature and each catalog page, has already been assigned a specific function, that is the price that you paid for simplicity ;-)
But of course, since SimpleCatalog is based on ItemManager you are able to create an extra GS page for that purpose, and you will have to use API to write required function. If you have any questions regarding API, just let me know and I will try to help.


RE: SimpleCatalog - Riianna - 2017-06-03

(2017-05-11, 17:36:20)Bigin Wrote: Thanks for the reply. Probably you use PHP older than 5.6.
See the description requirements.

I have latest xampp now (before i had easyphp) , but i cant get the items to appear in catalog page, did everything as your tutorial says Big Grin.


RE: SimpleCatalog - Bigin - 2017-06-03

error message?
In admin panel everything is fine?


RE: SimpleCatalog - Riianna - 2017-06-04

(2017-06-03, 20:12:54)Bigin Wrote: error message?
In admin panel everything is fine?

No errors and in admin panel everything works.


RE: SimpleCatalog - Bigin - 2017-06-04

If you do not see any errors and admin works, then you probably have done something wrong.

Go down this list to check whether you did everything right:
  1. mod_rewrite must be enabled server side and correctly configured
  2. Fancy URLs enabled in GS settings
  3. Check that the "catalog" page you have created has the same slug as the $config->startPageUri variable in plugins/im_simple_catalog/inc/config.php (except slashes)
  4. Check that the "catalog" page contains [[catalog_content]], as page content. Note: the [[catalog_content]] must be entered as page content and not in your template file.
  5. Can you access the "catalog" page in frontend, what is displayed there?



RE: SimpleCatalog - Bigin - 2017-06-07

One of the users has the same issue and asked me for a solution. He had modified the original permalink structure to %slug%.html - of course, that cannot work lol. SimpleCatalog requires more complex structure with a minimum of 3 URL sections: /catalog/category-name/item-name/ by default installation. Please read the documentation on my site, in particular the section "Configuration", thats all already written there.


RE: SimpleCatalog - Riianna - 2017-06-11

(2017-06-04, 05:32:17)Bigin Wrote: If you do not see any errors and admin works, then you probably have done something wrong.

Go down this list to check whether you did everything right:
  1. mod_rewrite must be enabled server side and correctly configured
  2. Fancy URLs enabled in GS settings
  3. Check that the "catalog" page you have created has the same slug as the $config->startPageUri variable in plugins/im_simple_catalog/inc/config.php (except slashes)
  4. Check that the "catalog" page contains [[catalog_content]], as page content. Note: the [[catalog_content]] must be entered as page content and not in your template file.
  5. Can you access the "catalog" page in frontend, what is displayed there?

Everything is as u said, and yes i can access catalog page but its still empty page. I have kategories and items also.


RE: SimpleCatalog - Bigin - 2017-06-11

It's magic! No, seriously, this is definitely a config issue.

Maybe you have forgotten to add the native GS function "get_page_content()" to your template file?


RE: SimpleCatalog - DeepSpace - 2017-09-13

This works great but I have a small question. How can I change css so the images have some padding between the text? Or is there a particular size image to use?
Thanks


RE: SimpleCatalog - Bigin - 2017-09-13

To overwrite catalog styling you just need to add the custom stylesheet after the default catalog "styles.css" inside your template file


RE: SimpleCatalog - lakaroth - 2017-10-17

Hello there i have a little problem, in item creations if i add multiple images it doesent work, it show only the first image.
There's a way to create a gallery for every item?
Also, i have try i18n plugin for multilanguage but it seems non compatible Sad
Best


RE: SimpleCatalog - Bigin - 2017-10-17

I assume you're about to display multiple images in the detail view of the item?

There are several ways to do this.
If you are sure that the same number of images will always be used for each item, you can just create a custom template file with "itemDetailsContent" variable and add somme placeholders at any place in it.
Here is described how to create your own templates: https://ehret-studio.com/lab/simplecatalog-itemmanager-based-plugin/how-to-use-simplecatalog-templates/

to display thumbnails:
<img src="[[image_s_1]]" alt="">
<img src="[[image_s_2]]" alt="">
...
to display full sized images:
<img src="[[image_1]]" alt="">
<img src="[[image_2]]" alt="">
...

(2017-10-17, 00:16:29)lakaroth Wrote: Also, i have try i18n plugin for multilanguage but it seems non compatible Sad

Of course not, because that would mean the plugin must be called "ExtensiveCatalog" instead. But joking aside, that functionality is not built in as default, but because the whole thing is based on the ItemManager framework, with a little effort you can build it on your own


RE: SimpleCatalog - usderofit - 2018-12-20

(2017-10-17, 01:48:28)Bigin Wrote: I assume you're about to display multiple images in the detail view of the item?

There are several ways to do this.
If you are sure that the same number of images will always be used for each item, you can just create a custom template file with "itemDetailsContent" variable and add somme placeholders at any place in it.
Here is described how to create your own templates: https://ehret-studio.com/lab/simplecatalog-itemmanager-based-plugin/how-to-use-simplecatalog-templates/

to display thumbnails:
<img src="[[image_s_1]]" alt="">
<img src="[[image_s_2]]" alt="">
...
to display full sized images:
<img src="[[image_1]]" alt="">
<img src="[[image_2]]" alt="">
...

(2017-10-17, 00:16:29)lakaroth Wrote: Also, i have try i18n plugin for multilanguage but it seems non compatible Sad

Of course not, because that would mean the plugin must be called "ExtensiveCatalog" instead. But joking aside, that functionality is not built in as default, but because the whole thing is based on the ItemManager framework, with a little effort you can build it on your own

And if i dont know how many images will be used for each item? how can i show the amount of images that have been uploaded to each item?


RE: SimpleCatalog - Bigin - 2018-12-20

You have to hook into the function __renderFrontendItemDetails() to adjust it, here's a plugin example:
https://gist.github.com/bigin/f24406772ef68737fd7651d2b42bda96

Or you could customize your catalog output completely:
https://ehret-studio.com/articles/simplecatalog-itemmanager-based-plugin/creation-of-a-fully-customized-product-catalog/


RE: SimpleCatalog - usderofit - 2018-12-21

(2017-06-04, 05:32:17)Bigin Wrote: If you do not see any errors and admin works, then you probably have done something wrong.

Go down this list to check whether you did everything right:
  1. mod_rewrite must be enabled server side and correctly configured
  2. Fancy URLs enabled in GS settings
  3. Check that the "catalog" page you have created has the same slug as the $config->startPageUri variable in plugins/im_simple_catalog/inc/config.php (except slashes)
  4. Check that the "catalog" page contains [[catalog_content]], as page content. Note: the [[catalog_content]] must be entered as page content and not in your template file.
  5. Can you access the "catalog" page in frontend, what is displayed there?

Im having this issue now, i have been working with this on my local host, i installed it all on the actual server, and everything seems to be working, except the catalog is not showing up on the page on the front end.
Everything you mentioned here is correct, and i have the page_content in it to, putting general text in the catalog page outputs it to the front end, but putting [[catalog_content]] does nothing. No catalog is shown.

Any ideas?


RE: SimpleCatalog - Bigin - 2018-12-21

Does your GS run in a subfolder?


RE: SimpleCatalog - usderofit - 2018-12-21

yes it does, under a folder called products, and i set the config file variables to point to '/products/catelog/'


RE: SimpleCatalog - Bigin - 2018-12-21

Hmm... I have no idea, is the page also called 'catalog' or 'catelog', like you wrote it?

You could check if your CKEditor has placed any junk symbols in your placeholder [[catalog_content]].

Is there a way to view your page online, can I get temporary access? Send me a PM please, if you can't find the issue.