Webmastersite.net
Register Log In

select links from linkstable

Comments on select links from linkstable

sweb1
Beginner

Usergroup: Customer
Joined: Feb 16, 2015

Total Topics: 1
Total Comments: 1
sweb1
select links from linkstable
Posted Feb 16, 2015 - 6: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 -->?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 19, 2015 - 5:39 PM:

<!-- 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
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.