I need to know if is possible to arange the category in alphabetical order:
viewtopic.php?f=1&t=18330&p=113205#p113205
$sql = "SELECT * FROM ".DB_PREPEND."phpwcms_articlecat WHERE acat_trash=0 AND acat_struct=".intval($id)." ORDER BY acat_sort";
$sql = "SELECT * FROM ".DB_PREPEND."phpwcms_articlecat WHERE acat_trash=0 AND acat_struct=".intval($id)." ORDER BY acat_name";
$sql .= "acat_trash=0 ORDER BY acat_struct, acat_sort";
$sql .= "acat_trash=0 ORDER BY acat_name";
Warning: include_once(/home/budo/public_html/include/inc_lib/admin.structure.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/budo/public_html/phpwcms.php on line 464
Warning: include_once() [function.include]: Failed opening '/home/budo/public_html/include/inc_lib/admin.structure.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/budo/public_html/phpwcms.php on line 464
structura site
Fatal error: Call to undefined function get_root_childcount() in /home/budo/public_html/include/inc_tmpl/admin.structlist.tmpl.php on line 58
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/budo/public_html/include/inc_front/front.func.inc.php on line 6039
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/budo/public_html/include/inc_front/front.func.inc.php on line 3012
$redirect = get_redirect_link($GLOBALS['content']['struct'][$key]["acat_redirect"], ' ''', ''','','');
culda_a wrote:...nc_front/front.func.inc.php on line 6039
culda_a wrote:$redirect = get_redirect_link($GLOBALS['content']['struct'][$key]["acat_redirect"], ' ''', ''','','');
$redirect = get_redirect_link($GLOBALS['content']['struct'][$key]["acat_redirect"], ' ', '');
Return to hacks & enhancements
Users browsing this forum: Alexa [Bot], Yahoo [Bot] and 0 guests