Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
FilterQuery for HubDB Table : HubL
Contributor
Jan 13, 2020 1:06 PM - edited Feb 21, 2020 3:00 PM
Hello all,
I am trying to filter my HubDB table based on the Page Title. There is a column page_title in my table. And the code I am using is
{% set pagetitle = page_meta.html_title %}
{% for row in hubdb_table_rows(000000, "&page_title=pagetitle") %}
...................
{% endfor %}
How can I use pagetitle as a dynamic variable and not static text itself? Right now it tries to find a value 'pagetitle' instead on actual HTML Page title.
Thank you for your help in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content