[ic] Setting title of results page
ic at 3edge.com
ic at 3edge.com
Wed Dec 6 14:11:19 EST 2006
DB writes:
> I have a page with the following search:
>
> [query
> type=list
> more=1
> ml=150
> sql=|
> SELECT distinct name
> FROM cat
> |]
> [list]
> <h3>[sql-param name] items -
> Click for a list of <a href="[area search=|
> se=[sql-param name]
> sf=category
> st=db
> co=yes
> op=eq
> sp=brands_results
> va=category_name=[sql-param name]
> |]"> [sql-param name] items </a></h3>
> [/list]
> [/query]
>
>
> Now in the body of the results page, the tag
> [value category_name]
> gets displayed as expected. However I also want that value to be used
> for the results page's title. In the results page's template I have:
>
> [comment]
> ui_template: leftonly_2
> ui_type: template
> ui_name: leftonly_2
> ui_version: 5.4.1
> ui_label: Page with top/left areas 2.
> ui_source: templates/leftonly_2
> ui_template_layout: LEFTONLY_TOP_2, UI_CONTENT, LEFTONLY_BOTTOM
>
> page_title:
> label: Page Title
> width: 50
>
> members_only:
> code: members_only
> label: Members only?
> options: 1=Yes,=No*
> type: yesno
>
> meta_keywords:
> code: meta_keywords
> db: ^@
> label: Meta keywords
> type: text
> width: 50
>
> meta_description:
> code: meta_description
> db: ^@
> label: Meta description
> type: text
> width: 50
>
> [/comment]
> [set page_title][/set]
> [set members_only][/set]
> [set meta_keywords][/set]
> [set meta_description][/set]
> <!-- BEGIN PAGE_PICTURE -->
>
> but if I put
> [value category_name]
> into the title slot in the admin content editor, the title of the page
> is literally "[value category_name]" and is not getting interpreted as I
> want.
>
> Does anyone have an idea why the tag gets displyed correctly in the page
> body but not in the title?
[seti page_title][value category_name][/seti] ?
More information about the interchange-users
mailing list