The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SimpleCatalog
#1
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/simplecatal...ed-plugin/
Reply
#2
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.
Reply
#3
Turn on debug mode in GS settings.
I cannot help you without an error message, sorry
Reply
#4
(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
Reply
#5
Thanks for the reply. Probably you use PHP older than 5.6.
See the description requirements.
Reply
#6
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'.
Reply
#7
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.
Reply
#8
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.
Reply
#9
(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.
Reply
#10
error message?
In admin panel everything is fine?
Reply
#11
(2017-06-03, 20:12:54)Bigin Wrote: error message?
In admin panel everything is fine?

No errors and in admin panel everything works.
Reply
#12
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?
Reply
#13
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.
Reply
#14
(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.
Reply
#15
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?
Reply
#16
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
Reply
#17
To overwrite catalog styling you just need to add the custom stylesheet after the default catalog "styles.css" inside your template file
Reply
#18
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
Reply
#19
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
Reply
#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?
Reply
#21
You have to hook into the function __renderFrontendItemDetails() to adjust it, here's a plugin example:
https://gist.github.com/bigin/f24406772e...d2b42bda96

Or you could customize your catalog output completely:
https://ehret-studio.com/articles/simple...t-catalog/
Reply
#22
(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?
Reply
#23
Does your GS run in a subfolder?
Reply
#24
yes it does, under a folder called products, and i set the config file variables to point to '/products/catelog/'
Reply
#25
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.
Reply




Users browsing this thread: 4 Guest(s)