Loading...
 
Features / Usability

Features / Usability


Wiki Blasphemy

United Kingdom

I'm sure I'll insult someone somewhere with this but;

how might I go about adding new tags to the Wiki syntax in tikiwiki??

Basically I want to add a formatting method kind-of like the ~np~ tags but leaving line-breaks in place, the plan is to use this to drop sourcecode of programs onto wiki pages so that people can collaberatively work on them and stuff.

Whereabouts is the syntax located? Could a PHP Tag editor be made? (I might have a go at this if I find the tags)

thanks for the help wink

RW

United Kingdom

hey there!

Have you heard about the {CODE()} plugin?

This is contained in a code plugin


You can see good examples of its use in the Guides on http://mods.tikiwiki.org

Damian


United Kingdom
Oh it also does coloured PHP syntax highlighting too wink

United Kingdom

Er.. I'm only finding a JScript plugin there which, although very useful looking, doesn't appear to be the code plugin confused .

Where might I accquire a copy of this valuable piece of kit?

United Kingdom

> RussWilde:
> Er.. I'm only finding a JScript plugin there which, although very useful looking, doesn't appear to be the code plugin confused .
>
> Where might I accquire a copy of this valuable piece of kit?

Its in all TikiWikis !

The Guides on that site, use it to seperate the blocks you type etc. The Howto create a style is a good example the green blocks in the wiki page is the code plugin. wink

Click wiki help when your editing a wiki page, then click Show Plugins Help. and its all there infront of you biggrin

Damian


Canada

From any good Tiki upload serverrazz
Check PluginCode maybe.


United Kingdom

> RussWilde:
> Er.. I'm only finding a JScript plugin there which, although very useful looking, doesn't appear to be the code plugin confused .
>
> Where might I accquire a copy of this valuable piece of kit?

Its in all TikiWikis !

The Guides on that site, use it to seperate the blocks you type etc. The Howto create a style is a good example the green blocks in the wiki page is the code plugin. wink

Click wiki help when your editing a wiki page, then click Show Plugins Help. and its all there infront of you biggrin

Damian


United Kingdom

Yep, there it was the whole time, What a brilliant feature!
This makes tikiwiki even MORE useful than it was before!
Hooray!!

And Also Thanks smile

RW


United Kingdom

So...
Whereabouts in the tiki-grand_scheme.php?of=things is this plugin stored / installed
and is it going to be easy to modify?

Just want to remove that annoying little niggle where it numbers the line you include the tag on, even when the tag is the only thing on that line.

Also there isn't much documentation on the syntax highlighting you mentioned, that I have found. How do I go about getting that to work (Does it require a stylesheet or some list of colours?)

Thanks,
RW


Canada
As other plugins this one should be in tiki/lib/wiki-plugins/

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.