Search DominoPower's 11,443 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
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%# &nbsp&nbsp<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!

Product availability and resources
To read "Building an automated signature generator application," visit http://www.dominopower.com/issues/issue200510/00001654001.html.

To download the signature generator application, visit http://zipserver.zatz.com/dp20051005-html-signatures.zip.

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.


« Previous  ·  1  ·  2
Other articles you might like
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- 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!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login