Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 5:04 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 411 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14
Author Message
Posted: Sat Oct 27, 2007 7:49 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Sep 30, 2006 4:29 am
Posts: 261
Location: Park Forest, IL
AmyStephen wrote:
Congrats, Gary, on the upgrade.

If you do not use the 1.0.11, or before, logic, then your Frontpage articles will use an Itemid of 1 in the URL. That will result in the dreaded duplicate content that causes some to want to jump from tall buildings since it is believed Google will not smile on such sites. ;)

Also, modules that display articles on your frontpage will also use an Itemid  of 1 in the URL. (Latest news, most popular, etc.)


Amy, I don't understand: what the issue is with an ItemID of 1?  Does that mean that, as far as Google is concerned, there are two URLs for the same article?  So my site won't fall apart?  Is that the worst that can happen?

_________________
Gary Kopycinski
Editor & Publisher
eNews Park Forest
http://www.enewspf.com


Top
  E-mail  
 
Posted: Sat Oct 27, 2007 9:00 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 6423
Location: Nebraska
Honestly, I recommend you select the "1.0.11, or before" logic. That way, Joomla! will use an existing URL for the read more, instead of using the Frontpage Itemid of 1, and thus creating a new URL.

Background: As you know, you can show or hide a module based on the menu item (which is the same thing as saying Itemid). The same is true of templates. You can indicate which template should be used, based on the menu item.

So, when v 1.0.12 came out and the frontpage articles all of the sudden carried the Itemid of the frontpage, the modules and templates they wanted to show for the article did not show after clicking the read more.

As you can tell from the number of posts in this topic, we could go on and on and on about this issue.
We could also avoid further discussion on THIS topic if you just use the "1.0.11, or before" option.  That's what I recommend.  ;)

But, in neither case will your website "fall apart" even though it really does matter to some because of how their site is designed. For some, it makes little difference at all.

Hope that helps!
Amy :)

_________________
http://Twitter.com/AmyStephen
Unofficial Joomla Developer and Site Builders Network http://AllTogetherAsAWhole.org


Top
   
 
Posted: Sun Oct 28, 2007 12:01 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Sep 30, 2006 4:29 am
Posts: 261
Location: Park Forest, IL
Amy:

That's what I'll do.  If and when the other structure becomes permanent in future releases of Joomla, well, I'll cross that bridge when I trip over it.

And I agree: no use kicking this dead horse any more.  Calling attention to a dead horse doesn't make it any less dead.

:D

_________________
Gary Kopycinski
Editor & Publisher
eNews Park Forest
http://www.enewspf.com


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 2:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Nov 12, 2007 12:49 am
Posts: 6
Hi there,

I was hoping to get some clarification on a menu/submenu & Itemid issue I'm having. I come from a programming background and have only been working with Joomla for a couple of months now, currently using 1.0.12. So far this thread has been invaluable in coming to understand the Itemid system and I'd much prefer to work with the intended implementation in mind, instead of hacking around it. I've tried searching for answers to my problem and do apologise if this is duplicating previous questions.

I understand that accessing a single content page via 2 different menu items results in individual URLs, and the modules displayed will be those associated with the menu or parent menu via which the content was accessed. In my case I'm more interested in just highlighting the parent menu item than display certain modules.

I have a submenu item pointing to a content page - I'm effectively saying 'this page is a child of the parent menu item - it belongs in this category'. I'd also like a submenu item under a different parent menu item pointing to the same page - but instead of saying "here's the page" I want to it acknowledge that the page belongs in another section, so it's more like a link to the submenu item of that page which instantly redirects. Visually, I want the parent menu item of the page highlighted as active instead of the parent menu of the link I followed.

I believe this asking for something like the unintended behaviour introduced in 1.0.10 and .11 that has since been fixed. I know that there are different points for and against the 2 different ways that Itemid's could be used. I also totally accept the intended behaviour, which is why I'm asking if there is a logical way of making this work. I'm not after a quick fix that makes it look like it's working if at all avoidable, I'd much prefer a reasoned approach that takes the data structure into consideration.

Thanks all for your patience and help.


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 11:19 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
jesskahrawr wrote:
Hi there,

I was hoping to get some clarification on a menu/submenu & Itemid issue I'm having. I come from a programming background and have only been working with Joomla for a couple of months now, currently using 1.0.12. So far this thread has been invaluable in coming to understand the Itemid system and I'd much prefer to work with the intended implementation in mind, instead of hacking around it. I've tried searching for answers to my problem and do apologise if this is duplicating previous questions.



Use 1.0.13 .  You have the ability to toggle the 1.0.11 item id usage, or 1.0.12 item id usage in the back end configuration.

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 7:52 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 12, 2007 9:49 am
Posts: 4
Hi,

I am using 1.0.13, I don't know why all the items posted on the frontage have same itemid=1.

On every readmore link on the frontpage it has itemid=1

xxxxxxxxxxxxxxx/index.php?option=com_content&task=view&id=12&Itemid=1

I need the readmore link direct to the article with the right itemid



Many thanks in advance.


Last edited by nurre on Mon Nov 12, 2007 7:58 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Nov 12, 2007 8:05 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
Quote:
You have the ability to toggle the 1.0.11 item id usage, or 1.0.12 item id usage in the back end configuration

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 9:25 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 12, 2007 9:49 am
Posts: 4
MMMedia wrote:
Quote:
You have the ability to toggle the 1.0.11 item id usage, or 1.0.12 item id usage in the back end configuration



If I understood correctly I changed Itemid Compatibility Mode: to 1.0.11 and before. It results that all the News items have itemid=2 and all FAQ Items have itemid=9

As I saw in Mambo when you click on the item it goes strait to the item and the item doesn't keep the form of the main page. I hope I made myself clear. What I meant is that by clicking on the read more link of the item it should display the item in full format without keeping the frame of the main page with the modules at the top and the sides.

 


Last edited by nurre on Mon Nov 12, 2007 9:51 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Nov 12, 2007 10:00 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 12, 2007 9:49 am
Posts: 4
Sorry for the trouble!

Now I got it. Many thanks again


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 10:15 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Nov 12, 2007 12:49 am
Posts: 6
MMMedia wrote:
Use 1.0.13 .  You have the ability to toggle the 1.0.11 item id usage, or 1.0.12 item id usage in the back end configuration.


Thanks for the reply but formatting your computer just because a single program failed isn't always the best approach and certainly shouldn't be the first. I'm after an understanding of the logic and possible variations, even if it may not be possible to implement at the moment.

My current workaround is to make the 2nd submenu item a URL link to the same URL as the first submenu including the Itemid of the "owner" menu - it works for a one off case without being impossible to understand or requiring code changes. Any conversation of substance about why this is/isn't a good idea is welcome.


Top
  E-mail  
 
Posted: Mon Nov 12, 2007 10:41 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 6423
Location: Nebraska
jesskahrawr -

On Christmas Day - December 25, 2006, this story began. Since then, there were nearly 80,000 views and this will be the 400th response. It's well past time to admit the v 1.0.12 Frontpage ItemID=1 article issue was a flop. By moving forward to v 1.0.13, one is *not* taking a drastic measure equivalent to reformatting their computer, but rather simply pulling themselves onto dry land. :P

Listen to MMMedia - she's been involved in helping people with this problem. Please upgrade to v 1.0.13. Then, go into the backend Administrator, into the Global Configuration Utility and select the v 1.0.11 and before option.

You will be happy to note that in Joomla! v 1.5, you will not see this frontpage issue reappear. The SEF URLs are great. System-generated duplicate content is gone. So, there is nothing to learn here - for those of us who weathered this storm, it will be (not so) fondly remembered as a dark chapter in the history book of Joomla!.

With respect, but, sincerely I am *sick* of this thread! Good bye Joomla! v 1.0.12 - Hello Joomla! v 1.5. See you all in the v 1.5 forum area when you are ready,
Amy :)

_________________
http://Twitter.com/AmyStephen
Unofficial Joomla Developer and Site Builders Network http://AllTogetherAsAWhole.org


Top
   
 
Posted: Thu Dec 13, 2007 3:11 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 20, 2007 4:41 pm
Posts: 10
seek and you will find.    I am still kinda confused I found the item id toggle, and it fixed my problem, but still not sure on the advantages and disadvantages of doing so. Can someone explain the differences for a newbie? thanks. If this is not appropriate in this thread I will repost to another one. Thanks in advance.

Also I know the joomla team has more things to worry about than to fix something in v 1.0.13 but I would like to recommend commenting the item id toggle to explain what it does. ie a tool tip on hover informing users to toggle to v .11 or below if they have front page item id problems. It too me 3 hours working on my modules on the front page thinking it was either a module problem since i am using a 3rd party module system on my front page. Some item ids came up correct but some didnt. and they were the same link so i thought it was withing the moduels themselves. And stubborn me I spent 3 hours working on it and then finally gave up and searched the forums.

Again my problem is fixed, just not sure what capabilities i loose in fixing the problem. I know v1.5 is out however I am waiting for a stable release as well as one of my modules is not v1.5 compatable yet till v 1.5 goes stable. So I am stuck with v1.0.13 for now.


Top
  E-mail  
 
Posted: Wed Dec 19, 2007 2:29 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Sep 12, 2007 9:45 am
Posts: 13
many thanks to me for reading the entire topic with the unlimited posts  :-* :laugh:.. thanks for every1 who tries to help us as joomla users specially amy !
thank u amy very much

now my problem is
my joomla version is 1.0.12 and i 99% finished buliding the site when i notice this annoying problem ... i read thru the posts and i think my options are
1- upgrading to 1.0.13 which is not an option for me because im using two bridges and one of them is smf from joomlahack which doesnt work with 1.0.13

2- using the hack that rob provides which doesnt work for some reason and i have my site unavaliable (Parse error: syntax error, unexpected T_IF in /home/aukstude/public_html/components/com_content/content.html.php on line 402
)
3- using the template way of solving the problem ( i didnt try it yet but im was hoping of finding other way .. thats why im still looking

4- which is a question ! can i have this new feature in the back end which allows me to  toggle the 1.0.11 item id usage without upgrading the entire version to 1.0.13 its just a wish on christmas day :P



thanks again


Top
   
 
Posted: Wed Dec 19, 2007 4:45 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 20, 2007 4:41 pm
Posts: 10
muhanad wrote:
many thanks to me for reading the entire topic with the unlimited posts  :-* :laugh:.. thanks for every1 who tries to help us as joomla users specially amy !
thank u amy very much

now my problem is
my joomla version is 1.0.12 and i 99% finished buliding the site when i notice this annoying problem ... i read thru the posts and i think my options are
1- upgrading to 1.0.13 which is not an option for me because im using two bridges and one of them is smf from joomlahack which doesnt work with 1.0.13


thanks again


The way I solved this problem which really isn't a solve, but I install sh404sef SEO software. The SEF links don't care what the item id is. I makes urls from the item titles/aliases. I would suggest that as I am sure you wouldn't mind the addition to SEO optimization. It's great software, free and very easy to use.

By the way this isn't a plug for the software, just that it solved my problems and it might help someone else as well.

You can see the multiple items on my site's front page here with no problems in the breadcrumbs navigation.
http://neparounders.info


Top
  E-mail  
 
Posted: Wed Dec 19, 2007 5:32 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Nov 07, 2005 3:45 am
Posts: 447
where's the template hack for this problem? can't find it


Top
  E-mail  
 
Posted: Wed Dec 19, 2007 6:59 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Sep 12, 2007 9:45 am
Posts: 13
ThePiston  here is the ur to the thread where all the possible solutions
http://forum.joomla.org/index.php/topic ... #msg758518

thanks papokergod i will try it right now  but i just wanna ask u for how long have u been using it .. is there any problem caused by it ? ;)


Last edited by muhanad on Wed Dec 19, 2007 7:33 pm, edited 1 time in total.

Top
   
 
Posted: Wed Dec 19, 2007 8:15 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Sep 12, 2007 9:45 am
Posts: 13
papokergod
i tried the component .. its a great one btw but it didnt solve the problem ! the article still opens in the same page of the frontpage with all the modules associted to it!

do i have to change any of the settings in the component ?


Top
   
 
Posted: Thu Dec 20, 2007 3:40 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 20, 2007 4:41 pm
Posts: 10
muhanad wrote:
papokergod
i tried the component .. its a great one btw but it didnt solve the problem ! the article still opens in the same page of the frontpage with all the modules associted to it!

do i have to change any of the settings in the component ?


if you pm me the info on the site i can take a look at it.

What i think it is is the fact you have to publish the page you are trying to open to a menu item, but let me take a look first. I had that same problem but since different modules work differently I'd have to take a look.


Top
  E-mail  
 
Posted: Mon May 05, 2008 12:48 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Aug 30, 2006 4:11 am
Posts: 51
I read everything here, changed the code, itemid compatibility and nothing.

I recently upgraded from 1.0.8 to 1.0.13 and have problems with the itemid, which is shown as on frontpage.

The modules are all over my content(and I don't want them to be).

I would like to change my title link and read more... link to the old Joomla! itemid way.

Please tell me there is a solution for this except a downgrade to 1.0.11?


Top
  E-mail  
 
Posted: Mon May 05, 2008 12:52 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi chevy,

Go to your global configuration, check the content tab if you have a "Itemid Compatibility Mode:" parameter. If so, set to "1.0.11. and before".

_________________
Regards Robin


Top
   
 
Posted: Mon May 05, 2008 1:11 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Aug 30, 2006 4:11 am
Posts: 51
Tried that but didn't help me.

This on the other hand did:

changed this line in content.html.php (/components/com_content)

Code:
if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
         // where Itemid value is returned, do not add Itemid to url
         $row->Itemid_link = '&Itemid='. $row->_Itemid;



to:
Code:
if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
         // where Itemid value is returned, do not add Itemid to url
         $row->Itemid_link = '&Itemid='. $mainframe->getItemid( $row->id, 0, 1);


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 411 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14

Quick reply

 



Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group