Joomla - need two separate categories of articles on the same page - joomla

In Joomla 2.5, I want to display two separate blog-type streams of articles on the same page, with the complete text of each article. I can get one using jdoc:include type="component". But I also need the articles from another category elsewhere on the same page in that same format -- first a category header, then the complete text of each article.
Modules I have tried:
Latest News: displays a list of articles, not the complete article text.
Article Category: same
Newsflash: Displays the complete article text, but doesn't have a way to display a category header.
This seems like an obvious thing to want, but I don't see how to do it in Joomla. Is it just impossible?
Thanks in advance.

if you want something ready-to-go, then this is your solution:
http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/18121 (Paid)
If you can modify joomla extensions, this ones could do the job (after playing for a while with the code to add the articles text to the queries):
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing/13950 (Free plugin)
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing/7314 (Module)
Or maybe take a look at these JED sections to see if there is anything more useful:
http://extensions.joomla.org/extensions/news-display/articles-display/articles-listing
http://extensions.joomla.org/extensions/news-display/articles-display/content-embed

I've been struggling with displaying more than one category-blog on a home page, but have now found a working solution.
Install the Plugin "Plugin Include Component" and the Module "Article Placed Anywhere" - both free.
For each blog that you want to appear on the same page:
In Category Manager create a category to hold the blog items (articles).
In Menu Manager create a menu item, probably on a hidden menu, of type Category Blog, referencing the category that you just created.
In Article Manager create an article contaning just the plugin code
{component url='index.php?option=com_content&view=category&layout=blog&id=XX&Itemid=YYY'}, where XX is the category ID and YYY is the menu item ID of those you just created
In Module Manager create a new module of type Articles Placed Anywhere, select the article just created and the position in which you want it to appear.

Related

Joomla menus vs components?

I am a beginner to the Joomla CMS platform (experienced with word-press and laravel frameworks). I have a very good understanding of MVC , however am having a hard time understanding Joomla's menus connection to components , what is the logic here ?
Is it that components call menus or vice-versa ?
NOTE : AM USING JOOMLA V- 3.4.6
If I understand correctly, you're asking how the creation of menu items links to components? When you create a menu item, you have to chose what kind of page, article, or component you're going to link to, and you have to choose from a massive list depending on how many components you have installed.
For example, with Articles you have the following choices:
Archived Articles
Category List
Category Blog
Create Article
Featured Articles
List All Categories
Single Article
What this does is call the component in question into the main position on your Joomla! site. How this component is displayed is up to you. So selecting "Category Blog" will allow you to display all of the articles in a specific category of your choosing. If you want to just display a page with your choice of text on it, you'd need to create an article and then select Single Article, using the desired article as the Menu Item Type.
Most of the display settings can either be changed in the component's menu or in the Global Configuration menu.

How to insert a slider of 5 images on each article pages (selected article) in joomla

I am new to Joomla.
I am working on a Joomla website for a construction company.
I have created pages for each projects of the company as article page with following regions:
Project Title [article/page title]
Banner Slider [5 images of particular project using any slider]
Project Description
An image of the Project Plan.
My requirement is:
How can I insert the slider pluggin into each article page to have my second region working (BANNER SLIDER). I cant do it globally because for each project/article page the whole 5 images differ.
Thanks in advance for any sort of lead.
Seeing as it's a module and not a plugin, what you can do is duplicate the module and assign each one to different articles.
To do this, go to your Module Manager, select the module and click "Copy". Not sure what the slider module is called but I assume you can select which images you wish to use, so be sure to do this for each one. You then need to give each module a custom position. Simply type one in rather that selecting one.
And finally, in each article, you can call a specific module by adding the following code:
{loadposition XXX}
where XXX is the position you have assigned to your module.
Hope this helps
Use the Slideshow CK module, which can be found here: http://extensions.joomla.org/extensions/photos-a-images/slideshow/image-jquery-slideshow/20362
We use it for our clients and they all love it. It also works right out of the box.
you can use Widgetkit component and create custom slide show for each article and show each article slider in article with Widgetkit short code.

In Joomla how i can put an image on the principal page and when i click the image this open an article?

I'm using joomla 3.0.3.
I want to put a simple image on the principal page and when I click this image, automatically (changes the page) and opens an article with some info that I want to put on it.
It is possible?
With joomla default, or I need an extension for can do it?
Thanks a lot!
You can achieve this by creating a menu item for the blog view of frontpage or content.
This will load a number of articles and paginate them. In the options, you will find Intro articles (on top), then the number of articles to load in columns, then a list of links. Put 0 on the links and on the first articles, and you will get your list of articles in a grid.
Depending on the template you are using, the settings of the menu link could be enough to achieve what you want; if not you can write a template override to display exactly what you want.

Joomla newsflash items linking to separate page

Joomla 2.5
Let's say I got "News" category with some articles inside and modules, let's call them "module1", "module2" and up to 10.
Normally, if I got menu item called "News" with category view under it (it's called blog or something in Joomla) and I set only "module1" to be displayed there, all the items from this category will be displayed with the same layout.
However, if I add ie. "module2", which is a newsflash, to my homepage, items from "News" category will be displayed with homepage layout, with all the modules shown. I'd like them to be displayed as if they were on "News" page. How to do that?
Answer: add articles to "hidden" menu is not acceptable. Imagine blog, where you have to add all your posts to any kind of menu.
Visual explanation:
Normally, a menu position which lists articles form category and has only two modules (call them module1 and module2) enabled, will look like this: http://imm.io/FGrJ
If you click any item, you will be redirected to a page with the same layout (notice: I don't have to add all articles to menu, just article listing page): http://imm.io/FGrP
However, if I add newsflash module on my homepage, which is full of modules, clicking an item will display article on homepage, in area that I called main content. Which is bad. I'd like it to open just like article from articles listing. Here is screen: http://imm.io/FGsR
This article on the Joomla docs gives a good idea of what your tying to do as I understand it. As you don't wish to have menu items as you state in the question I think the best way is what they label as number 3 at the bottom - installing an extension that provides detailed control over where a module displays. Their featured module is Advanced Module Manager - which comes from NoNumber - something a lot of sites use and has a proven track record. However there is an entire section of modules on Joomla Extension Directory here

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

Resources