Topic: Problem when tring to create a section/category table entry in menu

when attempting to create a new menu item of category or section table, there appears to be a bug. rather than create a url such as

 .../index.php?option=com_content&task=section&id=10&Itemid=73 

you just get

 .../&Itemid=73

which of course gives a 404 error when clicking the menu item on the live site

Cheers
Al

Many people confuse having a clear conscience with having a short memory.

Re: Problem when tring to create a section/category table entry in menu

also, if i manually put in what i think it should be into the address bar, i get a message about not authorised to view this resource.
this happens on three different sites

cheers
al

Many people confuse having a clear conscience with having a short memory.

Re: Problem when tring to create a section/category table entry in menu

Hmm, so is this a bug or more likely to do with my intallations? Has anyone else encounter similar problems or have any suggestions please?
cheers
al

Many people confuse having a clear conscience with having a short memory.

Re: Problem when tring to create a section/category table entry in menu

It is bug. I have the same.

Re: Problem when tring to create a section/category table entry in menu

I have changed in
/administrator/components/com_menus/content_category/content_category.menu.html.php

line 155
from
  if (menuId === '') {
to
if (menuId !== '') {

and it's working.

The same in
/administrator/components/com_menus/content_section/content_section.menu.html.php

line 141
from
  if (menuId === '') {
to
if (menuId !== '') {

Last edited by tmrow (2009-08-19 08:31:23)

Re: Problem when tring to create a section/category table entry in menu

Thanks tmrow,
That did the trick. smile
Cheers
Al

Many people confuse having a clear conscience with having a short memory.

Re: Problem when tring to create a section/category table entry in menu

Thanks guys, we'll get this in the next patch.

Re: Problem when tring to create a section/category table entry in menu

Thanks for that fix.

Unfortunately at this point I am unable to Change Parent Item (or make any edits)  on a Content Category Table Item.

I get a System Message: You must select a category.

There are a section and category listed to the left of Category: and I don't actually see what it is possible to select a category within this page.

Thanks for any input.

Mike

Re: Problem when tring to create a section/category table entry in menu

mikeill wrote:

Thanks for that fix.

Unfortunately at this point I am unable to Change Parent Item (or make any edits)  on a Content Category Table Item.

I get a System Message: You must select a category.

There are a section and category listed to the left of Category: and I don't actually see what it is possible to select a category within this page.

Thanks for any input.

Mike

Sorry. It is my mistake. Creating new is working but modyfication not.
The new fix is:
/administrator/components/com_menus/content_category/content_category.menu.html.php

line 155
from
  if (menuId === '') {
to
if (!menuId) {


The same in
/administrator/components/com_menus/content_section/content_section.menu.html.php

line 141
from
  if (menuId === '') {
to
if (!menuId) {

Now creating new and modyfication are working.

Re: Problem when tring to create a section/category table entry in menu

great! thank you so much.

mike

Re: Problem when tring to create a section/category table entry in menu

Yes I think this is bug. Thanks for the input.

Last edited by josuyabell95 (2010-07-02 09:43:19)