Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to filter links by specific Field

Quote Reply
How to filter links by specific Field
Hi all,

I'm building Nationwide directory and i want to have only one category structure for all cities and show links by City field.
When user open the site he will see only links that are belong to city he entered on profile, so i think the best way is to add something like this: $cond->add('City','=',$prof_City);

But i don't know which functions to hook on even if there is function where i can put this on one time and this afect the whole categories.

Any help is appreciated.


Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins