Hello everybody,
I just installed MODx, and I have a very basic question to ask. How would I include a snippet (say, eform or ajaxsearch) on 1 page only? Is it a template change or do I include the snippet code directly in the WYSIWYG editor? I am not sure how to do this. My goal is to have eform on the Contact page only. How would this work? Any help would be greatly appreciated.
Thanks.
If you put the snippet call in the content section of that document, that’s the only page it will appear on. You can do it with the WYSIWYG editor, or choose to edit in raw HTML mode and put it in that way.
Bob
Thank you for replying. So you are saying that I just type the snippet call directly into the WYSIWYG editor and it will be on that page only?
Thanks.
Yes, that’s what BobRay is saying, put the call in the content area of the single page you want it on.
eg. your contact page
Thank you both for your help. I just implemented my contact form, and it works out nicely. Thanks again.