Desc and Syntax of 'drupal_is_front_page

[driptn (print"[this code: [driptn (print (desc drupal_is_front_page))\] has this output: ")/] [driptn (print (desc drupal_is_front_page))/] [driptn (print"[this code: [driptn (print (syntax drupal_is_front_page))\] has this output: ")/] [driptn (print (syntax drupal_is_front_page))/]

Comments

Underscore in function name

Conventionally lisp uses dash '-' instead of underscore in function names. In fact dript treated underscore and dash the same. This has something to do with the PHP approach in the code. The function should be call (drupal-is-front-page). (funs) should convert all underscores to dashes but apparently I have missed it.

The word 'drupal' in front of the function names is to differentiate drupal related functions with the other dript's functions. I'm planning to implement namespace in dript so that the word 'drupal' can be omitted from the function name.

(drupal-is-front-page) in useful to display node or block content differently depending on whether the page where the node or the block is in the front page or not.

Currently this site disable dript in comment. I'm planning to apply access control for all dript functions so that only certain functions are allowed in comment, node or block.

thank-you for the explanation!

no text