To be noticed that we use github for question/issues..  Issues


Table CSS in Attachments

Question :Hello - do you have any templates for Table CSS in attachments
I want to be able to control headings, the table etc

Answer:

  1. Attachments lists are tables which have class 'attachmentsList' by default (but this can be overridden using the parameters 'attachments_table_style'). So with the css class for the header you can define cascading css rules that only affect attachments tables.
  2. You can also override the attachments template if you want to change the layout completely. However you will have to look out for possible changes in the future that might break your new template.

Problem with the update of attachment

Question :

I’ve been using your attachments extension for years… since Joomla 2.5.  It’s been great!

I finally got around to updating for Joomla 4 and installed V4.04 into an upgraded environment.  I still have the old 3.x version installed but disabled as I have dozens of articles with attachments that I want to preserve with the update. 

The installation appears to go smoothly and has a whole set of “success” messages for all of the extensions it’s installing.   However, at the very end of the installation process I get:  0 Class "JRequest" not found

It completely corrupts the Admin portal and making it unusable as it can’t get past it.  

 

attachment_install_issue.png

 

It also affects the front end site if I click on one of the articles.    0 Call to undefined method Joomla\CMS\Factory::getURI().

Any advice?

Answer:

During the upgrade to attachments v4.0.4 all the parts get upgraded but the plugin framework is now placed in a new directory leaving the old one (v3) behind. You should probably have a “plugins/attachments/ attachments_plugin_framework” in your site which you can just rename so joomla doesn’t find it’s code. Generaly these are the steps that I have found to work without a problem to perfrorm the upgrade from attachments 3 to attachments 4: - take a backup - remove "Attachments - Plugin Framework" before upgrading to Joomla 4. If the site is already migrated to Joomla 4, you should first remove the folder plugins/attachments/attachments_plugin_framework and then remove it from the backend. - after upgrading the site to Joomla 4 install attachments 4.0.x - check if all parts of the Attachment extension are enabled

 

 

Open attachment in new  - _blank?

Hello! I am using "attachments-4.0.4" Joomla5 and I wonder if it is possible to configure so that the file shown in the article can be displayed with content in new window - _blank?

Answer:

you can configure it in the component options. Go to Components -> Attachments -> Options -> Advanced -> Open in new window

Ajouter un commentaire