plugin:usercss
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:usercss [2010-11-19 00:04] – [Discussion] 152.137.71.222 | plugin:usercss [2023-12-21 15:44] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : rrotta@informatik.tu-cottbus.de | email : rrotta@informatik.tu-cottbus.de | ||
Line 13: | Line 13: | ||
tags : style, editing | tags : style, editing | ||
- | downloadurl: | + | downloadurl: |
+ | bugtracker : | ||
+ | sourcerepo : | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | + | ||
- | * {{http:// | + | |
In addition two event hooks have to be inserted into '' | In addition two event hooks have to be inserted into '' | ||
Line 55: | Line 58: | ||
// now walk the files | // now walk the files | ||
+ | </ | ||
+ | |||
+ | Patch location in Binky: | ||
+ | |||
+ | <code php> | ||
+ | // cache influencers | ||
+ | $tplinc = tpl_basedir($tpl); | ||
+ | $cache_files = getConfigFiles(' | ||
+ | $cache_files[] = $tplinc.' | ||
+ | $cache_files[] = $tplinc.' | ||
+ | $cache_files[] = DOKU_CONF." | ||
+ | $cache_files[] = __FILE__; | ||
+ | |||
+ | //>>>>>> | ||
+ | trigger_event(' | ||
+ | //<<<<<< | ||
</ | </ | ||
Line 230: | Line 249: | ||
Can someone give an example of how this works? | Can someone give an example of how this works? | ||
- | 1. Installed the plugin via plugin manager. | + | - Installed the plugin via plugin manager. |
- | 2. Created a page called usercss and put this in it: | + | |
- | %%<code css> | + | |
div.dokuwiki h1 { | div.dokuwiki h1 { | ||
border-bottom: | border-bottom: | ||
font-size: 170%; | font-size: 170%; | ||
} | } | ||
- | </ | + | </ |
- | 3. Reloaded a page that uses the h1 tag expecting to see a big 25 pixel bottom border, but there was no change to the h1 tag. | + | |
+ | > Please look at [[plugin: |
plugin/usercss.1290121499.txt.gz · Last modified: 2010-11-19 00:04 by 152.137.71.222