I’m at the very beginning trying out modx. How do i assign a snippet to an article from the pull down menu in the page edit area - document settings - tab "snippets"?
thanx
Emil
You must type the snippet into the Content area yourself as that is only a list.
I have always felt that list is pretty pointless.
-
MODX Staff
- 1,535 Posts
It would be nice to be able to click a snippet in the list and have it placed in the content area, it completely baffled me the first time round when I click an item and it didn’t do anything.
I’m not sure how difficult that would be though, as i’m assuming it would need some RTE interaction.
Cheers, Garry
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
ahhhh thanx tha#s really easy and fast reply!
Garry, that would be difficult at the moment because we support multiple RTEs and each uses their own method of inserting html.
The best option would be to have the plugin register the method it must use to insert html and then pass that on to the list.
Quote from: garryn at Feb 05, 2006, 06:17 PM
It would be nice to be able to click a snippet in the list and have it placed in the content area, it completely baffled me the first time round when I click an item and it didn’t do anything.
I’m not sure how difficult that would be though, as i’m assuming it would need some RTE interaction.
Cheers, Garry
At the very least how about some kind of directions from the top letting you know it is just a list. Might also be nice to have a note telling you the syntax too. This really confused me the first time I saw that also.
"Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
-- Sydney Harris
Quote from: Emil though my [[UserComments]] appears, it doesn’t execute - - -
You probably have activated the cache for the page you are calling it from. Call the snippet uncached with the appropriate syntax :
[!UserComments!]
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
works! I must learn about the cache thing ...