Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preloaders GS
#1
[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/
Reply
#2
Hi,

Thanks for your plugin, it's work very well.
Just, preload animation isn't displayed because my GS project is in subdirectory.
Reply
#3
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).
Reply
#4
But why you change something? Something doesnt work?

ofcourse try close php in end of codeSmile
Reply
#5
Hi Wink

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




Users browsing this thread: 1 Guest(s)