RSS Feed/News How can I reference resources in node pages or threads?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,642
Points
823

Reputation:

How can I reference a resource that has been created to get at the URL, title, etc? I'd like to use the properties of a given resource in the content of a page as well as post.

I tried something like this, but no luck!
HTML:

Code:
<xf:macro name="resource"
    arg-resource="12345"
    arg-category="15">
    <div><a href="{{ link('resources', $resource) }}" class="labelLink" rel="nofollow">{$resource.title}</a></div>
</xf:macro>

Thank you!

Continue reading...
 
Status
Not open for further replies.
Top