create a new installable zip from a ( already installed ) Joomla 1.7 component - installation

I've Joomla 1.7 and lots of component in it.
I'd like to make a "reverse-engineering" of the install of a component.
I've edited most part of it and i'd like to repack this to install in a new fresh Joomla installation.
Any idea?
thanks!

It's fairly straight forward - you download all the related files then zip them up with a new XML manifest. Of course you have to make sure that you get all of the files because they can be located in a couple different places. Luckily, the Joomla documentation has a basic list of all the files you would find in a component.
http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!1.7_-_Part_14#Packaging_the_component

Related

How to Install PHPSpreadsheet in Joomla

I'm wondering how to best incorporate PHPSpreadsheet into Joomla! applications, on shared hosting.
With PHPExcel, you just uploaded the library.
PHPSpreadsheet is using Composer, which is new to me, but looks straightforward enough. However, I see Joomla! includes it to manage dependencies in the core, but does not publish the composer.json file, and commits the /vendor subfolder.
Any advice on the best way to safely add PHPSpreadsheet so its available to Joomla! extensions, without messing up Joomla! core?
You can just add a normal composer.json file in Joomla's root folder. Composer will then create a vendor folder on the main level, and leave the libraries/vendor folder unchanged for the Joomla core.
Any extension that wants to use libraries from the root vendor folder must take care of loading the corresponding vendor/autoload.php by itself.
use
JLoader::registerNamespace('PhpOffice', $pathToPhpOffice);
Similar lines to the above.... But how do you get PHPSpreadsheet installed on my hosted website, where I have limited access to the back end.
I can FTP to the root of the site.

How to overcome template installation problems in Joomla 1.5?

I'm trying to deploy a Joomla 1.5 site developed locally. I'm not using the latest version because some extensions that I need are for 1.5 only.
After migrating the database and contents a lot of issues appeared - most of them I believe have to do with Joom!Fish.
Therefore I decided to install a fresh copy of Joomla 1.5 on the targeted server (Yahoo Small Business host), install the template and rebuild the contents.
The problem has to do with the second step: installing the template. I install it using the Extension Manager (without any errors), it shows up in Extension Manager -> Templates, but it doesn't show up in the Template Manager (therefore it can't be enabled). I get the exact same disappointing result when manually FTP-ing the template files. The "jos_templates_menu" table didn't had an entry corresponding to my template; manually adding it didn't had any positive result. I believe that templatedetails.xml is correct.
I've tested other templates (free online ones). Most of them show up in Template Manager.
Odd is the fact that if I try to install my template on a freshly installed Joomla 1.5 site (on localhost), everything is OK.
Can anybody please share some thoughts (from experience or not) with respect to this particular issue? Thanks.
I've had the same issue many times in the past, and can say with near certainty that it roots back to your templatedetails.xml file. Make sure that the names that are being used all match exactly (usually case-sensitive) because Joomla starts by looking at the subfolders found in the Templates folder, and proceeding from there with the templatedetails.xml file that it finds in each.

Is there any multiple template/extension single install pack for Joomla?

Is there any way to install template/plugin/module in one pack. There are many options to install extensions/plugins/modules
http://jeffchannell.com/Joomla/install-multiple-joomla-extensions-in-a-single-package.html
http://digitalvariants.blogspot.com/2011/01/installing-multiple-joomla.html
as single install but simply none and no way to do this when installing a Joomla! template
Joomla 1.6+ support packages which allow you to combine several zip's for extensions etc into a single zip package.
See: http://docs.joomla.org/Package
You can do this with Akeeba backup.
Akeeba packages everything in your site -- articles, categories, plugins, modules, menus, database, templates, etc. It generates an installable ZIP file. This file can be used to re-install your entire site if you needed to. But I also use it to create "base" installations of Joomla.
Your procedure would be like this:
Create a base Joomla installation
Install all the extensions you want (including Akeeba)
Create a backup ZIP
Unpack the ZIP on your server (or upload via ftp)
Go through installation procedure just like a "native" Joomla installation
Look here: https://www.akeebabackup.com/software/akeeba-backup.html
Thanks,
Matthew

how to install joomla 1.7.3

I don't know how to install Joomla 1.7.3 and it's hard to know from joomla web page. Can anybody tell me how to install joomla 1.7.3 step-by-step.
Thank you
There's an old guide here, although it still mostly applies:
http://help.joomla.org/content/category/15/99/132/
In short: Create a database, Upload the Joomla files, follow the installer. In more detail:
Make sure you meet the system requirements:
http://www.joomla.org/technical-requirements.html
Create a MySQL database (note down the name, username, and password to access it)
Get the Joomla files from here:
http://www.joomla.org/download.html
Upload all the files from that package to your hosting
Browse to your site - the Joomla installer will automatically run. There's a guide for the steps here:
http://docs.joomla.org/Installer
Follow the instructions and fill in the boxes in the Joomla installer.
Once the installation is complete, delete the 'installation' folder (the installer will tell you to do this).
You now have Joomla :)
Have you checked this page? http://docs.joomla.org/Installation
It provides a step by step installation guide, I think it's quite easy to install Joomla. Generally talking, all you have to do is:
Download the latest Joomla version ( I guess you already did this )
Unzip the downloaded file, then copy it into your webroot ( if you have multiple sites, you should create a folder within your webroot dir and copy the files there )
Access via your browser your web dir, and installation process will start.
It's important that you check that your Apache user is able to read and write your Joomla files. If you're using virtual hosts, you should also create and configure the new virtual host.

Export Joomla template and extensions

This is my first time building a Joomla template so I'm not quite sure if I'm doing it right.
I setup my joomla installation on my machine and added extensions to it - plus the customizations needed for the extensions and the template.
Once I install the template to a website, how do I include all the extensions with it (and the configuration of the extensions)? Or do I have to setup it all up all over again?
Thanks!
You have to set it up again. Extensions aren't part of the template. The Template defines the layout of the site, and the locations on the page where extensions can be added, but it doesn't include the extensions themselves.
There is an easy way. Rather than messing around with installing everything again, simply install Akeeba Backup. You really should have that installed anyhow. In any case, you can make a backup of the entire site including the database, then upload it to your host and run the built in install. It takes longer to upload the file than it does to make the backup and install it. When you are done you will have an exact copy of the site including extensions, templates, and configuration.

Resources