Instalar Plugins para URL amigables SH404SEF en Joomla 🥇 Foro Portales Joomla! |
Quote:: |
sh404SEF PlugIn Installer Written by GreyHead Monday, 29 September 2008 15:25 This installer is for Joomla 1.0.x I wrote a couple of PlugIns for sh404SEF (for Deep Pockets and for ChronoForms) and thought I'd post them at Joomla.org. However, to do that they have to be installable with the standard Joomla installers (rather than just copy the sef_ext folder to the site). So I've written a PlugIn installer for sh404SEF. The 1.0 version is in beta, and the 1.5 version is an alpha release. Download the Installer from the appropriate image link below and read more for instructions on using it. It is very simple to use. Once you've written your PlugIn and/or Meta file for the 'comp123' component and are ready to publish it you copy the attached zip file and edit it. Note: the line numbers are a guide only and may differ between the 1.0 and 1.5 versions: replace sef_ext/com_xxxxxx.php with your PlugIn file named e.g. com_comp123.php (If you don't have a PlugIn in this install leave the existing file but rename it to have the component name.) replace meta_ext/com_xxxxxx.php with your PlugIn file named e.g. com_comp123.php (If you don't have a Meta file in this install leave the existing file but rename it to have the component name.) Edit lines 15 & 16 in install.sef_ext_xxxxxx.php to have the component name e.g. 'comp123' and title e.g. 'Component 123' Edit line 17 in install.sef_ext_xxxxxx.php if necessary to set the array values to 'false' if you do not want sef or meta installed. The installer will then skip these files. Edit sef_ext_xxxxxx.xml and change the file names replacing xxxxxx with the component name (this must be the same as is in the component folder name) Rename the various files by replacing 'xxxxxx' with the component name e.g. 'comp123'. Test your modified installer package. This sounds much more complicated than it actually is, making the changes takes just a couple of minutes. When you upload and install the PlugIn installer it will look to make sure that the 'comp123' component exists; create an sef_ext folder if necessary; rename any existing sef_ext/com_comp123.php file and copy the new one into the folder. Once the installer has run successfully it is no longer needed and can be safely uninstalled. Note:The installer must include both sef_ext/com_xxxxxx.php and meta_ext/com_xxxxxx.php files, if one of them isn't used then simply include an empty file with that name. |
Todas las horas son GMT + 1 Hora