Displaying 20 results from an estimated 2000 matches similar to: "act_as_tree with ordered items"
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
libswfdec/swfdec_html_parser.c | 24 +++++++++++++++++-
libswfdec/swfdec_text_field.c | 2 +
libswfdec/swfdec_text_field_movie.c | 9 ++----
libswfdec/swfdec_text_field_movie_as.c | 3 ++
libswfdec/swfdec_xml.c | 5 +++
test/trace/xml-escape-5.swf |binary
test/trace/xml-escape-6.swf |binary
test/trace/xml-escape-6.swf.trace
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
libswfdec/swfdec_as_array.c | 88 +-
libswfdec/swfdec_xml.c | 17
libswfdec/swfdec_xml_node.c | 23
test/trace/Makefile.am | 28
test/trace/array-no-object-5.swf |binary
test/trace/array-no-object-5.swf.trace | 14
test/trace/array-no-object-6.swf |binary
test/trace/array-no-object-6.swf.trace | 14
2006 Feb 07
1
onHover: can u explain me this function ?
In Sortables, we have a function onHover:
onHover: function(element, dropon, overlap) {
if(overlap>0.5) {
Sortable.mark(dropon, ''before'');
if(dropon.previousSibling != element) {
var oldParentNode = element.parentNode;
element.style.visibility = "hidden"; // fix gecko rendering
2009 Nov 25
1
CMS act_as_tree and modular architecture
I am developing a CMS using act_as_tree for the pages and act_as _list
to order them (as shown on Railscasts). Each page can load a custom
ERB template, for instance I have one to display a standard article
and one to display a group of articles (so acting as a category of
underling articles).
If I want to develop a forum, let''s say that I have a page with id 5,
with name forum, how can
2008 Mar 12
0
CMS act_as_tree problem and template_root
Hi,
I want use the comatose CMS plug in for creatin one application.
I installed all the things.
When I run this application I got this error.
"template_root".
Please clear my problem. And How can I create one application by using
the comatose. Please send the sample application if available.
Thank you,
srinivas rao.pala
--
Posted via http://www.ruby-forum.com/.
2007 Jul 05
0
act_as_tree, belongs_to and has_many foreign keys incorrect
Two models:
class Project << ActiveRecord::Base
has_many :files
end
class File << ActiveRecord::Base
has_one :project
acts_as_tree
end
Inside of the project model, when creating a new product, I want to
store the hierarchy of files within it.
If I do,
my_top_level_file = my_project_object.files.create(:file_name =>
''foo'');
2009 Aug 02
1
Provide missing image
Hi
I have an application where people can upload avatar-like images to
the site. When I show the images I want to show a placeholder image if
no image has been uploaded for that user.
I was thinking of overloading the image_tag helper to check for
existance and provide :default => "path/to/default/image" for the
image to show in case the primary one does not exist.
So my questions
2005 Nov 07
2
IE vs. Firefox - little programming help needed
Hello,
I was wondering whether somebody can give me a little hand on this:
I have the following code: "var img =
this.el.previousSibling.getElementsByTagName(''IMG'')[0];"
While IE correctly returns the image object, Firefox returns an error. What
I discovered so far is that this.el.previousSibling returns the DIV tag an
IE which is correct - however, Firefox
2015 Sep 07
0
gnu_getopt.h / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
gnu_getopt.h by Eric Lindblad 07-09-2015
http://www.ericlindblad.blogspot.com
Subsequent to the compile of libxapian.so.22.6.8 and libxapian.a
there are executable source files using gnu_getopt.h which has
an #ifdef __CYGWIN__, perhaps that file would need attention in
order for compile to proceed on my modified SFU Interix 3.5 setup
The 1 'ambiguous overload' report on SFU Interix I
2015 Sep 07
0
test 1 / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
Test 1 by Eric Lindblad 07-09-2015
http://www.ericlindblad.blogspot.com
The 'ambiguous overload' error cited 28-08-2015 was
unaffected from adding the below #ifdef following
incidents of the string #include <sys/types> in all
relevant xapian-core-1.2.21 files.
http://sourceforge.net/projects/libuuid/
libuuid-1.0.3.tar.gz
the following lines can be added to uuidP.h from the
2015 Sep 10
0
Fwd: Interix issue resolved / Eric Lindblad
Eric, please keep these discussions on list.
J
> Begin forwarded message:
>
> From: Eric Lindblad <geirfuglaps at yahoo.com>
> Subject: Interix issue resolved / Eric Lindblad
> Date: 10 September 2015 10:01:06 BST
> To: James Aylett <james-xapian at tartarus.org>
>
> J.,
>
> Looks like the 'ambiguous overload' error* was due to Interix gcc-3.3
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
2016 Dec 08
2
remotetcp_chert
Dear Olly Betts,
same 32 bit
compiler version
hardware
OS
OS version
as here (where remotetcp_chert passed and skipped 3)
xapian-core-1.2.21.tar.xz
http://nurmi-labs.blogspot.com/2015/10/xapian.html
./apitest backend remoteprog_brass: All 225 tests passed, 3 skipped.
./apitest backend remotetcp_brass: All 225 tests passed, 3 skipped.
./apitest backend remoteprog_chert: All 225 tests passed,
2006 Feb 23
5
Access to session from plugins
Hi!
I am writing an acts_as_ plugin and i need to access session data
from it. But i cant find any information if this is possible? And if
it is, how.
Cheers!
Mathias
2006 Jan 15
2
acts_as_tree & acts_as_list for a single model?
Hi,
If I have a db table
categories
- id
- name
- parent_id
- position
is it alright to have the Category model act_as_tree and for each
level act_as_list?
class Category < ActiveRecord::Base
acts_as_tree :order => :position
acts_as_list :scope => :parent_id
end
Thanks,
Peter
2015 Sep 05
1
question / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
Question by Eric Lindblad 05-09-2015
http://www.ericlindblad.blogspot.com
I would enquire if anyone has an opinion on whether it might be a possibility that adding the following #ifdef in certain xapian-core-1.2.21 /common and/or /backends files following the string #include <sys/types.h> might move closer towards resolution the 'ambiguous overload' issue.
+#ifdef __INTERIX
+#
2015 Jun 19
1
REPLY: make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
Dear Olly Betts,
I think the tests for the perl module Search-Xapian-1.2.21.0 might be fewer in number than the perl tests included with xapian-bindings-1.2.21. If some of the tests have similar but modified content I do not know. I am not so skilled as to interpret the compared test results.
If you want to suggest a paired earlier version of Xapian to a specific xapian.bindings version,
I might
2016 Dec 16
1
testing
Having modified software packages' creation scripts some of which use patches, I'm familiar with their use and authorship. It was the specific patch Olly mentioned which I did not know yet if it was needed or indicated.
Obviously autoconf is indicated for a bootstrap when xapian is obtained from Github, but, the package maintainer for the MSYS2/MINGW xapian-core1.4.1 had not listed
2005 Nov 10
1
Effect.BlindDown: element.style has no properties
I''m running Typo, and after a comment is successfully posted, Typo
runs this snippet of Javascript:
new Effect.BlindDown($(''commentList'').lastChild);
which throws the following error under Firefox 1.5rc1 (OSX)
Error: element.style has no properties
Source File: http://laughingmeme.org/javascripts/effects.js
Line: 754
The problem being that lastChild() is returning
2012 Sep 24
1
Traffic Accounting
Hi,
I'm trying to find out how to do traffic accounting with Dovecot 2.x,
preferrably v2.0.9, preferrably on CentOS 6.
I've previously asked on IRC, but there was little feedback, and my
understanding is now this list is the preferred media for such
inquiries. If I recall correctly, some weeks ago I was told that traffic
accounting is not officially supported on Dovecot 2, but that there