We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19115
    • 20 Posts
    Hi guys
    I'm going mental here. Anyone know how to pass a longtitle value to a select binding instead of using a static value;

    @SELECT COUNT(*) FROM mod_site_tmplvar_contentvalues WHERE value LIKE '***here I would like to pass longtitle value***'

    Or if there is a way to get getResources to count how many resources that has a specific value in the output.

    I'm building a restaurant site that has a sidebar that list different categories, like budget restaurants, exklusive restaurants etc. What I would like to do is simply to show how many restaurants that are in each category; ex Budget (44), Exclusive (45) etc.

    You can see the sidebar here;

    http://www.minakrogar.nu/test1.html

    I'm going crazy here, would really appreciate if someone have a solution for this!
    Thank's
    Michael