hi all!
i want to make a snippets code to get a page title and a little of the page's text ( or add a input text in admin page control to have the text from there)
and put the snippet in the template and show the snippets randomly.
thanks all :-)
and the question is..........?
How can i do that? any one can help?cx
Still not really sure what you want. Do you want the page title of the current page...or some random page? If you want to display 'a little of the pages text' should we assume that all pages have a WYSIWYG section? Other sections? Do you want to display the snippet randomly or to have the snippet display the output from random pages? It's hard to answer a such a vague question...please be much more specific.
I don't want the page title of the current page
I want to snippet display the output from random pages WYSIWYG .
Thank you all
And why don't you use the droplet random_wysiwyg for this?
Because i want to put it in the template.
Do it...........
Quote from: sayf_theone on October 28, 2009, 11:43:24 AM
Because i want to put it in the template.
That's what a droplet is for. :-D (Among others...)