Support > cpg1.6 themes (visuals)
My theme doesn't work properly on PHP7.1 and higher
ron4mac:
You can disable an individual plugin to see whether it may be causing a particular issue that you are seeing. If you identify an issue with a plugin (or theme, for that matter), you should first try to message the plugin (or theme) author to see if they are still supporting their work.
Ever since I have been involved with CPG, I have disliked the filmstrip ... especially how it was implemented. I have avoided doing work on it. I would rather see it gone from the core of CPG. It could better be implemented as a plugin for those who find value in the concept.
ron4mac:
--- Quote from: KchoPrro on September 15, 2022, 12:12:24 pm ---For the rest, this new theme works well and I think I will continue with it, adapting it better to my tastes.
--- End quote ---
Monica did a nice job with her themes.
CPG 1.6 has features built in that make it easier for simple themes to do much more with their CSS. For instance .. the CSS can know which type of page it is on and not display the full banner at the top of the page for album thumbnails or intermediate images. Or don't display the full menu on some page types. I would add modifications to the CSS of that theme to take advantage of those concepts.
KchoPrro:
--- Quote from: ron4mac on September 15, 2022, 03:30:47 pm ---Monica did a nice job with her themes.
CPG 1.6 has features built in that make it easier for simple themes to do much more with their CSS. For instance .. the CSS can know which type of page it is on and not display the full banner at the top of the page for album thumbnails or intermediate images. Or don't display the full menu on some page types. I would add modifications to the CSS of that theme to take advantage of those concepts.
--- End quote ---
I would like to have an advanced level of knowledge about php and css, but I am not able to do anything other than change a color, or the size of a font, font, etc. I dedicate myself to see the css code and how it affects the page and modify what I can understand. I guess with time I will learn more things :)
--- Quote from: ron4mac on September 15, 2022, 03:14:41 pm ---You can disable an individual plugin to see whether it may be causing a particular issue that you are seeing. If you identify an issue with a plugin (or theme, for that matter), you should first try to message the plugin (or theme) author to see if they are still supporting their work.
--- End quote ---
CPG does not show me the plugin manager with PHP8.1, I get the following message:
--- Code: ---Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /galeria/plugins/minicms/configuration.php:38 Stack trace: #0 /galeria/plugins/minicms/configuration.php(38): in_array() #1 galeria /pluginmgr.php(146): include('/home/u41263082...') #2 /galeria/pluginmgr.php(725): display_plugin_list() #3 { main} thrown in /galeria/plugins/minicms/configuration.php on line 38
--- End code ---
The only solution I see is to downgrade to PHP7.4, disable one of the plugins, upgrade back to 8.1 and see if anything has been resolved. If it is MiniCMS or BB Control, try to contact the author, but I think they are no longer operational. Perhaps you have no choice but to stick with PHP7.4
--- Quote from: ron4mac on September 15, 2022, 03:14:41 pm ---Ever since I have been involved with CPG, I have disliked the filmstrip ... especially how it was implemented. I have avoided doing work on it. I would rather see it gone from the core of CPG. It could better be implemented as a plugin for those who find value in the concept.
--- End quote ---
I totally agree with you, it would be more interesting to leave the filmstrip as a plugin for those who want to implement it. However, I like how it looks, but aesthetically it is more interesting without the filmstrip_background, for that reason I removed it from the chaoticsoul theme.
I will try to contact Monica, the truth is that her themes are very good, I hope I can buy her a more current theme that also works with php8.0
ron4mac:
--- Quote from: KchoPrro on September 19, 2022, 07:54:02 am ---CPG does not show me the plugin manager with PHP8.1, I get the following message:
--- Code: ---Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /galeria/plugins/minicms/configuration.php:38 Stack trace: #0 /galeria/plugins/minicms/configuration.php(38): in_array() #1 galeria /pluginmgr.php(146): include('/home/u41263082...') #2 /galeria/pluginmgr.php(725): display_plugin_list() #3 { main} thrown in /galeria/plugins/minicms/configuration.php on line 38
--- End code ---
--- End quote ---
Remove these 4 (consecutive) lines from the MiniCMS plugin configuration.php file:
--- Code: ---$lang = isset($CONFIG['lang']) ? $CONFIG['lang'] : 'english';
include('plugins/minicms/lang/english.php');
if (in_array($lang, $enabled_languages_array) == TRUE && file_exists('plugins/minicms/lang/'.$lang.'.php')) {
include('plugins/minicms/lang/'.$lang.'.php');
}
--- End code ---
KchoPrro:
--- Quote from: ron4mac on September 19, 2022, 04:28:31 pm ---Remove these 4 (consecutive) lines from the MiniCMS plugin configuration.php file:
--- Code: ---$lang = isset($CONFIG['lang']) ? $CONFIG['lang'] : 'english';
include('plugins/minicms/lang/english.php');
if (in_array($lang, $enabled_languages_array) == TRUE && file_exists('plugins/minicms/lang/'.$lang.'.php')) {
include('plugins/minicms/lang/'.$lang.'.php');
}
--- End code ---
--- End quote ---
Thanks! The problem has been solved. Was able to get into plugin management and disabled BBCode Control (bbcode_control): v1.12. It has been the solution, now there are no more errors. I used the plugin to add embedded links in the image description, or add a bold text. Now that I don't have the Plugin active, I notice that the links still exist and the bold or italics also appear in the description. I guess this was also an improvement from version 1.6x of CPG, before it couldn't use BBCode.
The unsolved problem is to know why there are times that 5 thumbnails appear in the intermediate image and other times 4 (the correct one is 4). This is not a CPG issue, it's a theme issue. I'll ask Monica if she has any ideas on the solution.
Thank you very much again! :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version