SunChase |
|
---|---|
I want to make the category's description field to a textarea with textboxer(in admin pannel).
Tell me please how to make it? I'w changed in the DB its type to 'text',but i dont know how to put the textboxer window in the in the 'Create new' (http://cot4/admin.php?m=page&s=structure) [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
Trustmaster |
|
---|---|
Neither it will parse BBcodes there. You need a plugin for that, or a massive corehack will take place.
May the Source be with you!
|
SunChase |
|
---|---|
here is the general idea:
I want to make special categories for authors,on which they will put out theyr works. So this means that i need some logo in every list.First i wanted to make list.tpl's for every category but its will be to much.Than i thought just to put in list.tpl tags like List_caticon and list_catdesc. can i make this in the next way ? : [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
Dayver |
|
---|---|
For the similar problem this ticket
Pavlo Tkachenko aka Dayver
|
Trustmaster |
|
---|---|
Did you know categories can have icons? {LIST_CATICON} is used for that. Normally icons are set in category options, but you can make a simple plugin so that it would let users change icons for their categories.
May the Source be with you!
|
SunChase |
|
---|---|
about icons i know.
I dont know how to change the desc field to textarea with textboxer... [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
Trustmaster |
|
---|---|
Well, as dayver told, there will be extra fields for lists in 0.7. He has implemented them but the code is pending until 0.6.1 is out.
May the Source be with you!
|
SunChase |
|
---|---|
until then...here is a temporary way to do this(if someone needs):
admin.structure.inc.tpl ... <tr> <td>{PHP.L.Description} :</td> <td> <textarea class="editor" name="rdesc" rows="14" cols="80">{ADMIN_PAGE_STRUCTURE_DESC}</textarea> </td> </tr> ..... <tr> <td>{PHP.L.Description} :</td> <td><textarea class="editor" name="ndesc" rows="14" cols="80"></textarea></td> </tr> ... and for parsing...list.inc.php "LIST_CATDESC" => sed_parse($sed_cat[$c]['desc']),but it doesnt like AJAX... [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|