-
- 283 Posts
Im sure this has been covered before .. but can i find it anywhere? can i heck as like so
heres what i want to do .. i have finally got the marquee widget working thnx to the fixes ..
and i want to call this in the marquee widget (called (*scroller*) that i have created ... i want this in it : [[scrollerlisting?startID=5&tpl=ScrollerListingTemplate&summarize=20]]
this is just a template for newslisting that shows only the titles .. the idea being that the latest news scrolls up the side of the site ... now the widget works with just plain text ... but when i use this snippet instead .. i get nothing .. so im sure im doing it wrong .. anyone got any ideas?
cheers guys
Martyn
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
- 283 Posts
Quote from: Djamoer at Feb 27, 2006, 02:29 PM
You can use it as a value inside a TV, when you’re using widget. MODx parser will parse the snippet tag while it’s being outputed as is, while if you put it in a TV with widget special outputing, the current value will be parsed first, before it’s being outputed.
Use @EVAL instead.
@EVAL $modx->getSnippet("scrollerlisting", array("startID"=>5, "tpl"=>"ScrollerListingTemplate", "summarize"=>20));
hope it works on your case.
hmm call to undefined function : getsnippet
.....
Sicnerely,
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
- 283 Posts
Ahhh! cool .. ill give it a try
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
- 283 Posts
dammit!
that didnt work either!
sorry to be a pain .. but if i give someone a login .. they wouldnt take a look and see what im doing wrong would they?
Many thnx
Martyn
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
- 283 Posts
YES YES YES !
that worked w00t !
thnx u r a star
Martyn
got it working with NewsListing as well!
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
- 283 Posts
Ha there is no stopping me now!
all my pages are going to be a nightmare of scroling content
Everytime you use Flash ... a puppy dies .....
R.G Taylor