امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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:
Thank you!
I tried something like this, but no luck!
HTML:
کد:
<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!
