How do I remove the embed link in the video info box on the view video page?
How do I remove the embed link in the video info box on the view video page? |
I don't see a way to do this through the video module's templates; it is not added through an individual key. You could remove the code that adds the embed code to the info form. Geeks, making the world a better place |
I am trying to remove the code to stop the embed code from showing. Is this where I look? inc/classes/BxDolFilesTemplate.php getBasicFileInfoForm I can't find it. |
OK, inside of the video module /classes/BxVideoTemplate.php find the function at line 101: function getCompleteFileInfoForm (&$aInfo, $sUrlPref = '')
Change return array_merge($aMain, $aAdd); to: return $aMain; That should work. Edit; remember to back the file up first so that you can easily revert back in the future if you desire. Geeks, making the world a better place |
It worked. Thank you so much. |
Ideally there should have been an option in the Admin Settings for the mod to turn this on/off. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Ideally there should have been an option in the Admin Settings for the mod to turn this on/off. That is true and certainly easy enough to add it. However, I am not going to bother putting in a request for this to be added with the way that Dolphin updates are moving. There are several places where switches are needed in the admin and a few requests have been placed in Trac; however, at this time it may just be a waste of effort. Geeks, making the world a better place |
Hi
Im trying to do this on my site. How do I get to the video module /classes/BxVideoTemplate.php cpanel? Thanks |