Simple Portfolio Module featherlight.js - Forum | JoomShaper
Staff replied Extensions

Simple Portfolio Module featherlight.js

Asked by Alvaro 5 years ago Last activity 5 years ago

The files featherlight.min.js and featherlight.min.css and the others should not be loaded in the main file of the module, it should be moved to the tmpl/default.php file because when you want to change for another or simply stop using it it cannot be deleted and 2 files that are not used are unnecessarily loaded.

7 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please provide me the FTP access & Joomla administrator access.

Is the simple portfolio extension overwritten?

-Thanks

Alvaro Asked this

Hello Toufiq,
It is still on localhost, what I would like is that in the next version the load of scripts (css and js) moves from mod_spsimpleportfolio.php to tmpl/default.php. This is a change that has to be made, because if the module is used without filters and without previews (zoom), 3 unnecessary files are loaded, which damage the rendering and the fast loading of the page.

Thanks...

Toufiq Senior Staff

Go to the file location and delete the override module and component

templates/your_template/html/mod_spsimpleportfolio

templates/your_template/html/com_spsimpleportfolio

-Thanks

Alvaro Asked this

Why should I remove the override? if what I want is to have an override and also eliminate the lines of code that load the scripts that I no longer use, but I can't remove it because the files are loaded in mod_spsimpleportfoli.php when they should be in tmpl/default.php , for when override is created the file is moved to the template. With the component there is no problem because the load scripts is done correctly. I repeat the problem is in the module.

You are great developers, I don't understand why you put the loader of scripts in a file that cannot be overriden.

Thanks ...

Toufiq Senior Staff

Thanks for your feedback. But, we already override many modules of simple portfolio. But, never found this type of issue. Can you share a screencast video? Thanks

Log in to reply.