Changes Required for Compatibility with CloudFlare's RocketLoader
$HTMLHeaderFmt['guiedit'] = "<script data-cfasync='false' src='\$FarmPubDirUrl/guiedit/guiedit.js'></script>\n"; Markup_e('e_guibuttons', 'directives', '/\\(:e_guibuttons:\\)/', "Keep(FmtPageName( str_replace('<script', '<script data-cfasync=\"false\"', GUIButtonCode(\$pagename)), \$pagename))");
Looks and Works Great!
crookedshack 11 November, 2009: I just installed this tonight and it works great...now. I had forgotten that I had added some of the extra buttons in guiedit folder to the bottom of the config.php file. I was getting the question marks for 8 of the buttons. Removed those lines and all is great. Thanks for the effort and thanks for sharing.
Sven, 2009-12-15: I too like your recipe! Thank you! The instructions are very clear. (I also got "25" instead of the percentage sign, but I do not want to use the indentation buttons, so this is no problem for me. firefox 3.5.5, pmwiki 2.2.8.)
How to use with GuiButtons recipe?
The buttons and smileys(!) provided with the GuiButtons recipe isn't my cup of tea, but GuiButtons with forms is nice. If I could use these buttons instead it would be great. Any ideas? Bergwitz February 15, 2010, at 06:36 AM]]
Some buttons did'nt appear
October 13, 2009, at 06:38 PM mrjk?: Some buttons didn't appear well in FireFox. I fixed the problem in cookbook/editToolbar.php by renaming h2 by et_h2, and it worked well after. Somebody can explain me why? thx ^^
Right justify button doesn't work
Incorrect RecipeInfo setting in edittoolbar.php?
Status: Issue fixed (1.1.1)
IDB 27-May-2009: Hi Dave! Just been working on another Wiki and using your EditToolbar recipe. When I used the recipecheck recipe, I noticed that I had an entry for a BlogIt recipe, only I have not installed that recipe. Delving into the innards, I found that you have set in edittoolbar.php the following:
$RecipeInfo['BlogIt']['Version'] = '2009-03-01';
Shouldn't this line read
$RecipeInfo['EditToolbar']['Version'] = '1.1.0';
IDB 27-May-2009: I think it was a simple copy+paste error. Been there a while I think, but it's only now that I am working on a new site that I decided to get to the bottom of it, so I can update my boilerplate PmWiki files. :-)
Display problem appears in the Safari browser
Status: Issue closed
The italic icon and bold icon do not display properly (but they work properly!) in OS X Safari (ver4 or ver3), instead an exclamation mark appears. Not that it would be a solution but with the command unset(
$GUIButtons['em']) I do not seem to be able to turn off the italic button.
Fabrizio 17-Apr-2009: website is still under construction but if you want to have a look, here you go: www.vincentresearch.com
the edittoolbar.php is in cookbook folder and the edittoolbar folder is in pub folder. In my config.php I have this:
$EnableGUIButtons = 1; include_once("$FarmD/cookbook/edittoolbar.php"); $GUIButtons['H1'] = array(10, '! ', ' ', 'Subheading','$GUIButtonDirUrlFmt/text_heading_1.png"Subheading Level 1"'); $GUIButtons['H2'] = array(20, '!! ', ' ', 'Subheading','$GUIButtonDirUrlFmt/text_heading_2.png"Subheading Level 2"');
I hope this will help
Fabrizio 20-Apr-2009: Dave, I don't understand what is your website, perhaps we should continue our conversation by mail? before I start doing all the modifications you suggest, I should tell you that on Firefox everything works beautifully. I don't think I have moved anything. If you have time, drop me a line. Cheers.
"Submit Query" appears when removing buttons
Status: Issue closed
How do I control which buttons to show?
Bergwitz: I'd like to remove the buttons for authors, as it's not in use om our site.
I'd like to include other buttons in addition to the 'default' set from EditToolbar.
Status: Issue resolved
IDB: Is it simply a case of editing the php file and adding the extra buttons into the arrays?
4-Mar-2009 IDB: Thanks, Dave -- will test this out on my site.
5-Mar-2009 IDB: Works well. I might, if I get time, add to your FAQs a list of the icon numbers so people can see where they can position their new icons between existing icons.
17-Mar-2009 IDB: Found the time (displacement activity), so created this table of the array numbers, as promised.
Comment : you left an old code for "Center" and "Right" --> you have to remove the 25 in "%25center%25" and "%25right%25" in the php script.
How can I customise the markup for each button; for example I want to change the simple table markup, use thumblist recipe rather than attach, and add tooltips to the link markup, or do I just change the recipe? simon May 26, 2013, at 03:46 PM