Thank you, Kent.
That was it.
Announcement
Collapse
No announcement yet.
Category_Load_Code does not return anything
Collapse
X
-
P.S. to Miva: actually, there are times when it would be helpful to be able to use local variables this way. I'd like to have "&mvt:local:xxxxx" entities that work like"&mvt:global:xxxxx." Please put that on the wish list.
Leave a comment:
-
A simple mistake: your call to Category_Load_Code is storing its results in l.current_category. That's a local variable; I don't think you can reference those with &mvt: entities. Try changing it to l.settings:current_category, and I think it will work.
Leave a comment:
-
looks correct to me but do not use hyphen in codes.
01-bands-1_leather change to
01_bands_1_leather and try again
Leave a comment:
-
Category_Load_Code does not return anything
The following code supposed display category information, but it is all blank.
Code:<mvt:assign name="g.feacat" value=" '01-bands-1_leather' " /> <mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code( g.feacat, l.current_category )" /> Name: &mvt:current_category:name;<br> Image: &mvt:current_category:image;
s there anything I have to do before I can use library module functions?
Thanks in advance
Tags: None
Leave a comment: