select links from linkstable
Posted Feb 16, 2015 - 4:21 AM:
Hi,
In which function/file can I find the select command that gets the data out of the links table for the relevant catid and displays it in the category via <!-- INSERT ALL LISTING TYPES -->?
<!-- INSERT ALL LISTING TYPES --> is replaced in classes/template.php with the separate type codes for each listing type, and the category listings are extracted from the database and used to replace the type codes in includes/displaycat.php (different lines depending which settings/tweaks are active), but it's a bad idea to edit the files directly since that'll break your ability to upgrade and sometime down the road your site will end up hacked because of that.
Instead, let me know what you're trying to change and I can point you to a pluggable function / modifications file method or create one for the purpose.
Comments on select links from linkstable
Beginner
Usergroup: Customer
Joined: Feb 16, 2015
Total Topics: 1
Total Comments: 1
Posted Feb 16, 2015 - 4:21 AM:
Hi,
In which function/file can I find the select command that gets the data out of the links table for the relevant catid and displays it in the category via <!-- INSERT ALL LISTING TYPES -->?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
<!-- INSERT ALL LISTING TYPES --> is replaced in classes/template.php with the separate type codes for each listing type, and the category listings are extracted from the database and used to replace the type codes in includes/displaycat.php (different lines depending which settings/tweaks are active), but it's a bad idea to edit the files directly since that'll break your ability to upgrade and sometime down the road your site will end up hacked because of that.
Instead, let me know what you're trying to change and I can point you to a pluggable function / modifications file method or create one for the purpose.
Generalized advice: scripts.webmastersite.net/w...odifications-guide-77.html