ngarasan VIP
Total posts: 181
29 Нояб 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.

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
30 Нояб 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 Нояб 2012 01:14

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


ngarasan VIP
Total posts: 181
30 Нояб 2012 01:20

I see value in section_id in js_res_categories.


Sergey
Total posts: 13,748
30 Нояб 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 Нояб 2012 07:26

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

Скрытый текст


Sergey
Total posts: 13,748
01 Дек 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 Дек 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 Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра. document.getElementById('cloaka1eba06f895719451243df575f53a932').innerHTML = ''; var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addya1eba06f895719451243df575f53a932 = 'support' + '@'; addya1eba06f895719451243df575f53a932 = addya1eba06f895719451243df575f53a932 + 'mintjoomla' + '.' + 'com'; var addy_texta1eba06f895719451243df575f53a932 = 'support' + '@' + 'mintjoomla' + '.' + 'com';document.getElementById('cloaka1eba06f895719451243df575f53a932').innerHTML += ''+addy_texta1eba06f895719451243df575f53a932+'';

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 Дек 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 Дек 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..

Работает на Cobalt