SimplePortal

Support => English Support => Topic started by: ZiFFeL on October 26, 2010, 05:55:19 PM

Title: How to create an admin tool for any plugin
Post by: ZiFFeL on October 26, 2010, 05:55:19 PM
Hello everyone, i know that if i paste de index of a plugin (carousel, slideshow,...) an i correct the links, i will have the plugin runing 100% but how can i make an admin tool instead of modify the code every time i want to change something.
thanks beforehand
Title: Re: How to create an admin tool for any plugin
Post by: AngelinaBelle on October 27, 2010, 08:41:49 AM
I'm sorry -- I don't understand the question.
 
Can you be very specific about what "index of a plugin" you are pasting, where you are pasting, why you are pasting it, and why you need to correct the links?
 
By plugin -- do you mean SMF mod package?
And can you be clear on how this relates to SimplePortal?
 
Thanks
Title: Re: How to create an admin tool for any plugin
Post by: ZiFFeL on October 27, 2010, 02:04:34 PM
hi,
if i want to put a carousel on my simple portal, there is not a mod or a block to do it, but if i select html block i can paste the index of agile carousel and correcting the urls i can show it in my portal perfectly, but if i want to edit the items that i have put firstly, i have to edit those html block. and my question is if is there anyway to make an admin tool where i can just edit the links or the images to show?¿
Title: Re: How to create an admin tool for any plugin
Post by: AngelinaBelle on October 27, 2010, 02:43:12 PM
If I understand correctly, Agile Carousel already contains a tool for creating the carousel slideshow, and this is what you use to create the HTML which you now copy into an HTML block?  http://www.agilecarousel.com/ (http://www.agilecarousel.com/)
 
To simplify things for yourself, you might like to save the generated HTML to a file, and use a SimplePortal custom php block to include that file -- something like include("filename.html"); , each time you update the slideshow. 
 
Then, every time you update the slideshow html file, the block will read the file's new contents.  No need to edit the block.
 
Is this what you mean?
 
Of course, it is possible to make some kind of "Agile Carousel Admin tool for SMF and SimplePortal" mod, but I think it might create more work for you than it saves.
 
 
SimplePortal 2.3.8 © 2008-2024, SimplePortal