Tuesday 28 January 2003 2:46:05 am
Ah, I didn't realise the first parameter was related to a module within kernel. I thought at first it matched a class group, ie 'fetch within group'... Hope you don't mind the included code. I think my fetch function is now the simplest it can be... My code for displaying the contents of the folder is now: {let test=fetch(content,list,hash(parent_node_id,220))} i am here. {section name=MyList loop=$test} i am now here. {node_view_gui view=line content_node=$MyList:item}
{/section} {/let} But when run the code does not enter the section loop. Is there a way to display the contents of the list returned by fetch? It appears the list is emtpy, which is odd as i have two published objects underneath node 220. As another test i added an article to that node and found that fetch did return with it, but still ignores my other objects. It looks like ive done something wrong with the class and its instances, and fetch is not picking them up. I could go into more detail here, but from what ive said so far is there anything ive obviously missed? looking forward to more docs in rc2 :) paul
|