Hello,
I use XF1.5 and RM. Within RM I would like to change the <title> tag for a single category (category id = 8).
Example:
A RM item in category 8 has a h1 tite "My title", entered by the user. "My title" also appears in the html pages <title> tag. But for category 8 I would like to change <title> in "This is my new page title for category 8"
My idea was to modify template resource_view_header and add sth. like this:
However, I do not know how I can overwrite the title var. I had a look at $xenOptions, but witout any success.
Any ideas what I could do?
I use XF1.5 and RM. Within RM I would like to change the <title> tag for a single category (category id = 8).
Example:
A RM item in category 8 has a h1 tite "My title", entered by the user. "My title" also appears in the html pages <title> tag. But for category 8 I would like to change <title> in "This is my new page title for category 8"
My idea was to modify template resource_view_header and add sth. like this:
Code:
<xen:if is="{$resource.resource_category_id} == 8">
Write new title here
</xen:if>
However, I do not know how I can overwrite the title var. I had a look at $xenOptions, but witout any success.
Any ideas what I could do?