search for: current_nod

Displaying 4 results from an estimated 4 matches for "current_nod".

Did you mean: current_node
2007 Jun 28
3
Img relocatable inside plugin
Hi, i''m searching to insert a relocatable image into a my plugin, but i don''t want to reimplement what was already done... i saw that in the gallery plugin there''s something like: <img src=\"{relocatable: #{imgname}}\"/> but i wasn''t able to reproduce this behavior.... How can i make this work? thanks, bye. -- -gaspa-
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
...s suggestion, they are welcome. Also in the implementation, I cannot evaluate the expressions in a clean binding because of the need to have a reference to the render_node method. It goes like: Kernel.eval(%Q[ #{node[''expr'']} do | #{node[''args]}| render_node(current_node, parent_node, binding) end ]) If somebody is interested and is willing to review my code, I would be very happy to hear their thought/ advice/... The code is available at http://www.cosinux.org/~dam/rxml.tar.gz Best regards, -- Damien MERENNE <dam-xqxBqOIvj5dAfugRpC6u6w@public.gmane.org...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...equest.POST['content'] + content = yaml.load(base64.decodestring(raw)) + udi = content['node']['identifier'] + except Exception, error: + print str(error) + return HttpResponseServerError('Missing required parameter: identifier') + + current_node, created = Node.objects.get_or_create(udi=udi) + current_node.state = 1 + current_node.save() + + # encode a keytab and return it + keytab = base64.encodestring("farkle") + + return HttpResponse("KEYTAB %s" % keytab) + +def config(request): + ""&quot...
2005 Dec 15
4
Acts_as_tree and routing
I''ve got an acts_as_tree structure which I want to be able to represent in the URL, with one field identified as the url component. In other words, if I''ve got this: def self.up create_table :nodes do |t| t.column :parent_id, :integer t.column :tag, :string end end and class Node < ActiveRecord::Base acts_as_tree end and what I want the urls to be is something