Joomla newsflash items linking to separate page - joomla

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

Related

How to remove certain modules from article in joomla 2.5?

I am new to Joomla, I have some module on my homepage.
Every time I open read more article on homepage, the slide show module still appear.
I have hiden the intro text but nothing change. If i uncheck the homepage, the module completely disappear on homepage and article.
Please teach me how to remove the module just on read more article not the homepage.
Sorry if my english is not good
Thank you :D
If your articles are uncategorized or they they exist in a category that is not connected to a menu item (to get a unique menu id) you have to set module settings:
Module -> Menu Assignment: On all pages except those selected
And select the pages that you don't want the module to appear.
EDIT:
If there is an option to connect article categories to menu items (even to a hidden menu that won't be displayed in the site) then the correct way is to set in the module:
Module -> Menu Assignment -> Only on the pages selected
And select the pages that you want the module to appear.
Hope this helps

Using different joomla template for articles not assigned to menu

I am using a module that displays latest article posts. I am using 2 templates , one for the homepage and the other called templatePage for the other pages.
The problem is that articles not assigned to menu when clicked display using the homepage template instead of templatePage.
Is there a way to assign this articles to the templatePage?
I don't know if exists other option but you could set these articles to a menu and then hide the parent with display:none;. You will need a menu, like article holder, and just set the css.
This is ugly but probably the easy way.

YooTheme Zoo Application Blog Front Page

I am using YooTheme's ZOO Blog application on my front page. I have two things I'd like to acheive;
When clicking on an article title, you are taken to a page where you
have the article in full view, including any read-more content you
may/may not have. When taken to this page, you still have all modules
which are assigned to the 'home' menu item. Unfortunately, in order
for the application, 'Blog' to show on the front page - it must be
assigned to the 'home' menu item.
I'd preferably like the full article page just to have the menu module at the top, and perhaps any modules I do actually 'enable'.
A strange one - I'd like to have no pagination at the bottom of my
front page. I'd simply like to encourage users to go to a separate
page that lists all of the news.
I hope someone can help!
I'd utilise the 'fantastic' community that YooTheme holds - but unfortunately, after 3 months (being the lowest tier when you buy a product) any and -all- support stops. This includes the ticketing system which is mainly community-help based.
If need be, I can provide screen shots.
You can edit the full and any layout by clicking to the icon in zoo administrator panel. There you can edit every element in the link which is under your app type name! Next to the "Default" or your template there are links for full, teaser, feed etc. Full is for the full view of the item and teaser is for the category/front page view! In Yootheme's website you can find a comprehensive documentation about zoo also! Let me know if you need anything else
I found the answers to this problem. (I'm not native english speaker, but I hope you'll understand)
First method - sh404sef, I don't know whether it's a feature or a bug in that component, but that what you need to do:
Unpublish your default homepage menu item(zoo category for example) to wich there were assigned modules that you dont need to be shown, then create and make it Default Page(star sign) new menu item(or use existing one), and assign to it the modules that you want to appear in the full item view(I'm using product not a blog zoo app) or article full view when you click link from homepage and opens zoo item page or zoo category page.
In joomla Globa Configuration turn on - Use URL rewriting, then in sh404sef Control Panel turn on - Enable URL optimization and Rewriting mode with .htaccess . Errase all the url links in sh404SEF: URL manager(if any exist), we need it (sh404SEF) to create new links.
Now when you open new default home page with modules you need to be shown in the zoo item full view, you start to going on ALL the zoo links you wish to open then with that quantity of modules. sh404sef creates SEF link in it backend (in URL manager). And that links will open with exactly with that quantity of modules with zoo.
Now you can publish back again your previos homepage and make it default page. And there will be modules that you want on homepage, but because of links that sh404sef created when you were clicking, the zoo items or article links will open with different modules that we asigned to our second default page you use to create those links. For that purpose I commonly use existing menu item where will be another set of modules not like in the homepage. When you have new link on site you have to partially repeat that. You have to go on that link first time from the page where quantity of modules suits you (and to be on the safe side make that page your default page for that time)
Second method - JoomlaXTC Zoo Item Wall, its a module you don't have to make menu item to show zoo items on a homepage. But, I didn't tried it myself I only read about it.

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

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.

Home page modules showing on articles in Joomla

I have custom HTML & other modules on homepage which have been marked to display only on homepage. I also have articles on homepage with "read more" links.
Problem is that when I click on these read more links page opens with all the homepage modules still there and article is displayed below these modules.
I have checked setting all the modules are marked to display just on homepage, yet they get displayed on articles pages too.
Please help.
Those articles become "children" of the page you are viewing, so that's why you see the modules there.
I had that problem before, it's related to Itemid I guess.
You can use Advanced module manager to assign those modules ONLY to the homepage.
EDIT:
Manual solution without using the AMM extension.
you MUST publish the category that your articles belong to in ANY joomla menu so that those articles get their own item id because they are children of that category.
this is a default Joomla behavior since 1.5
Every article needs to have a menu item or a parent menu item, IIRC, and if it doesn't find one, its parent menu item is the default menu item (the front page menu item).
So to fix this, you need to make sure that every category has a corresponding menu item, so that every article's parent menu item is not the home page. This works because every article has a category ("uncategorized" counts as a category).
Create a hidden menu, and then create one "Articles ยป Category List" menu item for each category.
You can find more documentation in the wiki page entitled How to control module display when linking to an article with no menu item.
Here is an explanation of the joomla item id problem and a fix
http://www.joomlabamboo.com/blog/tutorials/how-to-avoid-the-joomla-menu-itemid-issue
When articles do not have a menu item they show the modules assigned to the page they were linked from, in the same way if you had a blog category menu item you would expect any blogs under that menu item to show the modules assigned to the parent without having to assign them to each and every post.
This is a big problem when you have a homepage which hides the component output as any further items just show the homepage with a different url.
I had the same problem, and installing the Advance Module Manager (AMM) did solve my problem. All I had to do was go to the specific modules that I had chosen to display on the home page (Based on the standard Joomla settings), then under the "module assignments" options of each module there were new settings (From AMM) that had a section for "Home page", I chose the setting "Include" (Default is "ignore") on each of the modules.
What this "include" does, is that it ensures that only the homepage (your true default directory, rather than the Joomla article chosen as "feature/homepage") is the one that features the modules chosen, and not children articles, or others (which was my problem)
I had the similar problem and found this article to be a great point to start:
How to control module display when linking to an article with no menu item
It works for J 2.5 and 3x
Personally I used the Metamod extension to control Joomla modules display.
It requiers a little bit of code understanding, but greatly helps when you figure out...
I used the follwing php snippet in my custom Joomla 3.3 template:
if (
$_SERVER['REQUEST_URI'] == '/' or
$_SERVER['REQUEST_URI'] == '/index.php' or
$_SERVER['REQUEST_URI'] == '/home.html') {
echo 'homepage html'
} else {
echo 'non-homepage html' }
I had this same problem with the modules such as "most popular" and "recently added" and the problem was solved when I checked out the language of the articles and changed the ALL to ENGLISH, or FINNISH etc. After that, everything worked like I wanted to. Hope this will help you too..

Resources