Forums / Cotonti / Support / Question about chili plugin

ez
#1 2010-02-05 04:00
What does the chili plugin do ???

thnx
==- I say: Keep it EZ -==
Trustmaster
#2 2010-02-05 04:10
It highlights the code using
[highlight=LANGUAGE]
code here
[/highlight]
bbcode.

Example:
function foo($bar) {
  echo $bar;
}
May the Source be with you!
Alex300
#3 2010-02-05 04:34
but it doesn't work width jQuery 1.4 :(
Есть миры, не здесь, там, где небеса горят, и моря засыпают, и реки дремлют; люди сделаны из дыма, а города – из песен. Где-то опасность, где-то несправедливость, даже где-то остыл чай. Идем Эйс, у нас много работы!...
...Sorry for my english...
Бесплатные расширения для Cotonti: https://lily-software.com/free-scripts/
ez
#4 2010-02-05 05:08
So basically, it is for highlighting code only.... ???

So if I do not use code (like php, c++ ....) then I can disable this plugin ?

The reason I ask, is that it makes several server requests (js files) and css.
I want to speed optimize my site, by leaving that stuff out.

Less requests = speed
==- I say: Keep it EZ -==
Xerora
#5 2010-02-05 05:31
Well if you're not using it for code highlighting, go for it.
ez
#6 2010-02-05 05:55
Thnx, i disabled it, it saved me requests and loading time.

Now I have to take it manually out off markitup and disable chili.
How many sites will use code and highlighting i wonder....

Maybe this is an idea.. (Make it optional)

any way... thnx for the information :)
==- I say: Keep it EZ -==
5uper Mario
#7 2010-02-05 09:36
# ez : How many sites will use code and highlighting i wonder....

This site uses it :D
and so does Mine :)
Very useful for coding style sites ;)
Trustmaster
#8 2010-02-05 16:26
This plugin is disabled by default. And there is no reason to "take it manually out of markitup", because it has a configuration option for that (which is by default off too).

However, this plugin won't be present in default package in 0.7.0. It will be available as a third-party plugin instead.
May the Source be with you!