Log message #109573

# At Username Text
# Aug 7th 2008, 11:21 loki_racer bunk
# Aug 7th 2008, 11:21 _psychic_ franko: still got the same error after you cleare the files?
# Aug 7th 2008, 11:21 ADmad loki_racer: not with inline false...
# Aug 7th 2008, 11:20 franko psychic: deleting the tmp/cache/*/* files on the server...
# Aug 7th 2008, 11:20 loki_racer so you can't have layout->element->element to include js?
# Aug 7th 2008, 11:20 loki_racer oh damn
# Aug 7th 2008, 11:20 _psychic_ franko: what didn't work?
# Aug 7th 2008, 11:20 ADmad loki_racer: look pal just make sure that statment is in a view or in an element which is called by a view and it will surely work..
# Aug 7th 2008, 11:20 loki_racer that does not work but when layout calls right_column and calls element info it is capable of including the js files
# Aug 7th 2008, 11:19 franko at first it didn't work, but I took a fresh cvs checkout and got this new error - yay!
# Aug 7th 2008, 11:19 franko no, just files
# Aug 7th 2008, 11:19 loki_racer layout calls element right_column which calls element poll
# Aug 7th 2008, 11:18 _psychic_ franko: I hope you didn't delete directories in there
# Aug 7th 2008, 11:18 ADmad loki_racer: and who calls the *another element* ?
# Aug 7th 2008, 11:18 jaredhoyt loki_racer: can you not consolidate that code? that's a lot of requests =P
# Aug 7th 2008, 11:18 _psychic_ no
# Aug 7th 2008, 11:18 _psychic_ mmm
# Aug 7th 2008, 11:18 franko ever seen that one?
# Aug 7th 2008, 11:18 franko _psychic: deleting /tmp/cache/*/* seemed to work somewhat, but I have a new error where class Object is not found...
# Aug 7th 2008, 11:18 loki_racer and it all works on any page but the main page
# Aug 7th 2008, 11:18 loki_racer the element is called from another element
# Aug 7th 2008, 11:17 ADmad *is called
# Aug 7th 2008, 11:17 ADmad loki_racer: if the element it called from layout itself then also it wont work..
# Aug 7th 2008, 11:17 loki_racer using this code http://pastebin.com/d73023dbb
# Aug 7th 2008, 11:17 loki_racer http://www.after-the-blast.com/ on the right column there is a poll element, it has about 20 js files that are included with $javascript->link('jqchart/json');
# Aug 7th 2008, 11:17 tbranyen this is actually really intuitive
# Aug 7th 2008, 11:16 tbranyen woot $this->Element->exists() works
# Aug 7th 2008, 11:16 loki_racer and it won't work, any other page will do it, but not /index
# Aug 7th 2008, 11:15 tbranyen well actually... will read return null if it doesn't exist or ""?
# Aug 7th 2008, 11:15 loki_racer as a test, yes, but I tried it on elements called from this page also
# Aug 7th 2008, 11:15 ADmad loki_racer: this statment <?php $javascript->link('effects.core.min',false); ?> is in the layout itself isnt it ?
# Aug 7th 2008, 11:15 tbranyen only issue with read
# Aug 7th 2008, 11:15 jYeckel or assign the id and do a read??
# Aug 7th 2008, 11:14 jYeckel tbranyen: run a find?
# Aug 7th 2008, 11:14 loki_racer ADmad: I can paste the code, or show it to you live, it won't do it
# Aug 7th 2008, 11:14 _psychic_ he put it in there last minute
# Aug 7th 2008, 11:14 _psychic_ hehe
# Aug 7th 2008, 11:14 tbranyen >_<
# Aug 7th 2008, 11:14 ADmad loki_racer: it will work from any view or an element called from view
# Aug 7th 2008, 11:14 tbranyen it does
# Aug 7th 2008, 11:14 _psychic_ just output it in the layout