-
☆ A M B ☆
- 265 Posts
This seems great!
When I call the TV in my template, e.g. [[*multiItemsGrid]] I get this on the page:
Is there a way to format the output using a micro-template or anything? Can I use placeholders on the page?
MODX Ambassador for Thailand. Managing Director at
Monogon, a web design and development studio based in Bangkok, Thailand. -
Follow me on Twitter.
you can use the getImagelist-snippet for now from imaglistTV.
-
☆ A M B ☆
- 265 Posts
Great that works nicely!
Is there a way to currently use the phpThumbOf snippet inside the getImagelist template? e.g.
[[!getImageList? &tvname=`multiItemsGrid` &tpl=`@CODE:<h1>[[+title]]</h1><img src="[[+image:phpthumbof=`w=380&h=200&zc=1`]]" /><p>[[+description]]</p>`]]
MODX Ambassador for Thailand. Managing Director at
Monogon, a web design and development studio based in Bangkok, Thailand. -
Follow me on Twitter.
how i do for enable cache system by htaccess
i will try with new install of modx 2.0.5 on server mutual of ovh
Quote from: Adam at Dec 16, 2010, 07:40 AM
Great that works nicely!
Is there a way to currently use the phpThumbOf snippet inside the getImagelist template? e.g.
[[!getImageList? &tvname=`multiItemsGrid` &tpl=`@CODE:<h1>[[+title]]</h1><img src="[[+image:phpthumbof=`w=380&h=200&zc=1`]]" /><p>[[+description]]</p>`]]
put it in a chunk and call it with
Can I swap "multiItemsGridTV" for the previous "multiItemsTV"? If not what would be the best way to convert existing values to be able to move forward with "multiItemsGridTV".
Looks to me like "multiItemsGridTV" replaces "multiItemsTV".
FYI to those still using "multiItemsTV"
2.0.5 throws an error on tpl file and will not let TVs to display in manager on resourse. Solution: (At least to make error go away, have not tested crud yet) Add {/literal} to the bottom of file (multiitems.tpl) before the </script> tag.
If you don’t get the error maybe you are on a newer version then me.
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"