I have decided to change both the content and look of actual CMSimple.sk.
Here is the new concept. The sections "Demo" and "Demo Tamplaty" are made as 2lang pages.
I can't solve one small problem in these two sections. There are used icons for functions: printlink, sitemaplink and XH_mailform. Using them everything works fine, but the navigation in the banner doesnt work correctly. The links are hardcoded in respective templates. But using these icons, the default template is used (so the links can't work, of course).
How shall I modify the functions? Is there a way to define a template for e.g. XH_mailform?
DEMO
New look for CMSimple.sk almost ready
Moderator: mikey
New look for CMSimple.sk almost ready
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: New look for CMSimple.sk almost ready
You can write the links like this:Tata wrote:But using these icons, the default template is used (so the links can't work, of course).
How shall I modify the functions?
Code: Select all
<a href="<?php echo $pth['folder']['base']?>dd">Demo</a>
Christoph M. Becker – Plugins for CMSimple_XH
Re: New look for CMSimple.sk almost ready
Danke, Chris, es funkyionier wunderbar. Etwas anderes is aber aufgetaucht.
Am iMAC Locakhost läuft alles wunderbar. Am Server auch. Am Notebook gibt die Foldergallery folgende Debug Melung[quote\
Fatal error: Uncaught Error: Call to undefined function Foldergallery\mime_content_type() in C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php:137 Stack trace: #0 C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php(68): Foldergallery\ImageService->isImageFile('../userfiles/im...') #1 C:\MAMP\htdocs\169new\plugins\foldergallery\classes\GalleryController.php(84): Foldergallery\ImageService->findEntries() #2 C:\MAMP\htdocs\169new\plugins\foldergallery\index.php(30): Foldergallery\GalleryController->indexAction() #3 C:\MAMP\htdocs\169new\cmsimple\functions.php(284) : eval()'d code(1): foldergallery('tpls') #4 C:\MAMP\htdocs\169new\cmsimple\functions.php(284): eval() #5 C:\MAMP\htdocs\169new\cmsimple\functions.php(247): XH_evaluateSinglePluginCall('foldergallery('...') #6 C:\MAMP\htdocs\169new\cmsimple\functions.php(343): evaluate_plugincall('<h1>Demo Templa...') #7 C:\MAMP\htdocs\169new\cmsimple\cms.php(1333): evaluate_scripting('<h1>Demo Templa...') #8 C:\MAMP\htdocs\169new\rr\index.php(12 in C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php on line 137[/quote]und die Seite is leer.
Am iMAC Locakhost läuft alles wunderbar. Am Server auch. Am Notebook gibt die Foldergallery folgende Debug Melung[quote\
Fatal error: Uncaught Error: Call to undefined function Foldergallery\mime_content_type() in C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php:137 Stack trace: #0 C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php(68): Foldergallery\ImageService->isImageFile('../userfiles/im...') #1 C:\MAMP\htdocs\169new\plugins\foldergallery\classes\GalleryController.php(84): Foldergallery\ImageService->findEntries() #2 C:\MAMP\htdocs\169new\plugins\foldergallery\index.php(30): Foldergallery\GalleryController->indexAction() #3 C:\MAMP\htdocs\169new\cmsimple\functions.php(284) : eval()'d code(1): foldergallery('tpls') #4 C:\MAMP\htdocs\169new\cmsimple\functions.php(284): eval() #5 C:\MAMP\htdocs\169new\cmsimple\functions.php(247): XH_evaluateSinglePluginCall('foldergallery('...') #6 C:\MAMP\htdocs\169new\cmsimple\functions.php(343): evaluate_plugincall('<h1>Demo Templa...') #7 C:\MAMP\htdocs\169new\cmsimple\cms.php(1333): evaluate_scripting('<h1>Demo Templa...') #8 C:\MAMP\htdocs\169new\rr\index.php(12 in C:\MAMP\htdocs\169new\plugins\foldergallery\classes\ImageService.php on line 137[/quote]und die Seite is leer.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: New look for CMSimple.sk almost ready
Da ist vermutlich die finfo Extension nicht installiert und aktiviert, was eigentlich von der Systemprüfung der Foldergallery auch gemeldet werden sollte.Tata wrote:Fatal error: Uncaught Error: Call to undefined function Foldergallery\mime_content_type() in
Christoph M. Becker – Plugins for CMSimple_XH