|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adding templates to the automated signature generator (continued)
What I suggest you do is create a text signature example, or copy one, and paste into the template. Then at each place where you need to replace a value; name, phone number, and so on, delete any value you have, place the cursor and hit "Insert Placeholder".
Figure C shows the list of placeholder fields available. You just select one, and hit OK.
FIGURE C
 
Pick your placeholders. Roll over picture for a larger image.
Do that for all the fields you want to have replaceable values, and save the template. Easy, huh? Actually, making nice-looking signature blocks isn't always quite as easy as you might think.
Fun with HTML So what about HTML templates? When you're working with HTML, there's much more to play with, and much more to be creative with. The way they work is pretty much the same as for text, but for the fact that you add replaceable values into HTML, and click the button to see the rendering of the HTML. As before, with an ND6 or above client, it's right in front of you, or with a Notes 5 client, it'll show up in a separate browser window.
Ok, it's full of the placeholders rather than real text, but it will give a good flavour of how the final signature block will appear.
One little issue. I've found that if the HTML doesn't contain a table, it often doesn't render at all. Which isn't a lot of good. To get round it, the easiest thing is to put a table at the top, like this:
<hr><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0></table>
<font face = "Arial" size = 2 color = '#0000ff'>#%username%#
<font face = "Arial" size = 2 color = '#000000'>#%title%#
#%company%#   <a href = "#%MapURL%#">Map</a>
<font face = "Arial" size = 1 color = '#000000'>p: #%Phone%# f: #%fax%#
m: #%cellPhone%#
e: <a href = "mailto:#%email%#">#%email%#</a>
w: <a href = "mailto:#%http%#">#%http%#</a>
</font>
<font face = "Arial" size = 1 color = '#ff00ff'>
#%strapline%#
|
Strange, huh? I guess it's an artifact of the way Notes renders HTML. Bear in mind that we have an HTML fragment, and not a complete page here.
Next week, we'll get into the code that drives this application. I can't wait!
Sam Kleinman is a writer; he makes his home in St. Louis Missouri and is interested in speculative fiction, cyber culture, and mobile technology. Sam is part of the content team for a promenade mobile tech Web site and also works on maintaining http://www.collectivearts.net, a Web site bringing together a group of skilled artists. You can reach Sam with any questions or comments by email at sam@collectivearts.net.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done.
Native to Lotus Domino. The User Experience unseen for Lotus Domino.
Do more with less. Really.
See the possibilities Docova unleashes for Lotus Domino. |
-- Advertisement --
Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.
Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).
Tap here to get started! |
|
|
|
|
|
|
|
|
|
|