We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23
    • 61 Posts
    No running it locally should not be a problem, but if you are testing under windows ensure that all folders within your modx installation which are used for uploading are having the right permissions for writing data and check the useraccount your webserver is running with, this account also needs the right permissions on the filesystem.

    And download the latest version of advmedia: http://wiki.012h.de/doku.php?id=advmedia:download
      • 14774
      • 4 Posts
      ok thanks. I have decided to move to a web server and have since installed your module, but it doesn’t look the same as when I installed it locally. the images are broken under the module and i don’t have the modify and delete icons on the right hand side that were there locally. i didn’t install it any different. this is what comes up after i’ve installed... AdvMedia V0.1
      No entry for: myflashsample; as well as no penicon to upload files.
        • 23
        • 61 Posts
        advmedia 0.1 is outdated, since there are some new features available, 0.3 is the current version which you can download here: http://wiki.012h.de/doku.php?id=advmedia:download

        I’m not able to update my addons in the modx repository, so you need to download it from my wiki-page.

        When you have uploaded your modx to a webspace, ensure that the folder /assets/flash, /media, and /images are writable, means easily set a chmod 777 with your ftp-client on these folders.

        Also ensure that you have support for php-gdlib, some providers disable this module to prevent overloading a share webspace by its customers, which would explain why you don’t see the penicon in version 0.1



          • 14774
          • 4 Posts
          Thanks, I gave it a try... downloaded from your site again, re-installed, and it still states v0.1 on the home page side. on the actually module it states v0.3 but all the icons are broken and no penicons. i’m trying talk with my host about the php-gdlib you mentioned. Thanks again for your help and I apologize about the trouble.
            • 22058
            • 8 Posts
            Hi there, I just installed AdvMedia and I am having a bit of trouble with the mp3 player.
            The player is showing up on the site but the song is not playing.. I looked at the source code and this is what it has:

            <script type='text/javascript' src='assets/plugins/advmedia/js/swfobject/swfobject.js'></script>
            
              <div id='cgej'>This div will be replaced</div>
            
            <script type='text/javascript'>
            
            	var s1 = new SWFObject('assets/plugins/advmedia/players/xspf/xspf_player_slim.swf','cgej','200','15','9','#ffffff');
            	s1.addParam('allowfullscreen','true');
            	s1.addParam('allowscriptaccess','always');
            	s1.addParam('wmode','opaque');
            	s1.addParam('flashvars','song_url=/assets/media/song.mp3');
            	s1.write('cgej');
            
            </script>
            


            I’m thinking maybe the line:
            s1.addParam('flashvars','song_url=/assets/media/song.mp3');


            needs to be changed so that there isn’t a "/" before assets?
            but I am not sure how to change this.

            I also my be completely wrong, so any help would be appreciated!

            Thanks

            EDIT!!!:

            Actually, I think something else is wrong!
            I right-clicked the player and there was an option to "download this song" so I clicked on it took me to: http://www.mysite.com/assets/media/song.mp3
            which would be fine, but my site is in a sub domain so it needs to be sent to: http://www.mysite.com/folder/assets/media/song.mp3

            Any ideas on how I can fix this?
              • 23
              • 61 Posts
              Hey Ohmy

              advmedia takes the path from your config, you can change this by deleting the first slash when adding a mp3 file, or simply change the path to a relative one in your config like "assets/" to prevent the usage of an absolute path.
                • 24393
                • 83 Posts
                is there any way to reference the AdvMedia Template Variables from other templates? for instance, i am trying to use Ditto to create a podcast feed and a video "catalog" page. i want to grab the preview image and infotext... any ideas?
                  stevesunderland.com
                  GRAPHICS | INTERACTIVE | MARKETING
                  xhtml + ajax + seo websites powered by modx
                  • 23
                  • 61 Posts
                  hi

                  you can create your own additional html-template snippets for use in advmedia, when you have look at the folder ->assets->plugins->advmedia->templates->frontend you can modify or add new html-files, in your case just make use of the template placeholders {preview} and {infotext}

                  save your new html file and upload it to the folder "img" after uploading the html-file to that folder you can select your new template in the advmedia tv-editor



                    • 23
                    • 61 Posts
                    ok i checked in detail what you mean, ditto doesn’t prerender the documents which are listed, so you have only the output from the current document the ditto listing is shown on.

                    So, i’m going to upload version 0.4 of advmedia this week, next version will have a snippet included which can be used to retrieve all the stuff from advmedia by tvname and docid, also support for internal and external linkage is included.

                    P.S.: Done, new version is online, have fun and let me know if you miss something else
                      • 31471
                      • 206 Posts
                      How to update from 0.3? Because after I overwrote the files and installed the snippet I always get this error on changing anything in the advmedia db-tables:
                      « Execution of a query to the database failed - Unknown column ’intlink’ in ’field list’ »

                      It’s a very promising add-on to MODx anyway!


                      (EDIT) Solved: first disabled the plugin, uninstalled the module, then installed the module again and enabled the plugin.