A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
8

You can add a few lines of jQuery to your admin template (or add it using a plugin that fires only for the admin area): jQuery("a.delete-item").on('click', function(e){ if (confirm("Do you want to delete this image?") != true) { e.preventDefault(); } }); That will catch the click on the delete button X and display a dialog box. Edit: The ...


5

I had the same problem months ago. After installing a site for a new client, with more than 1000 image to upload, I implement this action: Create a folder for each month 2015-08, 2015-09, 2015-10...(Its more fast look images in same month) Install JCE Editor with Media Manager With this Editor and this plugin you can upload unlimited images at same time. ...


4

The best way to allow video selection in an extension field is to use a custom field. For an introduction to custom fields, take a look at this article from Joomla! Documentation. In its simplest form, you can simply extend the filelist field type and make it list video files using the formats you want. Here's an example (based on the imagelist field type): ...


3

@Lodder and others were right that the answer was to keep site up to date and be patient. The error was corrected in JCE 2.5.15.


2

I know that's odd (still in Joomla 3.5.0). In the function canUpload($file, $component = 'com_media') of class JHelperMedia, this is within /libraries/cms/helper/media.php a check for serveral tags searches through the whole uploaded file(s). So if there is e.g. a tag ol like "<ol " or "<ol>" inside the raw picture file (case insensitive), the ...


2

You can try this script https://gist.github.com/renekreijveld/27d9062b941a2d0c80f3 it help you to find used and unused content files in your Joomla website


2

In your Model, you have to override getForm method to set values dynamically. Make sure you are extending your Model with either JModelForm or JModelAdmin. Once done, try following code: public function getForm($data = array(), $loadData = true) { $form = $this->loadForm('com_yourcomponent.yourformname', 'yourformname', array('control' => 'jform', ...


2

I would say keep things very simply by: Going to the File Manager via your hosting control panel and zip up the folder inside the media directory that contains your assets. Or possibly have 2 separate zip files for images and videos. Whatever suits you best. If your host does not provide you wish a File Manager, then you can download the folder to your ...


2

If you want to use external images for intro or full article image, then you can just paste the image's url in that field. Similarly, if you want to use external image inside your article body, you can use the insert/edit image button of the editor and paste the url of the image in the image source field. However, although possible, it's not a recommended ...


1

There is absolutely no reason why animated Gifs should fail to display in Joomla, hover effect or not, so either you have an error in your code, or something else is causing "all kinds of problems". If you describe your problem with more detail it possible that someone can help you with the issue. Normally, the JCE editor uses this code to add hover effect ...


1

Docman can do that. If you hit any limits then you can increase them in the Docman settings, the Joomla settings, and the PHP server settings.


1

I highly suggest using the Joomla Content Editor (JCE): https://www.joomlacontenteditor.net/ It's free and you can install and make it the default editor for your site. Once installed, its image manager overrides the core one, so when you click on Intro/full image, it pops up that dialog where you can upload directly there.You can also drag and drop into ...


1

What you've been missing is adding your element to your form object, as shown below: $media = new JFormFieldMedia(); $media->name = 'icon_image'; $media->label = 'Image'; $media->setForm($this->form); Without binding it to a form, it cannot retrieve its underlying value.


1

I checked in firebug and found that iframes were not opening , checked with domain provider, they denied the permission of the x-frame. The issue was soled by changing the permission for the X_FRAME.


1

The COM_MEDIA_BASE and COM_MEDIA_BASEURL constants are both defined in: administrator/components/com_media/media.php On line 42 and 43. I suppose you could redefined them: http://php.net/manual/en/function.runkit-constant-redefine.php However, please be very careful with this if used! Constants are not supposed to be redefined, hence the name. If you ...


1

I think Some permission problem are there Goto joomla administrator -> Custom component -> Options -> Here you can set the permission for whatever guest user can access the page.


1

I managed to find a work around to my problem, first I copied the administration files in site folder and create a default.xml file to my desire view on my case medialist view is what I need to show in Menu Item Type and create a STRING DEFINITION in administration language file but this still will not show in MENU ITEM TYPE LIST you need to update your ...


Only top voted, non community-wiki answers of a minimum length are eligible