We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30884
    • 142 Posts
    Bump again I’m afraid. Is there any dedicated (as it gets) support thread for this or has this been superceded by another front end news adding and editting snippet?
    Cheers
    TXRX
      p i x e l p u s h e r e x t r o d i n a i r e
      A x i s A n i m a t i o n . c o m
      • 30884
      • 142 Posts
      Has anyone managed to resolve how to keep the footer chunks out of the news content option when editting the articles using news manager?
        p i x e l p u s h e r e x t r o d i n a i r e
        A x i s A n i m a t i o n . c o m
        • 32319
        • 129 Posts
        Quote from: sottwell at Nov 08, 2006, 10:56 PM

        I’ve been struggling for several days now to add TVs to the NewsEditor. I’ve got them editable nicely in creating new documents, but still having a problem in updating them when editing an existing document.

        Sottwell, did you end up having any luck with this? Turns out this is exactly what I need. I have a press release with 4 custom TVs that NewsEditor apparently will not support at all. Seems to be a common problem. Thanks!
          "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
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          No, I gave up on it. I was only doing it as a matter of interest; I’ve never had any reason to not use the Manager.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 32319
            • 129 Posts
            Quote from: sottwell at Jan 03, 2008, 05:35 AM

            No, I gave up on it. I was only doing it as a matter of interest; I’ve never had any reason to not use the Manager.


            Yeah, neither have I. A client wanted a simple front end work flow for adding press items and job postings so I was trying to put something together.

            As a matter of info to others I ended up working out a fairly decent setup where I unpublished the NewsManager/NewsEditor pages then created a new account for the manager and pointed it to my manager pages on login. The account is set up with minimal content editing permissions in rules and given the ability to run Modules. The user can then log into the manager, use the front end features to create, edit and delete pages but then use the QuickEdit features to edit/update the 4 additional custom TVs. It is not ideal with the two different interfaces for editing data but it functionally works.

            Few other notes that came up while figuring out this process, the manager account must have backend access, if not, the QuickEdit plugin displays the manager logout page when you try to open a TV for editing. The reason I did not use Web users at all was to avoid the double login requirement. In the past, I have had problems having a user log into the manager and the web users, For example, the users logging out of one logs out of the other. Also, just the hassle of logging in twice.

            This obviously will not be a solution for those that can’t give permission to people to edit all site content (say for public use).

            Cheers.
              "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
              • 7231
              • 4,205 Posts
              Not sure if it has been mentioned in this post but FDM will handle TVs as well. The snippet is in beta but I have used it for adding job posts in the front end with no problems.
                [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]
                • 32319
                • 129 Posts
                Quote from: dev_cw at Jan 03, 2008, 06:53 PM

                Not sure if it has been mentioned in this post but FDM will handle TVs as well. The snippet is in beta but I have used it for adding job posts in the front end with no problems.

                Great, whats FDM? Took a look in the repository and did a search and saw nothing.
                  "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
                  • 7231
                  • 4,205 Posts
                  FDM = Front-end Document Manager

                  http://modxcms.com/forums/index.php/topic,14977.0.html

                  There is good documentation in the zip file. It uses eForm as the form engine so you can take advantage of eForm’s validation capabilities.
                    [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]
                    • 31471
                    • 206 Posts
                    I tried to use the following code in my rteTV’s Default Value as the documents say:
                    @EVAL
                      if (isset($_REQUEST['editid']) && $_REQUEST['editid'] != '') {
                        $editid = $_REQUEST['editid'];
                        $tbl = $modx->getFullTableName( 'site_content' );
                        return $modx->db->getValue( "SELECT content FROM $tbl WHERE (id = $editid)");
                      }
                      return '';


                    It lead to this error message even after removing the (extra?) space before "SELECT and adding the modx_ prefix to the table-name:
                    [tt]Parse error: syntax error, unexpected $end in K:\xampp\htdocs\modx\manager\includes\tmplvars.commands.inc.php(60) : eval()’d code on line 2[/tt]

                    Then I tried this instead:
                    [[DynContent? &docid=`[+editid+]`]]

                    ...and it does the job!!! grin


                    A few problems left in the NewsManager:
                    1. The "Hide/Show in menu" button doesn’t get its label.
                    2. The "Publish/Unpublish" button sticks to "Unpublish" even after doing its job.

                    And another question about the FCKEditor in NewsEditor: it is showing up with Custom Toolbar Set, although in Manager>Tools>Config the Advanced Toolbar Set is choosen. Where to set this for the frontend instance also?

                    Very nice pair of Snippets anyway!
                      • 10896
                      • 76 Posts
                      Has there been a solution yet to allow NewsEditor to edit template variables for a document? We want newsManager/newsEditor to manage blog posts on the front-end for users but can’t find a way to designate categories which is a tv for these documents.

                      Thanks