I've been having a similar problem. I'm trying to get clearsilver compiled on os x 10.4 to use it's ruby libraries. I got it compiled no problem on debian. I'm...
Hi, thanks for adding string.find in 0.10.4 (Change 2006/10/12 by griff - http://www.clearsilver.net/downloads/ChangeLog.CLEARSILVER-0_10_4). It works great! ...
I've added it to the docs. Its also easier now, at least from C, to add your own functions. See the cs_arg_parse and cs_register_function calls in cs.h I'm...
I am using Clearsilver + Python + Apache 2.X + mod_python + postgresql 8.0 on a system running FreeBSD 4.10 and as my application gets busier I am running into...
... hmm. I can't think of anything in particular that is ClearSilver specific. Yes, by default clearsilver will open each cs/hdf file, but it should...
Hi, I have separated the menu, and then include it in every page: page.c page.cst page.hdf and menu.cst menu.hdf In "page.cst" I just included "menu.cst". But...
In page.hdf you can do: #include "menu.hdf" Brandon ... -- program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages....
Is it possible to do something like this? <?cs set:iv1 = string.slice(CGI.ScriptName, 1, 2) ?> <?cs each:item = Menu ?> <?cs if:iv1 == name:item ?>selected<?cs...
Hi Folks, I've got a problem where the template structure I've got can lead to templates including themselves further down the include tree. This leads to an...
... I can fix the segfault, but not the infinite recursion. How is the recursion supposed to stop? ... So, you're saying that X includes Y which can include...
I'm curious as to the drive behind using Clearsilver for this application. Why not use XSLT to transform your XML data, or write your XML data with a DOM...
Dear All, We are looking For Perl & MySQL candidates for a CMMi Software company in Chennai Skill: Perl & MySQL Work Location: Chennai Exp: 2+Years If you are...
hi all, ... ncg=neo_cgi.CGI() ncg.parse() ncg.hdf.readFile(csDocsPath + "login.hdf") res = val.validator(ncg.hdf.top()) ... what is "top()" and what is its...
hi all, suppose we have read a hdf file and then we read another. what would occur? and, do we have access to first hdf file? in example: (Python) ncg =...
It returns the top node in the hdf tree, in this case it will return itself since it is the top node in the tree. Brandon ... -- "I need to either get a new...
... It loads both files into the hdf tree. Items with the same name in the second file will override the previous ones, items at the same level will appear...
hi all, how we can handle file uploads? I know that when we fill a form and send it. we can handle values by statements like: (in Python) ncg=neo_cgi.CGI() ...
There have been a couple messages on the group about using clearsilver for file uploads, see: http://tech.groups.yahoo.com/group/ClearSilver/message/429 ...
I am a newbie to CLearSilver and I am using CS on my TRAC template. I want to search a string to see if it ends in a file or a directory. The character I am...
Hello, You're looking for the string.find function (pass "." as the substr). For more information: http://www.clearsilver.net/docs/man_filters.hdf Regards....
Hello, I've looked over the documentation but I can't find any mention of being able to include a template from a template. Is it possible? Best Regards, ...
Hi, ... hehe - the documention of clearsilver is short, concise and really worth reading: http://www.clearsilver.net/docs/ maybe you will be especially...
I'm having trouble compiling on win using MinGW. Seems like the cgi lib is failing but I'm pretty new to compiling. It also fails all regression tests but when...
Damon Haidary
haidary@...
Jan 18, 2007 2:09 pm
915
Hi, I have read every page of your doco - and can not find out how to script using PHP in ClearSilver. Also, I am not even sure how to get ClearSilver working...
... There isn't a direct way to use ClearSilver with PHP. It would certainly be possible to wrap the ClearSilver libraries for use with PHP, but there's...
In case this helps anyone else, I figured I'd post some sample code I used to get a progress bar working with Clearsilver (Python back end) Caveats: * This...