Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Front-page content appears on "uncategorised," link-only article page

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I write to ask how to suppress the display of front-page modules in articles within an "uncategorised" category.

In our live (chigov.com) and test (test2.chigov.com) sites, we have articles not accessible via menus; these are accessible only via page links. We've assigned these articles to a category called "Uncategorised".

On chigov.com, which uses Responsive v 2.2.3, each of these link-accessible articles appears as any other menu-selectable article. Example:

www.chigov.com/component/content/article/203-uncategorised/267-transcript-of-interview-with-griselda-canas.html

But on test2.chigov.com, each of these articles appears as if it were front-page content. In other words, the content appears below all of the front-page modules. Example:

test2.chigov.com/203-articles/uncategorised/267-transcript-of-interview-with-griselda-canas.html

I notice that the former example contains /component/content/article/ in the URL, but I don't get the significance.

How might we make the latter articles appear like the former?

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

Are you able to assign them to menus not published on the site - e.g. hidden menus

it sounds like the item id

www.joomlabamboo.com/blog/how-to-joomla/how-to-avoid-the-joomla-menu-itemid-issue
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Purrrr-fect. Thanks, Paul.

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Sorry, Paul, I found another issue.

I did assign the article in question to a hidden menu as you suggested:
test2.chigov.com/canas-interview.html

However: we have other articles not accessible via menus, such as these:
test2.chigov.com/chicago/schools/item/269:transcript-of-interview-with-john-kugler
test2.chigov.com/chicago/schools/item/268:transcript-of-interview-with-megan-ruthaivilavan
test2.chigov.com/chicago/schools/item/281:transcript-of-interview-with-mike-quigley

These display correctly--but we have not assigned them to a hidden menu (that I can tell).

Note also that the URL of each shows them assigned to the "schools" category, which itself is main-menu item.

I can't figure out how these latter articles are constructed differently in Joomla from the first article. Can you help?

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

Have a category link will work regarding itemid - it doesn't need to be an individual article

So being part of the schools category will be enough for it to be properly displayed

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
That sounds logical to me, Paul.

But as the following images show, both of these two articles are assigned the "Uncategorised" category.

articles.jpg


The Kugler article (and others) ended up with a "Schools" assignation in the URL . . .
test2.chigov.com/chicago/schools/item/269:transcript-of-interview-with-john-kugler

. . . while the Canas article (before I associated it with a hidden menu) did not:
www.chigov.com/component/content/article/203-uncategorised/267-transcript-of-interview-with-griselda-canas.html

Do you know why that is?

(I think I'm missing something fundamental about article/menu relationships.)

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

What is the schools part of the link e.g. a parent item or is it a category?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Paul, "schools" is a subcategory of the category "Chicago."

"Chicago" is also an item on the main menu, under which "schools" is a menu list item.

Here's how it looks in the Article Manager:

cats.png


Does that answer your question?

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

I'd try adding the canas article as a test to a category similar to Chicago

So it replicates the menu structure of the Kugler article

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Paul,

After a bit of testing, it seems we have a bunch of articles in the "Uncategorised" category that show up (using internal article links) with URLs that start with
chigov.com/chicago/schools/item/
which display normally.

Examples:
test2.chigov.com/chicago/schools/item/269:transcript-of-interview-with-john-kugler
test2.chigov.com/chicago/schools/item/268:transcript-of-interview-with-megan-ruthaivilavan
test2.chigov.com/chicago/schools/item/281:transcript-of-interview-with-mike-quigley

But I have no idea how these got associated with the "schools" category.

Furthermore, we can get to any of these articles by manually entering in the address bar:
www.chigov.com/component/content/article/203-uncategorised/
followed by the article string. The article will then display without the front-page content, but with an "Articles" heading.

I realize that this issue might go beyond the scope of Joomla Bamboo's template. That said, I'd appreciate any insight you might have.

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
"The article will then display without the front-page content, but with an "Articles" heading."

This means the itemid issue I think e.g. no menu link - try adding a menu link and see it if it disappears
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry, Paul, I think my last post was a little vague.

I'd really like to learn how we got "Uncategorised" articles to appear with URLs that reflect the "Schools" category (i.e., displaying /schools/item/ in the URL).

We created these articles in J2.5--and J3 doesn't have any way (that I can see) to accomplish this.

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

Have you tried adding the articles to a menu hidden (or not) with the parent link item being schools?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Like this but saying schools and then uncategorised content being the childern of this parent item

schools.png
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Based on your suggestion, Paul, I created a test article, and made it a non-displaying menu item on the Main Menu. I set the Main Menu's item "Schools" as the parent.

It then showed up with this URL:
chigov.com/chicago/schools/test-educ-art.html

Which is a more palatable URL, I think.

However, this resulted in the "Schools" item in the Main Menu appearing with a small triangle on its right (see below). The triangle appears to have no functional effect.

36-schools-menu-item.png


When I unpublished the article's menu item, the triangle disappeared. Thoughts?

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

Did the source code show any child menu links?
even if not displaying

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
It doesn't seems so, Paul. If you mean, when I examine the front end with Firebug . . . here 'tis:

Screenshot2016-04-14at12.12.41PM.png


Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hmm odd

This must be related to the alias generated

If you hid the icon / carat on the item would that be a solution?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry, Paul, I don't follow. How would I hide the icon/carat?

Jim
  • glow's Avatar
  • glow
  • 3 Month Basic
  • 195 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jim,

With css to target that particular link

Assuming this was a good enough solution

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers