GetSimple Support Forum

Full Version: Preloaders GS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: preloader.jpg]

This plugin add easy preloader to your websiteSmile
1.0 6 example with easy to replace for own.
This plugin use jquery, but you can disable this and use own.

http://get-simple.info/extend/plugin/pre...s-gs/1202/
Hi,

Thanks for your plugin, it's work very well.
Just, preload animation isn't displayed because my GS project is in subdirectory.
PHP Code:
<?php 

 $plugin_id 
'preloaders';
 
// Set up the folder name and its permissions
// Note the constant GSDATAOTHERPATH, which points to /path/to/getsimple/data/other/
$folder        GSDATAOTHERPATH '/' $plugin_id '/';
$preloadernumber  $folder 'preloadernumber.txt';
$jqueryon  $folder 'jqueryon.txt';

;
global 
$SITEURL;
$site $SITEURL;
echo
'
<div id="preload">

<img src="'
.$site.'/plugins/preloaders/img/'.file_get_contents($preloadernumber ).'.svg">
</div>
'


Hi again,

I changed preloaderstart.php like this. But I'm not a fiery dev... I juste added global variable SITEURL (found on forum).
But why you change something? Something doesnt work?

ofcourse try close php in end of codeSmile
Hi Wink

In fact, I wanted to test your plugin and I installed GS in a subdirectory before finalize a project.