Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sponsor Logo plugin
#1
Hi all,

I manage a website for a sports club and they wanted:
  • to show random sponsor logos on the bottom of each page
  • to show a page with all the sponsors
So I created the "Sponsor logo" plugin Big Grin .

I hope it will be useful for somebody.

Any problems/comments can be posted here.

regards,
Ruud
Reply
#2
I had to write the code with my hands. Is it possible to add a button to select an image?
http://prntscr.com/hxjcnz
Reply
#3
(2018-01-08, 20:38:09)Oleg06 Wrote: I had to write the code with my hands. Is it possible to add a button to select an image?
http://prntscr.com/hxjcnz

Hi Oleg06,

The "Content" field should show the ckeditor, just like when you add a page. I reused some code of another plugin for this (see attachment).

Maybe it doesn't show because your site language is in cyrillic.

Could you check if you see it when you select english as language in your GetSimple settings?

Regards,
Ruud


Attached Files Thumbnail(s)
   
Reply
#4
Yes, clean install, no additional plugins editor all works with Cyrillic
http://prntscr.com/hxmtzs
Reply
#5
(2018-01-09, 01:53:13)Oleg06 Wrote: Yes, clean install, no additional plugins editor all works with Cyrillic
http://prntscr.com/hxmtzs

So with a clean install it works, but not when you add more plugins?

Oh, and if you would like to translate the plugin Angel : just copy plugins/sponsorlogo/lang/en_US.php to ru_RU.php
It's just a few strings Smile
Reply
#6
Released version 1.1

changes:
- Changed how ckeditor is called to edit the sponsor definition.
Reply
#7
Yes, now everything works, thanks http://prntscr.com/hxse8l
Reply
#8
The name of the sponsor in Cyrillic is not accepted.
Reply




Users browsing this thread: 1 Guest(s)
Free HDTV Channels Residential Solar Panels