Posts Tagged ‘Templates’

Updating Price PHP print statements in Ubercart

Recently, I updated an Ubercart shopping cart system on Drupal that was very out of date.

After the upgrade, the list price on the product pages had too many zeros. It looked like this.

MSRP $ 49.99000

After a bit of research, I learned that Ubercart has been updated to include more decimal places to accommodate more International currencies.

I took a look at the node-product.tpl.php template and found that the print statement for the list price was using the out of date print statement.

The old print statement looked like:

list_price ?>

The new print statement looks like this:

list_price); ?>

Now all is fine.

MSRP $ 49.99

Refresh/Replace design smart icons

This is a little simple tip, but one that could save admins time when trying to get all their users up to the same mail template in a mixed mail template environment.

Since you cannot refresh or replace design through the admin client, here are a couple of formulas you can add as smart icons to your toolbar.

@Command([DesignRefresh]) or @Command([DesignReplace])

Using a smart icon reduces the number of clicks necessary to about 3 instead of 7.

Shocking R6.0 NAB design in our environment uncovered

It’s shocking. simply shocking.

I reported a few days ago that I finally got all of the Domino servers in our environment to 6.5.6 FP3 (plus a couple of Hotfixes – the DWA on Windows Vista, and Out of Office Hot Fix).

I have been noticing a few small things that have not been working as I thought they would. Very minor, but nonetheless weren’t working right.

So I decided to update the design of our customized NAB template. Let me prelude this with saying that I joined this rag tag Domino admin group 15 months ago. There were 2 guys running it, one with a developer background and one with no Lotus Notes/Domino experience at all. They’d both learned everything on the job, and they had both inherited it from a couple of guys who had obviously installed Domino only by the sheer merit of being able to read the instruction manual.

The design changes aren’t that bad actually, except for the fact that no one really knows why the 30 or so non-standard agents are for. Upon digging through the design, I found that the most of the design element are 6.0 design!!!! Read the rest of this entry »

What to do when R8 address book design overwrites R6.5 design.

Last night, one of our admins accidentally replicated the R8 pilot server address book to a R6.5.6 production server address book through his notes client.

This royally screwed up the 6.5.6 address book. Some of the servers rebooted themselves, mail wouldn’t route, dc.nsf appeared to be out of order, etc.

We fixed it by manually replacing the address books on the bad servers at the file system level with a good copy from another server that hadn’t replicated the bad design yet. Another option to keep open is to keep a local replica of the NAB on all of your admin clients, and set your admin clients only to replicate with the server ever hour, 2 hours, or 4 hours. This way, the local replica copy of the NAB on the admin clients is pretty much up to date, but if something happens, it gives you a bit a time to discover that something is wrong. It’s not a perfect solution, but good (possible) option to have in place when you notice that something is very very wrong. A scenario might be that you discover your NAB is bad, and your local admin client hadn’t replicated for 3 hours and does not have the bad design. This can save you. Read the rest of this entry »


I'm currently available
for Lotus Notes / Domino consulting engagements.


Connect with me: