Custom Background For members

by security - 28-07-2015, 08:40 AM
Closed Account
Posts:
13
Joined:
Jul 2015
Likes:
1
Credits:
21
Reputation:
0
2 Years of Service
#1
OP
Posted: 28-07-2015, 08:40 AM
Allow yours members to customize the background of your website.


[Image: 80afbaaafd0a641a51bfd94acdc04cca.png]

Installation
Create a custom field
Field ID: background
Title: Background
Description: Choose the background of the website.
Display Location: Preferences
Field Type: Single-line text box
Value Match Requirements: URL
User Editable

In PAGE_CONTAINER find:
Code:
<div id="content" class="{$contentTemplate}">
Replace:
Code:
<div id="content"<xen:if is="{$visitor.customFields.background}"> style="background-image: url({$visitor.customFields.background});"</xen:if> class="{$contentTemplate}">
 
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)