Joomla 3 - Show category blog below single article - joomla

I would like to create a page where I have a single article and a category blog consisting of text and an image beneath. It should look like this:
All articles should be dynamic, so that a user can change title, image and text.
How can I achieve this? I have one component tag. Is this possible with Joomla?
Best regards,
enne

This seems like a standard category layout where you have the category description displayed. Just enter the text you always want to keep displayed in the description of the category.

Related

Display Featured Article of Specific Category Using a Module in Joomla

I am working with different modules in Joomla (2.5) in order to display a variety of things. Right now I am trying to show the featured article of a specific category.
For example: I have three different pages, all showing articles specified by its own category.
Bikes
Gears
Media
Each of these pages has a range of article (lets says 20 each). Each of these sets of articles has a featured article. So there is a featured article for Bikes, Gears and Media.
My problem is trying to get this featured article to display at the top of each main page. I've tried using the Articles by Category module and I've looked into the Article - Newsflash module as well as looking at the code of the front page where a "featured article" typically appears.
Does anyone have any suggestions for a module I may be able to use?
No module needed. Here are two ways you can accomplish this:
In the Blog Layout Options for your Category Blog menu item, set Article Order to Featured Articles Order.
Alternatively, make a new parent category for each existing category and put the featured article in the parent. Set your blog page to show the parent category and the subcategories. Hide the subcategory headings on the page with menu item settings and/or CSS.

Joomla 2.5 Show subcategory image on blog view

I am having trouble showing the image of a subcategory on my blogview.
Furthest I've gotten is showing the image of the parent category with this line:
$this->category->getParams()->get('image');
This line shows the title of the subcategory though
$this->escape($this->item->category_title);
So I've tried adding item in that top line but it didn't take. My knowledge of Joomla and php isn't enough to figure out how to change this to show the subcategory image instead.
Any help would be much appreciated.
Edit:
To elaborate, the blog view I am using is a view of all the articles in the category 'Trends'. The category Trends however does not include any articles but all of it's subcategories do.
So the structure is as follows:
-Trends
--Trend1
---Article1
----Article2
---Trend2
---Article1
---Article2
With this blog I want to show the image of the subcategory that the article is related to. In the Joomla parameters I set the option to show the category image, however this only shows the parent category image not the subcategory image.
Solution 1:
There's no need to change the code for that.
When you are seeing "$this->category->getParams()->get('image');" in the code, it means that the template is reading parameters to whether show the image or not.
You can change the global parameters of com_content with Option button in top-right of your administrator interface, or you can change a specific category's parameters in Edit Category mode.
I can see a Category Image parameter there!
Solution 2:
Use print_r to see all the attributes of item, like this: print_r($this->item), then you will see if the item has something like category_image or not. If it contains image, use it!
I made it by creating a new instance of JCategories by catid. And then I took an image from it by getParams().
$options = array();
$categories = JCategories::getInstance('Content', $options);
$category = $categories->get($this->item->catid);
<img src="<?php echo $category->getParams()->get('image'); ?>"/>

Joomla!: how to add custom field to category?

I want to create a pictured menu of articles categories, but I can't figure out how to add image field to categories.
What I need is:
custom file field for category
ability to handle (change size, add some text, etc...)
easily get in view to display
remove it with category
Any ideas how to do that?
There's an image field already available in standard the category edit form. Look in the options slider.

Shop This Look / Shop By Look - Create page with multiple products and quickcart

I’m wanting to build a Shop This Look page that will be easily editable and up-datable without too much hacking every time it’s updated.
Ideally I would like it to work like this: http://shop.crooksncastles.com/collections/shop-by-look-mens-look-2
In that I upload a photo of the look and then select the products to appear (Even if it’s through using their productids).
My thoughts on how to achieve this:
1) Create a category specifically for each look but have them set to hidden. Eg.
Looks>
* Look1
* Look2
* Look3
2) Then display the category in a static block on a CMS page. And then add the selected products to the look categories.
The idea is that a customer can select their size and add each product of the look on that page without leaving.
Is this the correct way to go about this?
Is there a better way to go about it?
I think the best way to do this would be to create your own module in app/local.
Also you should take a look at configurable products and their attributes, maybe that's enough for what you want.
The solution was to greater utilise the category function of magento.
I built two new themes within my template file one for category and one for product list.
The category structure I used was
SHOP THIS LOOK > LOOK 1
> LOOK 2
> LOOK 3
The template that was applied to the 'Shop This Look' parent category had all product list snippets removed and only displayed the images of the sub categories (Look 1, Look 2 and Look 3).
I then added the look image to each of the Look 1 - Look 3 categories and the products (via the category products tab).
The Look pages also had their own list.phtml file. That displayed the category (look) image on the left hand side, then a list of the products down the right hand side. I edited it so the product images / titles didn't link through to the product any more and added a 'View full product details' link at the bottom. This encourages people to add their products to the page from the look and remain on the page to add the rest of the look.
Another good way to look into buying a whole look as opposed to selecting individual options is bundled products.
Over all functionality is exactly how I wanted it. Updating is easy for a Magento layman and it looks great.
as an alternative approach you can check Altima Lookbook to create "Shop the look" experience.
It does it in a bit different way - allows you to place a slide (as part of slideshow) with multiple products linked with that slides as interactive tags, placed on top of actual image.

Add page number in page title - magento

Have one issue which don't like google for seo.
All the categories having the same title if going by pages in that category, so I want to add page number in page title. Is any solution?
Copy file from /app/code/core/Mage/Page/Block/Html/Head.php to app/code/local/Mage/Page/Block/Html/Head.php modify with the following code which is getting default page number.
Mage::getBlockSingleton('page/html_pager')->getCurrentPage();

Resources