[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] menu of items problem
Hello,
1)I have small problem with menu, I need to change menu list (on construct
something menu) and get only names of categories), I'm using
[loop prefix=box
search="
fi=area
st=db
tf=sort
ac=0
ac=0
co=yes
sf=sel
op=eq
[if scratch left_bar]
se=[scratch left_bar][set left_bar][/set]
[else]
se=left
[/else]
[/if]
sf=which_page
op=rm
[if scratch page_class]
se=all|[scratch page_class][set page_class][/set]
[else]
se=all|@@MV_PAGE@@
[/else]
[/if]
"]
[set deb_item][box-exec bar_link]area[/box-exec][/set]
addItem(' [box-exec bar_link]area[/box-exec]', '#top', '',
'[deb_item]'); //this is javascript function
[set found_cat][/set]
[/loop]
endMenu();
I need to get out all spaces from [box-exec bar_link]area[/box-exec] -
category name, I can do it in perl, but I don;t know how send this variable
to perl. Can you help?
2) This loop implement to previous loop for looking into categories and list
all items, but [cat-exec bar_link]cat[/cat-exec] shows all(fonts, a href,
....) and I need to get only item name in one parametr and in another get
ahref. How can I do this?
[set found_cat][/set]
[loop prefix=cat
search="fi=cat
st=db
tf=sort
tf=name
rf=code,
name
sf=sel
se=[box-code]
" ]
addItem('[cat-exec bar_link]cat[/cat-exec]', '');
[/loop]
Thanks a lot!
George
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users