Copying Existing Code To A New Website - joomla

I have got two website and i want to use an element from 1 that is a comparison module that has been created. I want to place it within my Joomla website and change the look and feel of it.
What is the best way to get this element into a Joomla website?

Recreate the component or module from scratch in the new site, and start to copy the coding and styling.

Related

Migrating "bootstrap-touch-slider.js" to joomla

Hi I am migrating my html bootstrap site to joomla 3. So far things are looking good. I am using the bootstrap touch slider in my html version which works fine and I am stuck how to move it to Joomla. Is there any way to do this or do I need to use/buy a slider module extension?THANK YOU!
The best thing is to create your own module and embed slider js in, otherwise you can try to modify the present one. In both cases if you have never done one before you is suit buy the extension you found.

Joomla Quickstart advice

Please I need some guidelines (or link of tutorials) in creating Joomla (3 - 3.5) website with the purchased template design. I wonder how professionals with experience are solving my doubts in practice.
Do you recommend the installation of the purchased blank template with a single installation and configuration of modules and components or installation of template with demo examples (Quickstart)? I know the differences but I was wondering how you are doing.
Till now I've almost always used the Quickstart installation.
I wonder if you clone the main menu (and other navigation and modules) and than you rename a copy for your needs and you change the content or you delete all navigation items except Home and than you are re-creating items according to your needs.
I'm not sure if I can copy the main menu or I copy only his necessary items and than delete overage of template.
It happens to me sometimes if I click on some of category it leads me to the main menu from original item, not to the desired custom copy, even though the path is set (the default items). Therefore, I am not sure which is better... copy main menu and items or to delete all navigation and content of the Quickstart installation and form my own navigation, content and modules.
In short, how to sort out all unnecessary items, and those that I am using should I copy and modify, modify existing, or delete all and make my own needed items.
I believe you will know my concerns.
Thank you and regards,
John
I have created several websites in Joomla with blank template and also with quickstart package.
Advantages with Blank Template
You will get the core theme without any unnecessary content and
basic modules and plugins. You dont have to delete any
contents/articles later.
You will be having authority to place modules at your desired positions. To check the modules position at the frontend simply do this http://example.com/?tp=1.
Disadvantage of Blank Template
There are some module style settings embedded in quickstart package that you wont be able to set yourself without going through full documentation. So sometimes your menu seems distorted.
Disadvantage of Quickstart Package
Deleteing unnecessary articles, removing unnecessary modules is a big headache.
Database size unnecessarily increases.
Steps I follow
I create a quickstart package in localhost and create a blank site with blank template in live site. Whatever settings I need I copy from the local website so that I am saved from removing unnecessary contents from live site. Also sometimes deleting some contents give rise to some other issues. Its better t go with a Blank template.

How to create a single page vertical scrolling site in Joomla

I can create a standard Joomla template in my sleep, but recently I had a client come to me who wants a vertically scrolling, single page site. I whipped up an HTML/CSS mockup that functions beautifully but I have a question re: converting it to a Joomla template:
Do I just create a single article in Joomla that contains all of the content for the single page, and then create menu items that link to the section divs?
Many thanks,
Cynthia
yes I think that good , also you can make all items in "index.php" in template folder and make menu items link to divs by "#" plus ID .
you can add all items you want as module and you can use component in modules plugin lik :
http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/embed-a-include/18121
Hope that help you
You'd be better to insert the content via creating a bespoke module or component - putting code in the WYSIWYG area kind of defeats the point of using a CMS at all - someone with no coding skills has to be able to update the site and not accidentally delete the layout.
I'd perhaps question why it needs it to be in Joomla at all, though. It doesn't sound like it will be benefiting from many of its features.

Add component into Article?

I need to add a component into my Joomla articles.example(i have create a article in joomla ..in this article i needed added image gallery.. that gallery functions are in one joomla component..) how to create it?
There are a couple of ways to do this. First, the easiest is to get a plugin specifically designed to do this. I prefer Simple Image Gallery Pro. There is a free version as well http://extensions.joomla.org/extensions/photos-a-images/photo-gallery/1468. With this plugin, you simply upload your images to a folder for the gallery you wish to create, then reference that folder in the article you want the gallery to appear in with {gallery}myphotos{/gallery}
You can also replace the Joomla article with the extension K2. It has galleries within content items built in. It uses Simple Image Gallery and is written by the same developers.
Last, you can also use a plugin that allows you to load components within an article - http://extensions.joomla.org/extensions/2723/details.
EDIT
I forgot one. Last, last some of the good image gallery components also come with modules that allow you to display galleries in a module position. You would need to have a menu item or advance module manager in order to assign the module to the correct article, but it would give you a lot of flexibility in where you place the gallery.

How can i integrate joomla media selector into a custom component

I'm writing a custom component for joomla 1.5 and i been searching for a way to integrate
com_media image selector into it.
All i want, is to have a functionality like, the image selection in the create article page.
Anyone knows how to do this?
Is there an API in joomla to do this, or do i have to see how is done in com_content an start
form there?
You can use a select box with image preview like the one used for the Sections and Categories thumbnails. This is much easier to integrate though images must come from single directory.
See the com_sections and com_content files in you Joomla Administrators components directory.
Also try posting this in the Joomla Forums.

Resources