<![CDATA[ Newbie Questions - My Forums]]> https://forums.modx.com/thread/?thread=15532 <![CDATA[Re: Newbie Questions]]> https://forums.modx.com/thread/15532/newbie-questions#dis-post-83707

About conditionnal stuff have a look at PHx.

:-)]]>
heliotrope Feb 16, 2007, 12:43 PM https://forums.modx.com/thread/15532/newbie-questions#dis-post-83707
<![CDATA[Re: Newbie Questions]]> https://forums.modx.com/thread/15532/newbie-questions#dis-post-83706
I’d need to make a new template that includes several of these TV’s in the content area. So I’d make one [*name*] as a simple text field, [*bio*] as a wysiwyg, etc..

Then to make new pages, you use that template and the user clicks on each TV in the front end, gets a popup and enters the info. That’s pretty good.

What if you wanted to have a list view, though? Where each person’s name would be listed and you could click through to get the bio, etc? Would this require writing a custom snippet?

]]>
unclecheese Feb 16, 2007, 12:28 PM https://forums.modx.com/thread/15532/newbie-questions#dis-post-83706
<![CDATA[Re: Newbie Questions]]> https://forums.modx.com/thread/15532/newbie-questions#dis-post-83705
Structured Conent: that’s what TVs are for

Conditional TVs: that’s what @BINDINGs are for (or snippets or plugins ... you’ll find MODx allows you to do the same thing about 3 or 4 different ways)

:D]]>
rethrash Feb 16, 2007, 10:55 AM https://forums.modx.com/thread/15532/newbie-questions#dis-post-83705
<![CDATA[Newbie Questions]]> https://forums.modx.com/thread/15532/newbie-questions#dis-post-83704
-- Multisite deployment? I’ve heard this is possible with MODx, but not easy. What’s the status? Can I just have one instance of MODx to serve all of our clients? That would be much better than having to rollout this installation hundreds of times.

-- Structured content. A lot of our clients have specific needs for structured content, i.e. an "Our Team" page, in which they punch in several fields, (name of employee, biography, picture, email address, etc.), leaving the user responsible for only providing the data, not styling it in the WYSIWYG editor as a big blob. Of course, there are other needs for structured content, too.. calendars, class listings, dinner menus, you name it. Does MODx offer any out-of-the-box support for these needs? Are there any modules out there that would allow me to create these kinds of custom content classes?

-- Template variables. I really like the idea. Is there anyway to put an evaluation in your template to say "display this TV only if page is ... " Or do I have to make a separate template for each page that will use or not use it? Seems like an awful lot of duplicate code. Would it make sense to use a snippet to get the current page and determine whether or not to display that TV or not? And if so, what code to I need to determine the current page?

Thanks a lot for your help!!]]>
unclecheese Feb 16, 2007, 10:51 AM https://forums.modx.com/thread/15532/newbie-questions#dis-post-83704