[Invalid cats r1454 - some bugs/errors/problems

More
12 years 9 months ago #28016 by Rehne

Also , please check that the FLEXIcontent System Plugin is published (all notices are because info for some categories cannot be found in the cached object that the FLEXIcontent System plugin creates)

If the problem persists, pleases take time to put this site online and send me a PM ... giving me admin login and telling which category and or item to open to see the issue,

regards


i have send you a PM with login data
the error occurs always when i create a new categorie

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #28020 by ggppdk
aah, yes very recent feature for preventing user to select wrong parent category create this issue for new category creation

any other place with notices or errors in the site that you have PM-ed me?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #28022 by ggppdk
In r1456,
I have fixed a recent bug regarding form field 'parent_id' for new category edit form.

I have upgraded the site you have PM-ed me, please test.

Also upgrade your local site or enable error-reporting on remote site to check for the other notices you have mentioned before, tell me if they appear and provide specific backend/frontend URLs so that i can test

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #28026 by Rehne
thanks ...

the errors are gone :)

now i have some other problems
(e.g. the item text (description) is not displayed -AGBs and all others )
but i'll do some more test
so I know that it is not because of any wrong settings by myself

but what i can not understand
the navigation (breadcrumb) path is not updated
if i change the category of an item
there remains always the same old category
until I change in the menu the link to another item (save) and then change back :?:

Regards

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #28028 by Rehne
Hi,

i do some new more tests

ggppdk wrote: Also upgrade your local site or enable error-reporting on remote site to check for the other notices you have mentioned before, tell me if they appear and provide specific backend/frontend URLs so that i can test

Now everything seems to be OK

Rehne wrote: (the item text (description) is not displayed -AGBs and all others )

i found the problem after long search
and i'm a little confused (i think maybe otherone too in this situation)
in the global config of FC you can choose for
Always create field HTML the option Never unless in a template position
i understand what that means
but for the Standard Template blog (item view)
it should have no impact
ok for the readonly positons 'fields_top' and 'fields_bottom' there also seems to be so
also when the setting Never unless in a template position is use
but NOT for the 'description' that does not appear ussing this setting
I think that should be changed

ggppdk wrote: but what i can not understand
the navigation (breadcrumb) path is not updated
if i change the category of an item
there remains always the same old category
until I change in the menu the link to another item (save) and then change back :?:

I do not understand ...
however, it is always as described
the breadcrumb is not updated automatically

Regards and thanks for all

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #28033 by ggppdk
1. The pathway is created inside view.html.php of the item view e.g. for itemK

2. but it gets current category id via the menu item variable cid, e.g. catA

3. You have changed the itemK so that catA is no longer ONE OF the categories of the itemK

4. but the menu item pointing to itemK is unchanged so it cid variable is still catA

5. solution: the item model check is the current category (variable cid) is assigned to the item ...
so in view.html.php

replace line:
$cid = JRequest::getInt('cid', 0);
with
$cid = $model->_cid ? $model->_cid : $model->get('catid');

This will use item's main category if current category is no longer assigned to the item

thanks for reporting, i will commit fix,


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.333 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save