Joomla Categories in URL - joomla2.5

I'm trying to build a sitestructure that pretty much contains of a homepage and then two sites. I was trying to do this with categories but didn't seem to be successful, as the category isn't really showing in the url.
I'm trying to do this:
Home (www.mysite.com)
- Subsite 1 -> Menu (www.mysite.com/subsite1)
- Subsite 2 -> Menu (www.mysite.com/subsite2)
Then i would like to have all articles assigned to either category "subsite 1" or "subsite 2" and create urls such as
www.mysite.com/subsite1/(other categories)/article.html
Is it possible to realize this over the category? So that every article that someone adds to a category will be displayed like this?
Also, is it possible to display the Menu of Subsite 1 on EVERY artical of that category? (same thing with subsite 2)
THANKS FOR ANY HELP!

Yes it's possible:
In (Joomla) admin control panel, under global configuration->site you can enable the option Search Engine Friendly URLs under SEO Settings section.
If you enable SEF and install Subsite 1 in a folder called Subsite1 under apache root folder, and suppose your category is called category1, you'll be able to access your pages like this:
http://www.mysite.com/Subsite1/category1/<article-id>-<article-alias>
Pay close attention to the - between the article-id to the article-alias.

Related

Add category while adding product in OpenCart2.x

I'm working on a webshop using OpenCart2.x. I would like to add category while I'm adding product and assign product to that category.
Just to clarify... Let's say I want to add "HTC One" to category "Android". I would like to go to Catalog > Product > Add Product, enter "HTC One" details and
if category "Android" dosen't exist OC should offer to create new category.
It is possible in wordpress/woocommerce so I hope it is possible in OC2.
Sorry if the question is not for this site.
Thank you!
No, this is unfortunately not possible in vanilla OpenCart. However, I did find somewhat of a trick to make this process a tad bit more convenient.
If you open your OpenCart admin panel in 2 different browser instances that use different sets of cookies (different browser or incognito/no cookie mode) you can make your categories in one instance and then the category auto complete list in your product creation page will instantly update. Not exactly the desired functionality but definitely better than having to switch back and forth.

How to create a static About us page in opencart

I am a beginner in using opencart.I need to create an About us page from admin and have to link it to my main menu navigation.How to get this?
Step 1 : Goto information link in catalog tab
Step 2 : click to insert a page or information page like about us
Step 3 : if you have enabled seo then you can write keyword for you aboutus page or information page then your url will be easy to use e.g below if seo is disbaled then your url will be little boring e.g(index.php?route=information/information&information_id=4)or simpler to it which will not be good to share or use
NOTE: for seo you should use .htaccess file
It very simple go to admin panel
catalog -> Information
here you can see all the static pages such as About us,Delivery Information etc
edit them and changes will appear on front page .
to insert new page
catalog -> Information -> Insert
most complex opencart themes have a module like menu that you almost always can edit in the backend, if you wish to you can add it manually, to do so locate header.tpl in catalog->view->theme->common and see if menu is called directly there probably in a section or in an external file, probably located in the same folder, if you wish to you can send me a message with further info and i would be glad to further assist you, its really simple, if you find your way around.

Joomla Category Home Pages

Is there any way in Joomla2.5 to create Home/Landing Pages (ie. "default") pages for each category.
For example, I would like the user to be able to go to www.somejoomlasite.com/category1 and see a default home page for category1, and a different home page for category2 and so on. Is there any way to achieve this? Could I create an article under each category and set it's alias as index? or will I get an error about having duplicate aliases (even though they are under different categories)?
Any help is greatly appreciated. Please let me know if I need to provide further info.
An alias has to be unique within a category. So you should be fine using the same alias in different categories.
You should be able to achieve a structure like you described with menu items for each category. And of course SEF needs to be turned on with rewrite enabled.
The menu items don't need to be visible on the page, you can also create a "hidden" menu. Just don't show the accompagning menu module.
These menu items can be anything: a category list of the articles, an article itself, a featured list of articles in a category or whatever you like.

Displaying options and add to cart on category page - opencart

I am using Opencart v1.5.1.3.1
I want to be able to create a template which certain categories use. Cat1 would use the normal category.tpl file where cat2 would use category-cart.tpl
The category-cart.tpl would have extra functionality of displaying price options and an add to cart button which would normally only work on the products.tpl page.
I know that in order to make this happen I have to modify the category.php controller for category.tpl file.
The question is what do I change in the category.php controller to make this happen?
Add product with options to cart from category page http://www.opencart.com/index.php?route=extension/extension/info&extension_id=8649
You will need to make more changes than can be listed here, so you will need to familiarize yourself with the opencart framework to do what you want. As a starter if you look at the bottom of the category controller you will see what template is loaded. Do a search for template. You could put a if statement here that loads templates based on the value of the selected category.
You will then need to add more code to the controller which loads variables for price options and add to cart.
http://opencart-help.com/modifications/39-add-product-options-to-category-listing-in-opencart.html
Check the above link and you will find out how to show the options
It should then look like this
http://i38.tinypic.com/j7b60k.jpg

Change/add infobox display count in osCommerce

I'm modifying an osCommerce site (started by someone else) and on the homepage, there's a box (called infobox I believe, or new_products box). It's currently showing nine (9) products, and I want to change it to show six (6).
How can I do this? Is it a code thing or something I can change through the admin section?
Is it also possible to add a second infobox showing six (6) products from another category?
I'm modifying an osCommerce site
(started by someone else) and on the
homepage, there's a box (called
infobox I believe, or new_products
box). It's currently showing nine (9)
products, and I want to change it to
show six (6).
How can I do this? Is it a code thing
or something I can change through the
admin section?
The setting is in the Admin section: Configuration -> Maximum Values -> New Products Module.