klox7 VIP
Total posts: 914
13 Фев 2013 08:06

Hello,

is there an easy way to create multiple categories (ex. 200) inside section? A have a list of cities that I want to have as categories.

Regards

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


Konstantin
Total posts: 1,113
13 Фев 2013 22:19

Hello,

with Cobalt you have to create each category manually. If you now SQL you can try do it with query directly in database. Create one category manually and setup all properties, then use same Mysql client (e.g. phpMyAdmin) dump one row from table #_js_res_categories with this category. You must have row like this "INSERT INTO ..._js_res_categories .... ;" , multiply this row 200 times end edit each one. After all execute all this queries in one time.


Sergey
Total posts: 13,748
14 Фев 2013 01:23

Another way is to use multilevelselect field as categories. Then you cal load many values (categories) with simple TXT file.


klox7 VIP
Total posts: 914
14 Фев 2013 02:10

Hi, thx for answers, like the idea of using multilevelselct field as categories but can field values then be in url...ex. site.com/section/fieldvalue or even without /section part?


Sergey
Total posts: 13,748
14 Фев 2013 03:00

No it will not be in URL.


klox7 VIP
Total posts: 914
14 Фев 2013 05:12

OK thx, but filter link still works in Cobalt7 like in Mighty Resources? ex. http://www.domain.com/section/?ext_filterID []=value


Sergey
Total posts: 13,748
14 Фев 2013 05:57

Right. If you make this field filterable and enable values as links you may simply copy links right from articles.


klox7 VIP
Total posts: 914
15 Фев 2013 05:55

I decided to go with multilevelselect field but cannot get constructer to work. Somehow ctrl+enter doesn't save values! Even if I want to add value from frontend and when I click add button it says "Level is required, please select value". I'm using Cobalt 7. Tried on another installation with J3 an Co8 and it works OK.


Sergey
Total posts: 13,748
15 Фев 2013 06:37

Checking..


klox7 VIP
Total posts: 914
15 Фев 2013 07:37

Tried in Firefox and it works, Chrome doesn't!


Konstantin
Total posts: 1,113
18 Фев 2013 03:15

We checked an fixed field 'multilevelselect' .

Thank you.

Работает на Cobalt