![]() |
Innovation Plugin - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Innovation Plugin (/showthread.php?tid=1647) |
Innovation Plugin - Rene - 2011-05-03 Needed to extend Innovation Theme plugin with some Dutch Social Networks and remove some others. As a lazy developer as I am I've inserted an array into the plugin and changed the code for dynamical reading. Code: <?php Innovation Plugin - alienee2 - 2012-04-17 this is great - i was able to adapt this into a new plugin for a custom theme, and it perfectly creates the relevant xml file to store the settings... however for some reason i can't seem to get the template function to read the xml values. I have this code in my functions.php: Code: function Delphic_Settings() { and i have this in my template footer: Code: <?php if (defined('TWITTER')) { ?> i can't seem to figure out why this doesn't work...it should be as simple as the functions.php file getting the values from the xml file and then the template using those values... I also tried using the regular Innovation Plugin on a different template, and copied the functions.php to the other theme folder and copied the code exactly from the Innovation theme, but it doesn't work there either.. would be great to solve this because it could be the beginnings of a generic theme settings plugin that could be used for other themes... -marc RE: Innovation Plugin - cmscss - 2012-11-06 Please can you tell me how can I add Google+ and YouTube in Innovation theme settings? What are the steps? I believe that is a code like: if ($p->flickr != '' ) define('FLICKR', $p->flickr); But what other changes? Like some other codes and of course an icon to display. Thanks RE: Innovation Plugin - Carlos - 2012-11-07 If you know enough php it shouldn't be difficult. (Some code should be added at several places in plugins/InnovationPlugin.php and theme/.../functions.php) But if you don't, the easy way is simply editing sidebar.inc.php (in Theme -> Edit) and using html to add any links you need in the Connect section. RE: Innovation Plugin - Oleg06 - 2012-11-07 ooops RE: Innovation Plugin - Carlos - 2012-11-07 That's great, Oleg. Thanks for sharing. It would be nice that the GS team updated the Innovation theme with your additions, or else you upload a full modified version to Extend. RE: Innovation Plugin - Oleg06 - 2012-11-07 for some reason me requested to register http://get-simple.info/extend/ RE: Innovation Plugin - Carlos - 2012-11-08 [offtopic] Try logging out of the forum, clear cookies, log in again... RE: Innovation Plugin - Oleg06 - 2012-11-08 http://www.youtube.com/watch?v=cMnx18lxA-8 RE: Innovation Plugin - cmscss - 2012-11-08 Thank you Oleg. This should be the official theme. Oleg I tested but somehow the icons get on that tab "CONNECT". I attached the screenshot. Is it something extra to do it? Thank you for your patience. RE: Innovation Plugin - Oleg06 - 2012-11-08 apparently this theme is only for 3 icons. Try to place the code in the sidebar below. RE: Innovation Plugin - cmscss - 2012-11-11 (2012-11-08, 16:19:59)Oleg06 Wrote: apparently this theme is only for 3 icons. Is it possible to place it in the same position but with </ br> to send the icons on the next row below? RE: Innovation Plugin - Oleg06 - 2012-11-11 You can place the code in the file sidebar.inc.php as you like RE: Innovation Plugin - shawn_a - 2012-11-12 You guys know you can just goto add this and make your own and throw it in there. It doesn't have to be in the theme. https://www.addthis.com/get/sharing#.UJ_GwId2zoo RE: Innovation Plugin - shawn_a - 2013-04-12 I have added this to core innovation theme social actually I rewrote it myself, I didn't see this thread. Oh well, i basically did the same exact thing as rne. https://github.com/GetSimpleCMS/GetSimpleCMS/issues/520 RE: Innovation Plugin - Oleg06 - 2014-03-13 somehow button plugin settings suddenly stopped in other topics RE: Innovation Plugin - shawn_a - 2014-03-13 What does that mean? RE: Innovation Plugin - Oleg06 - 2014-03-13 I always used an old version of this plugin with different themes, and now I can not RE: Innovation Plugin - shawn_a - 2014-03-14 3.2.2 hides the plugin if the innovation theme is not the current theme https://github.com/GetSimpleCMS/GetSimpleCMS/commit/5e12d295b87b0742337edbffa88efced0676cf37 I guess you can just revert this change. assuming this is what you mean ? You should clone the plugin and change the code to match your theme name RE: Innovation Plugin - shawn_a - 2014-03-14 I just modified it with a toggle https://github.com/GetSimpleCMS/GetSimpleCMS/commit/64223922168ee6fd6217b99efb843da37801a8ac will be in 3.3.2 RE: Innovation Plugin - shawn_a - 2014-03-14 You can also still get to it manually /admin/load.php?id=InnovationPlugin RE: Innovation Plugin - Oleg06 - 2014-03-14 thanks for the tip, it works ![]() |