fb_slidein_xh
Moderator: Tata
fb_slidein_xh
Hi
A small new plugin, that gives you a sliding facebook link.
The link have a fixed position, in the right site.
You can se a demo on CMSimple-xh.dk
I hope you like
BTW: I can get it to work by calling the facebook images from the plugin images folder - thats why i use the cmsimple main images folder to the facebook.png images. If any one have a solution to fix that - let me know
Download
This plugin is made by the codes in Tata's thread http://www.cmsimpleforum.com/viewtopic.php?f=8&t=6543
A small new plugin, that gives you a sliding facebook link.
The link have a fixed position, in the right site.
You can se a demo on CMSimple-xh.dk
I hope you like
BTW: I can get it to work by calling the facebook images from the plugin images folder - thats why i use the cmsimple main images folder to the facebook.png images. If any one have a solution to fix that - let me know
Download
This plugin is made by the codes in Tata's thread http://www.cmsimpleforum.com/viewtopic.php?f=8&t=6543
Last edited by maeg on Sat Sep 14, 2013 12:54 pm, edited 1 time in total.
Re: fb_slidin_xh
Hi maeg,
This will use plugins/fb_slidein/images/facebook.png.
BTW: the file plugins/fb_slidein/fb_slidein.js will never be used (apparently it is not necessary at all). The problem is line 18 in index.php: Writing something to $hjs has only effect, if that is done before <?php echo head();?> is processed. But if <?php echo fb_slidein()?> is inserted before </body>, that's already to late. A possible solution is to use $bjs instead of $hjs in line 14 and 18 (works only since CMSimple_XH 1.5.4). But as I said: the script might not be necessary at all.
Christoph
That's a nice idea!maeg wrote:A small new plugin, that gives you a sliding facebook link.
You can change line 24 of index.php:maeg wrote:BTW: I can get it to work by calling the facebook images from the plugin images folder - thats why i use the cmsimple main images folder to the facebook.png images. If any one have a solution to fix that - let me know
Code: Select all
<img src="'.$pth['folder']['plugins'].'fb_slidein/images/facebook.png" alt="'.$pcf['alt'].'">
BTW: the file plugins/fb_slidein/fb_slidein.js will never be used (apparently it is not necessary at all). The problem is line 18 in index.php:
Code: Select all
$hjs .= '<script type="text/javascript" src="'.$pth['folder']['plugins'].'fb_slidein/fb_slidein.js"></script>'."\n";
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: fb_slidin_xh
Hey,
There is little mistake in CMB code folder name: fb_slidein --> fb_slidin
Best
There is little mistake in CMB code folder name: fb_slidein --> fb_slidin
Best
Re: fb_slidin_xh
Indeed, the code as is does not work. But I would suggest to rename the plugin folder from fb_slidin/ to fb_slidein/, because fb_slidein is used as the plugin name in several other places (for instance in config.php).tanavots wrote:There is little mistake in CMB code folder name: fb_slidein --> fb_slidin
Christoph M. Becker – Plugins for CMSimple_XH
Re: fb_slidin_xh
Hi
Ohh yes - my fault.
Just uploadet a new file with the right name
Sorry
Ohh yes - my fault.
Just uploadet a new file with the right name
Sorry
Re: fb_slidein_xh
Hi
I just released fb_slidein_xh version 1beta03
In the new version it is possible to set the position from the top in px, and select side "left or right"
Download
Have fun
I just released fb_slidein_xh version 1beta03
In the new version it is possible to set the position from the top in px, and select side "left or right"
Download
Have fun
-
- Posts: 522
- Joined: Thu May 22, 2008 7:27 am
- Location: Germany / Schleswig-Holstein
- Contact:
Re: fb_slidein_xh
Demo: Link to open cmsimple-xh.dk in a new Tab - no more ?!? No fb or tw?maeg wrote:
You can se a demo on CMSimple-xh.dk
Torsten Behrens
CMSimple Templates
CMSimple Templates
Re: fb_slidein_xh
Ups - forgot to change the link . Now it goes to fb and twTorsten.Behrens wrote: Demo: Link to open cmsimple-xh.dk in a new Tab - no more ?!? No fb or tw?
Have a nice day
Re: fb_slidein_xh
Hey!
Nice work, but did You forgot to change version number in version.nfo file? Still 1beta2. And Visit downloadpage link is also broken.maeg wrote: I just released fb_slidein_xh version 1beta03