[RSS Feed/News] Custom Homepage

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Junx submitted a new resource:

Custom Homepage - useful tips for custom homepage

The following can be used in templates to display things on the homepage only.

Code:

Code:
<xf:if is="$xf.uri == '/'>

</xf:if>

Set your index as /pages/home after making the homepage page node
View attachment 275122

You can then use <xf:css> to modify the look of the page.

xf:uri is very useful as you can directly insert html in PAGE_CONTAINER that will only display on the homepage.

Homepage...
Click to expand...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom