|
ExtendedWikiStylesCSS1<< Reverse Headings | Cookbook-V1 | Date Time Stamp >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
![]() ProblemSome of the current methods for underline or bolding text are cumbersome, and still other styles don't exist, such as strike-through, and overline.
SolutionTo extend existing WikiStyles to support a larger number of styles, including overline, underline, bold, italic, strike-through, colored text, sub-scripts and super-scripts, blinking text, and any other styles covered by the CSS1 specification.
AuthorSpecial ThanksThanks to Pm (Patrick Michaud?, www.pmichaud.com), for creating PmWiki, and for sharing his knowledge and insightfulness which is what made this script possible.
Installation
include_once("local/scripts/extended_wiki_styles_css1.php");
DownloadDocumentationSee the example pages (Cookbook.Extended Wiki Styles? ) to see many examples of how to use this add-on. Also visit the W3C website and check their excellent article describing the various CSS1 styles and how they work at: http://www.w3.org/TR/REC-CSS1.
History
I installed this and it resulted in an error as soon as I edited config.php I started getting errors saying: Warning: main(local/scripts/extended_wiki_styles_css1.php): failed to open stream: No such file or directory in /var/www/wiki.it/htdocs/local/config.php on line 63 Warning: main(): Failed opening 'local/scripts/extended_wiki_styles_css1.php' for inclusion (include_path='.:') in /var/www/wiki.it/htdocs/local/config.php on line 63 Warning: Cannot modify header information - headers already sent by (output started at /var/www/wiki.it/htdocs/local/config.php:63) in /var/www/wiki.it/htdocs/pmwiki.php on line 394 When I commented out include_once("local/scripts/extended_wiki_styles_css1.php"); they went away. Is there a fix for this? What did I do wrong? Thanks -flickerfly Answer: I figured it out. Don't copy&paste everything from this page. The name of the hack is somewhat inconsistent. I had to remove _wiki from the name given so that it would be pointing to the right file in config.php. -flickerfly pmwiki-2.2.0-beta68 -- Last modified by {{flickerfly}}?
|