| Joomla! http://forum.joomla.org/ |
|
| [FIXED][CONFIRMED:9339]Frontpage link error in RC3 http://forum.joomla.org/viewtopic.php?f=235&t=225022 |
Page 1 of 1 |
| Author: | stampie [ Sat Oct 20, 2007 3:33 pm ] |
| Post subject: | [FIXED][CONFIRMED:9339]Frontpage link error in RC3 |
I've got a strange bug in Joomla 1.5 RC3 (and the bug is also present in the latest nightly build). When I'm not using the Frontpage component to list some articles for the index page of the site, but I choose a Blog section or a Blog category, the content urls stop working. If I'm using the Frontpage component, or I'm using the Blog section or the Blog category on a different page (reachable from the menu), the links are working as expected. Investigating the problem further I found out, that the links are not containing every information on a frontpage blog section I got a link like index.php?view=article&id=177, on other pages the working links are like index.php?view=article&catid=17&id=97&option=com_content&Itemid=29. I think, the content component is getting some information from the caller url, which is not present on the index page (index.php without parameters). Please, look at the problem, because I would like to use a content section as Front page, as I did it in 1.0. Thank you for your help. Stampie |
|
| Author: | Kadosch [ Sun Nov 11, 2007 8:27 pm ] |
| Post subject: | Re: Frontpage link error in RC3 |
Friend did you got some fix for that error? |
|
| Author: | Jick [ Sun Nov 11, 2007 10:24 pm ] |
| Post subject: | Re: Frontpage link error in RC3 |
I was about to post just this same bug. You can basically only use com_frontpage as the "home" menu item or else sef links in a category or section blog listing will just be normal links and give error pages. Please fix, these are bugs that keep people from further testing since they can stop development on a site. Arno |
|
| Author: | stampie [ Sun Nov 11, 2007 10:28 pm ] |
| Post subject: | Re: Frontpage link error in RC3 |
Not only SEF links. Even when all kinds of SEF are turned off, the problem stays. And I'm glad I'm not the only person who found this problem. And about two days ago the nightly build worked the same. And I didn't had the time to examine the problem in details. |
|
| Author: | mihu [ Mon Nov 12, 2007 6:57 pm ] |
| Post subject: | Re: Frontpage link error in RC3 |
TEST w/ SVN 9339. CONFIRMED. If the com_frontpage is a "default" menu, and in category or section layout, the site xxx.com will lead to a error page. |
|
| Author: | Jick [ Thu Nov 15, 2007 12:42 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
The error I get after clicking a link is layout blog not found. Maybe that helps. [me=Jick]waiting patiently but with tapping feet for a fix for this one :-)[/me] Arno |
|
| Author: | mcsmom [ Thu Nov 15, 2007 2:41 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
@mihu, I don't understand what you mean by "default menu page." |
|
| Author: | Jick [ Thu Nov 15, 2007 2:53 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
Try to set a blog category or whatever to be the default menu item in the mainmenu of a clean 1.5 instead of the home link which is com_frontpage. Than test the linked titles for example on that new default page. Arno |
|
| Author: | mcsmom [ Thu Nov 15, 2007 3:21 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
Just to be clear, the problem happens when you make it the default? Here is what i did on a svn that i copied this morning. template milky way no SEF 1. make a blog category menu link on main menu 2. make that link the default Go to default, Got 500 error. Click on the menu link it is fine. This is because the default url is missing the option=com_content&. I have seen this exact same problem on a number of different reports, including one from me about civicrm menu links. The router is not picking up the component. added: The router seems to work correctly when making menu links, the problem lies, as usual, in those situations where the menu link is not being used directly. I am going to try to put the reports about this in one place, if you know of any others, please you add them here. |
|
| Author: | tcp [ Thu Nov 15, 2007 4:26 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
Will look into this. Examples using Rev 9352 and a very recent fresh install. Home ( frontpage ) is default, URL is http://joomla-test/index.php?option=com ... &Itemid=50 The News ( Articles/Category/Blog ) is default, URL is http://joomla-test/index.php?view=artic ... volunteers Probably a router problem. tcp |
|
| Author: | Jick [ Thu Nov 15, 2007 4:33 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
Thanks tcp |
|
| Author: | tcp [ Thu Nov 15, 2007 4:54 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
In both cases, the layout files are responsible for creating the readmore link, but the View classes actually generates the href. And they are doing it in different ways as show below. Frontpage - ContentViewFrontpage::getItem() Code: $item->readmore_link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug, $item->sectionid)); Category - ContentViewCategory::getItem() Code: $item->readmore_link = JRoute::_('index.php?view=article&catid='.$this->category->slug.'&id='.$item->slug); I'm assuming Frontpage's method is preferable. Updated in Rev 9353. Please let me know if there are any problems. tcp |
|
| Author: | Jick [ Thu Nov 15, 2007 5:30 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
First test looking good tcp, many thanks. I'll let you know if anything goes wrong along the way. Arno |
|
| Author: | kelb [ Thu Nov 15, 2007 5:46 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
@tcp can you pls see my post related to this issue. http://forum.joomla.org/index.php/topic ... msg1063134 |
|
| Author: | mcsmom [ Thu Nov 15, 2007 6:09 pm ] |
| Post subject: | Re: [CONFIRMED:9339]Frontpage link error in RC3 |
No more 500 error for me.
|
|
| Author: | mihu [ Thu Nov 15, 2007 6:42 pm ] |
| Post subject: | Re: [FIXED][CONFIRMED:9339]Frontpage link error in RC3 |
DEV Notes; Marks as FIXED Thanks tcp @all, Can we close this one down? |
|
| Author: | mcsmom [ Fri Nov 16, 2007 2:02 am ] |
| Post subject: | Re: [FIXED][CONFIRMED:9339]Frontpage link error in RC3 |
I'd say so. |
|
| Author: | tcp [ Fri Nov 16, 2007 9:50 am ] |
| Post subject: | Re: [FIXED][CONFIRMED:9339]Frontpage link error in RC3 |
Dennis found the answer to this a month ago. Moving to Resolved. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|