ngarasan VIP
Total posts: 181
29 Nov 2012 19:40

Hi,

I have Co.7.9620 installed.

I create Type with its Field, I create Section with its Categories and I assigned a Menu to this section.

The problem is, there is no Category Index visible at all.

I have set all parameter accordingly with no result.

And then, I installed Forum Pack.

It works. All Categories are visible. So I conclude, nothing to do with my Joomla Template.

I try to Save to Copy the Section from Forum Pack and assigned it to a Menu and create Categories. Still no result.

**Next, I open my database and went to js_res_sections table. I see something wrong in the last column which is named categories.

Although I have 2 categories in the Section, but the value in last column (categories) is always 0 or NULL. So, I change the value to 2.

And Abrakadraba, now category is visible in Category Index.**

I try to add more category in section. But the value in database remain the same.

I don't know what is wrong but at least, I can continue my project.

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
30 Nov 2012 01:06

That was fixed long ago and should be fixed in 7.9620. That is strange you did not have it.


Sergey
Total posts: 13,748
30 Nov 2012 01:14

Could you please tes for me id js_res_categories have section_id populated.


ngarasan VIP
Total posts: 181
30 Nov 2012 01:20

I see value in section_id in js_res_categories.


Sergey
Total posts: 13,748
30 Nov 2012 03:40

If you add new category to section will categories column of sections table increase?

Also check administrator/components/com_cobalt/controllers/category.php if you have postSaveHook() there with

$db->setQuery("SELECT COUNT(*) FROM #__js_res_categories WHERE section_id = {$section->id}");

$section->categories = $db->loadResult();

$section->store();

AT THE END.


ngarasan VIP
Total posts: 181
30 Nov 2012 07:26

When I add new category to section, categories column of sections table is NOT increase.

Hidden text


Sergey
Total posts: 13,748
01 Dec 2012 11:23

This is strange. It is not what is in the latest release. Line 9 have to be at line 22.


ngarasan VIP
Total posts: 181
01 Dec 2012 19:31

This is copied from Cobalt About menu.

=>

MintJoomla Cobalt 7

Cobalt 7 is a great extension to aid in the design of components and content for your site. You can use it to create hundreds of different items.

Details

Version 7.9620

Codename Black Ice

Support Email This email address is being protected from spambots. You need JavaScript enabled to view it. document.getElementById('cloak7d7d6d730f5c39526c51b76e15a920d8').innerHTML = ''; var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy7d7d6d730f5c39526c51b76e15a920d8 = 'support' + '@'; addy7d7d6d730f5c39526c51b76e15a920d8 = addy7d7d6d730f5c39526c51b76e15a920d8 + 'mintjoomla' + '.' + 'com'; var addy_text7d7d6d730f5c39526c51b76e15a920d8 = 'support' + '@' + 'mintjoomla' + '.' + 'com';document.getElementById('cloak7d7d6d730f5c39526c51b76e15a920d8').innerHTML += ''+addy_text7d7d6d730f5c39526c51b76e15a920d8+'';

Homepage MintJoomla

License GPL

Copyright (c) 2005-2012 MintJoomla

What should I do then? Is it only happened to my copy?


Sergey
Total posts: 13,748
01 Dec 2012 21:21

I downloaded cobalt package and unpacked it and checked the file and it is correct

So, there may be only one reason why. This file was not updated on update because of file permissions. And that may happened to other files as well. That may means that you have some files outdated.

Try to set files to 644, folders to 755 and reset ownership to ftp user and set FTP settings in Joomla configuration.


ngarasan VIP
Total posts: 181
02 Dec 2012 20:28

Hi,

Just this morning I see that there is a new Cobalt version (Co.7.9625).

I downloaded it and Installed.

And then..

My problem is solved!

(Actually, I did not change any setting, permission, FTP, etc).

Anyway, thank you..

Powered by Cobalt