Category: PHP Link Directory
Enable ajax to Deal with Time Out Issues
If you have thousands categories and you do not enable ajax, you will often meet time out issues, such as: Fatal error: Maximum execution time of 30 seconds exceeded in ****include/functions.php on line XXX How to deal with this then? Here let me share my tip with you.
How to change phpld title seperator
Want to change the seperator between categories in the title tag? At the moment the phpld generate the title as: home – category – category – category
Disordered Chinese Characters in Phpld
Open init.php, between $db->SetFetchMode(ADODB_FETCH_ASSOC); read_config($db); add MySQL_query(“SET NAMES ‘latin1′”); let them becomes:
how to add php code in phpld, find current url?
It is very simple,just like this: {php} echo “PHP“; echo “I love PHP“; echo “included in .tpl“; {/php} Find the Current URL with PHP
How to ad text on main page of phpld?
{if $category.ID == 0} This is the description of my homepage. I can even include html. {/if} Note:the above code works, but the only problem is this added text also appears when using the search function from the home page.