How can I keep one specific article always on top on the front page? - joomla

On my Joomla website, I'd like to have a "about our company" article always be the first article on the front page. I want the other articles to shift down in position as new articles are added, but to keep the "about our company" one constantly on top.
I tried setting the order of that article on the front page manager to -1, but it still shifted down when I added a new article.
Any ideas?

You could write that info in a module and publish that module in a position that shows up before the component.

Do you have the front page sorted by date? If you do then make the about us article have a created date of 2099-01-01 and make sure you switch off show date for that article

Unless you find an adequate plugin for this specific need, I'm afraid you have to manually modify the template.

Depending on the setup, you can use the section or category info as a "fake" article. Enable showing the section/category description in the menu item (it's off by default) and you'll have a text that is always at the top.

I was struggelng with the same issue,... and have found the solution in the joomla documentation.
In the frontpage manager set order number for the article that you want to be "always-on-top" to -1 (minus one). This will make sure it will always have a lower order number than the other articles, even when other people submit articles.

For Joomla 1.5, go to your FrontPage Manager. The article you want to always have at the top, type is -1 in the ORDER column (as William said above). Now next to the name of this column, there is a picture of a floppy disk - you MUST click on this icon to SAVE the order.
Now your WELCOME article is numbered -1 and will always be at the top of your front page.

This question is Google top result, yet Joomla has been upgraded many times since it was asked and answered. Here is a more recent option:
In Joomla 3.4, you can do this by going to the settings of the category that displays the articles, then to its Blog Layout, then set Article Order to Featured Articles Order. This makes featured articles appear above normal articles.

In 2020, one could add Custom Fields (available since Joomla 3.7) to Joomla articles, or just to articles in a certain category, and then modify the template to query this Custom Field and handle articles accordingly.

in the order number in joomla 1.5 setting the order number to a minus figure doesn't work, it keeps reverting back to the default number.

Related

what is the difference between a featured article and a single article in joomla?

Can anyone make me understand the difference between a featured article and a single article in joomla?
I have created two articles with same content, one as featured false and another feature true, and linked them with two menus. Both the aricles showing same. So I can't understand the difference between them. Please make me understand the difference between these two types of articles.
The Featured Articles option is useful for displaying several articles which aren't necessarily all in the same category.
A Feature Article is an option that have any article in order to mark it and display it in a link, in a menu, in a module or by default in Home page.
It is useful to display new content in Home by default or to make an article highlighted.

Joomla category list issue

This is difficult to explain but I'll do my best.
I have a site with a number of articles grouped into different menus, which allows me to present relevant content to the visitor depending on what they are interested in. Each article may be in a number of menus.
I have also categorised each article based on the menu that it is most relevant to. I have done this in order to create a landing page using the category list component.
The issue I have is that the urls in the category list output do not relate to the active menu, when the article is in a number of menus. When you click on the article it takes you to the different menu. This issue is fixed if I unpublish the article from all other menus. I understand this is because Single article menu id takes precedence over category menu id's.
I need a fix that selects the active menu id rather than the default.
Any help appreciated.
Joomla cannot do what you want to do by default. In short, you have multiple URLs for each article and you want Joomla to automatically know which context that article is displayed in in order to display the right URL. Joomla can't do this.
What you need to do is that you want to override the layout module for that category and create a code that will get the right URL based on the context you are in. Not a very easy thing to do but this is how it should be done.
Note that there are some extensions, such as flexicontent, that allow articles to be listed in multiple categories, and that will handle such URLs correctly depending on the context.

Adding the article in joomla below the existing article by admin privelage

Have problem in adding new article in joomla the articles are getting added at the top instead of the bottom of existing article.
The sorting order of Joomla articles can be set in several different places, ranging from default settings to menu-specific settings, each one taking precedence over the previous setting.
The best way to make sure you have control over the way your articles are sorted is in your menu item editor. You should check several settings in the "Layout" tab (or "Blog Layout" if that's what you're using):
Category Order - I recommend using "No order", or else the articles will be sorted by category first.
Article Order - Use "Oldest first".
Date for Ordering - Created/modified/published. You probably want to use "Published" here. If you set this to "Modified", any article will be placed last when you save it.

How to create a second frontpage in Joomla?

How to create a second (or more) front page in Joomla? (Joomla 3.1.5 here)?!
My dream website would be a website with several Homepages, but I haven't figured yet how to make it....
What I mean: for example if you have website on sports - you want a Homepage for: Hockey, Football and Basketball
- each with all 18 (or so) template positions, full page of Modules, etc....Exactly like it is on actual Front Page, but each on different topic....
How to do this?!
and how to get over 'question quality standarts' - everything is described above;
You need to create menu items, assign them to different templates, assign the modules et voilĂ .
Create the new featured menu items and filter them by category, assuming one is Hockey, Golf etc.
Then in the template manager, install your new template or create a new style for one of the templates based on your requirements, and assign the newly created menu item.
If you're looking for a howto, you might want to start from Joomla.org or google.
It's not a matter of quality, but of context. This is a developers site, not a Joomla usage forum.
Unless you have a total different requirements that what you have described, one way to achieve what you are after for in Joomla 3, is to create several featured articles menu-items with the category settings you want, and also configure your template to work the way you want, with the module positions and the module assignments.
There are also other custom content components, you may want to try, like k2, that offers a variety of options when creating blog layout pages.
And to add to Daniel Bottner's comment that under conditions, this was also possible even with J1.5.
similar simple example in J1.5:
example-page1
example-page2
'Riccardo Zorn' did answer this question pretty well.
What you basically wan't to do is to create a website with kind of a following structure.
site:
1: category 1 (sport x)
2: category 2 (sport y)
2.1: subcategory to 2(sport y ~ men)
2.2: subcategory to 2(sport y ~ women)
...
While each category would be a seperate menu as well as very likely a different template.
It is up to you to filter for the templates and menues which modules are shown there.
But you will have one basic entry point for the website.
No offense but what you want to do is basically default in joomla since at least version 1.6

Joomla Blog article layout order problem

I'm having problems with a Joomla install (problem exists in both 1.5.13 and 1.5.15) that won't order articles in a category or section blog layout.
I've tried setting the sort order on the layout manually to all the different sort options but it has no effect.
Ordering on the front page works fine.
Any ideas?
You need to Enable Custom Ordering...
install-climber.blogspot.com/2011/09/set-custom-articles-order-parameter-or.html
In the options for the menu item (i.e. when you click the item name), look on the right hand side and click "Parameters (Advanced)".
You should set Category Order to "No, order by Primary Order only" and Primary Order to "Default" (or "Most recent first" if that doesn't work).
If a Category is tuned to be shown in several columns (f.e. 2), but only 1 column fits in template, the soring may be broken.

Resources