Topic: repeating regions macromedia contribute  (Read 517 times)

Pages: [1]   Go Down

#1: 17-Nov-2007, 08:56 AM

rob21
Posts: 78

Hi
I have am working with a client who is used to using contribute to edit their previous websites.. I'm using modx for the new one and they have a couple of specific requirements.. They want to be able to add say a product to the products page.. On their previous website with contribute integrated all they had to do was click the + icon which would add a whole region. Inside this region was the editable h1, text description and an image. This would keep the style and formating of each of the products the identical and they couldn't really mess it up.. 

They also want to be able to do the very same thing with a video file instead of the image?

Is their a way of doing something similar to this in modx?

Thanked in advance
Rob


#2: 17-Nov-2007, 09:32 AM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,949

damn accurate caricatures...

WWW
If you had them add a page for each product, you could create TV's to represent the details, then use Ditto to create combined views of them.  Then, the TV's would provide the editing forms that would prevent them from destroying the layout.
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#3: 10-Nov-2009, 09:48 AM

57str@t
Posts: 2

    Hi there,

    I also need something like this, but i don't want the items to have their own page. I need to create a set that allows my client to add items to a list.

    Example:

    add new item. Have three or four fields
  • product
  • description
  • image ( clickable to enlarge in a jQuery lightbox )
  • image title and alt ( same for both so one field would suffice
[/list]

then "save". that item appears on the page, then the client can click "add" which allows them to add another item so on and so on....

but NOT HAVE TO CREATE A NEW PAGE... all of these items would just appear on one single page itself... how can this be done? I can't seem to figure out to make it so they can add new multiple times ( repeating region )

Thanks


#4: 10-Nov-2009, 03:41 PM

Foundation

OpenGeek
MODx Co-Founder
Posts: 6,949

damn accurate caricatures...

WWW
but NOT HAVE TO CREATE A NEW PAGE... all of these items would just appear on one single page itself... how can this be done? I can't seem to figure out to make it so they can add new multiple times ( repeating region )
If you don't want a page per item, then you'll need a custom database table representing the items, a page with a Snippet that responds to GET parameters which tell it which item to display, and a module UI (or additional controls/forms on the Snippet) for them to manage the items. This is not much different than creating a php file that would do the same thing. You'll also need a Snippet to iterate the items for rendering some kind of navigation.
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa
Pages: [1]   Go Up
0 Members and 1 Guest are viewing this topic.