We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12983
    • 108 Posts
    I have some Web Users who have the rights to create and submit news (title, introtext, content, pubdate) in the site.
    This can be done with the NewsPublisher, but we do prefer using FDM.
    Btw, using NewsPublisher, FDM, or whatever (better if FDM because we need it’s features, but we can adapt ourselves if required as long as FDM features are guaranteed with other solutions), we would like some directions from you other MODx gurus out there, to accomplish the following task:

    not only a title, an introtext, a content and a pubdate should be associated with a news article (yes, longtitle is omitted because we don’t need it - so if your suggestions require a blank longtitle field, we do have it): the Web User should have in the form the possibility to upload and attach whatever number of images, and whatever number of files.

    Then, we would like also Ditto (or whatever) to let users reading that news-article with attached stuff, present the attached content (images like clickable thumbnails, and files like clickable and downloadable links). You can click some of the news in this page as an example (some of them have no attachments, some others have just photos, some others have just downloadable files, and some others have both).

    We hope you can give some help, thanks.

    ---
    UPDATE:

    Here it is an example with several images and several files attached.
      • 7231
      • 4,205 Posts
      Maybe you could use MaxiGallery to handle the images. You will not be able to do it on the same form but you could do it on the same page. With maxiGallery if you have admin permissions (either as a manager or as a defined web user group) you get an administration button to handle the images.

      Not sure about the files though.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 12983
        • 108 Posts
        Quote from: dev_cw at Jun 04, 2008, 01:11 PM

        Maybe you could use MaxiGallery to handle the images. You will not be able to do it on the same form but you could do it on the same page. With maxiGallery if you have admin permissions (either as a manager or as a defined web user group) you get an administration button to handle the images.

        Thanks, maybe this could be the way to go for images, even if I can’t imagine how all the data can be submitted pressing a SUBMIT button, if the form is not unique.

        Quote from: dev_cw at Jun 04, 2008, 01:11 PM

        Not sure about the files though.

        Bad news... we hope there is a way.

        PS: here it is an example of a news-article with several images and several files attached.
          • 12983
          • 108 Posts
          OT:

          dev_cw, now you’re in let me notify an error in your Snippet call anatomy wiki document:

          First, you say:
          Also note that when nesting snippets within snippets you need to alternate the cache settings with the outside snippet uncached [! !] and the nested one cached [[ ]].

          ...then, you say:
          Also if embedding snippets within snippets remember to alternate the cache setting by setting the outer snippet to cached [[ and the inner one to uncached [!.

          They seem to suggest one the opposite of the other...
            • 7231
            • 4,205 Posts
            Thanks for pointing out the error in the wiki, I thought I had fixed that before but must have overlooked the second one. rolleyes
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don't know what it is.
              Do you, Mr. Jones? - [bob dylan]