Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom CSS
#1
Custom CSS plugin is the plugin for GetSimple CMS.
This plugin adds custom CSS to the footer of theme.

Install:
1. Download the plugin
2. Unzip the file to GS plugin directory
3. Enable the plugin in the admin panel
4. Go to the theme tab

Download plugin here.
Reply
#2
Hi bokor.pavol

Thanks for adding this plugin. I will check it out
and report back.
F.
Reply
#3
Hi Bokor,

I haven't tested the plugin, but just looking at the code it can impossibly work:
  • $customcss_data is set only if (isset($_POST['submit'])) so the initial render will always fail with Uncaught TypeError: cannot read property 'customcss_content' of null.
  • The window.onload script, you can't be sure it is executed if the document is already loaded by then. You should use:
Code:
if (document.readyState === 'complete') { /* code */ }
else { window.onload = function() { /* code */  } }
Reply




Users browsing this thread: 1 Guest(s)