Subscribe: RSS
  • Add, edit, (un)publish and delete document from front end without manager login.

    The snippet simply add a bouton bar : Add - Edit - (Un)Publish - Delete for the webgroups you want (anonymous post can be allowed). Manager user have full rights, so to see the complete bar, log you in the manager or set the group parameters.
    The Edit button display an eForm whith the fields and TV you want to edit.

    The documentation about installation and use is in the attached zip .

    Check if you get the last version, RTFM, check if you prefixed tv names and feel free to send bug report, money ?, wish and all advices about improving security.
    Wiki Catalogue System Howto Outdated

    Notes:

    • All the update will be attached in this first post.
    • Don’t forget to update snippet and chunk for each new version. You can use the module for easy install.
    • The version’s number is only present in the file fdm.class.inc.php, others files version are not updated.
    • There is problems with cached pages. Again ?

    • I’m not a programmer and my english is so bad.

    I hope you like it.
      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
    • Hi Soda,

      i wanted to test your snippet but I cannot untar the archive.
      Could you provide another one in zip format for instance.

      thx

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • no problem check in few minutes
        Edit: Added in the first post
          MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
          MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
        • THX smiley

          I’ve quickly looked at the code and I see at least one feature to add => multilingual support.

          I will give this a try this afternoon and will report.

          :-)
            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • I add it in the Todo list, but the most of strings are in templates and are easy to change. I’m waitting for your report smiley
              MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
              MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
            • Just tried to install to take a look, this is what I get. Fresh install of 0.9.6RC3.

              PHP error debug
                Error: 	CFDM::include_once(/var/www/modx/includes/fdm.db.class.inc.php) [function.CFDM-include-once]: failed to open stream: No such file or directory	 
                Error type/ Nr.: 	Warning - 2	 
                File: 	/var/www/modx/assets/snippets/FDM/fdm.class.inc.php	 
                Line: 	102	 
                Line 102 source: 	if (!class_exists('FdmDocument')) include_once($modx->config['base_path'].$this->config['path'].'includes/fdm.db.class.inc.php');
              • Check these:
                1 have you the correct base_path in the MODx Configuration ?
                2 the file is present in /assets/snippets/FDM/includes/fdm.db.class.inc.php ? and has correct permissions ?
                  MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                  MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                • Soda,

                  This looks BEAUT-I-FUL! This is one thing that I felt MODx really needed. Will test it out today.

                  Chuck
                    Chuck the Trukk
                    ProWebscape.com :: Nashville-WebDesign.com
                    - - - - - - - -
                    What are TV's? Here's some info below.
                    http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                    http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
                  • Quote from: Soda at May 19, 2007, 12:15 PM

                    Check these:
                    1 have you the correct base_path in the MODx Configuration ?
                    2 the file is present in /assets/snippets/FDM/includes/fdm.db.class.inc.php ? and has correct permissions ?

                    base_path is set correctly
                    File is there and correct permissions (changed permissions and still the same error.)

                    I just tried on my live test site and I get the same error. huh Still playing around with it.
                    • undecided And the first bug is for YankeeDeuce !
                      Try the new posted file, you just need to update the fdm.class.inc.php and the snippet call the name of the parameter was bad:
                      $path = $modx->config[’base_dir’] . ’assets/snippets/FDM/’;
                      $FDM->SetP(’path’,$path);
                        MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                        MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]