cotonti.com : Structure desc to textarea https://www.cotonti.com Последние сообщения в теме Cotonti en Fri, 07 Nov 2025 20:36:54 -0000 SunChase

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...]]>
пт, 31 июл 2009 03:59:35 -0000
Trustmaster пт, 31 июл 2009 03:02:14 -0000 SunChase I dont know how to change the desc field to textarea with textboxer...]]> пт, 31 июл 2009 02:40:12 -0000 Trustmaster пт, 31 июл 2009 02:34:51 -0000 Dayver this ticket]]> пт, 31 июл 2009 01:09:08 -0000 SunChase 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 ? :
  • change db
  • put the textboxer for cat_desc in the admin=>structure (this one i dont know how to do)
  • in list.inc.tpl edit the tag to => "LIST_ROW_DESC" => sed_parse($pag['page_desc']),
  • ]]>
    пт, 31 июл 2009 00:16:12 -0000
    Trustmaster чт, 30 июл 2009 23:55:43 -0000 SunChase 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)]]>
    чт, 30 июл 2009 23:21:24 -0000