Creating and Using Custom Views
From MercuryWiki
Contents |
[edit]
Mercury 2.0 Unstable
- Open View preferences (Preferences > View Preferences)
- Under View preferences, select the view for which you wish to create a custom view (e.g. Contacts in list, Chat Information, Event Box, Instant Messages)
- Click the Edit Custom Views button
- Click the + button , enter the name for your custom view and click OK
- Select the recently named view from the dropdown box
- Enter the custom HTML code for your view in the text area (Tip: copy the HTML code from a view which resembles what you would like to have from the pre-installed view in the Example Views tab, edit it to fit your needs and make sure that the first line is not blank)
- Click OK to close the Custom view dialog when you're satisfied with the custom view you've created (you can see a preview in the area below)
- If you wish to apply this custom view to specific contacts, or yourself only:
- Click the + button in the "Change view preferences for" section and add the contact you wish to apply it to (only if contact has not yet been added)
- Select the contact you wish to apply this to from the dropdown box
- Select the custom view you created from the list on the right
- Click OK to close the View Preferences window
The view you created should now be used in Mercury.
[edit]
Mercury 1.9 Stable
- Open View settings (Options > View settings)
- Under View settings, select the view for which you wish to create a custom view (e.g. Contacts in list, Chat Information, Event Box, Instant Messages)
- Click the Edit Custom Views button
- Click the + button , enter the name for your custom view and click OK
- Select the recently named view from the dropdown box
- Enter the custom HTML code for your view in the text area (Tip: copy the HTML code from a view which resembles what you would like to have from the pre-installed view in the Example Views tab, edit it to fit your needs and make sure that the first line is not blank)
- Click OK to close the Custom view dialog when you're satisfied with the custom view you've created (you can see a preview in the area below)
- If you wish to apply this custom view to specific contacts, or yourself only:
- Click the + button in the "Contacts" section and add the contact you wish to apply it to (only if contact has not yet been added)
- Select the contact you wish to apply this to from the dropdown box
- Select the custom view you created from the list on the right
- Click OK to close the View Settings window
The view you created should now be used in Mercury.
[edit]
View options
[edit]
Instant Message view
There are some custom html tags for the instant message view to give extra options.
FirstOnly, FirstNot
<FirstOnly>%top%</FirstOnly> %messagewill not show the 'XX says' part if the sender of the message is the same as the previous message, the default view 'Continuing' uses this
MeContact, OtherContact:
<MeContact><font color='red'></MeContact> <OtherContact><font color='blue'></OtherContact> %message%</font>will show our messages in red, the messages of other contacts in blue
