about breadcrumbs: rejetto, can you simply modify the code source with this line?
result:=result+xtpl(p, [ '%bread-url%', e, '%bread-name%', ad[ i]
,'%bread-idx%', inttostr(i)
]); //mod by mars 2009
He will add simply the variable
%bread-idx% which allows to obtain the level of the sub-directory with as value
0 for the root.
I know that you will still ask me to justify the usefulness of such a variable
. to me it just seems obvious that there is a small hole to fill