Skip to main content
Participant
July 22, 2009
Question

When I insert a format extension the design view disappears?

  • July 22, 2009
  • 1 reply
  • 2117 views

Hi,

I'm just following one of the tutorial from Lynda.com and found that when I change the format of a variable from a record set something very odd happens ... certainly not what happens in the tutorial.

Okay .. here is what I'm doing ...

I've installed the extension 'PHP Numeric Formats' from the Adobe Exchange and restart DWeaver.

I select the price variable {rsTitles.price} go to Bindings and change the format to the USDollar and as soon as the format is inserted all the images, formatting and text disappears in the design view and is replaced by a number of PHP icons.

Going to Live mode it is displaying ok ... but not being able to see what's going on in the design view is going to limit things somewhat.

All the other formats from the 'PHP Numeric Formats' have the same effect.

I also installed 'PHP Server Formats' (latest version from the programmers website) and the date format works ok .. but doesn't seem to have any currency options.

So first question is: Why is the above problem happening ... Does this happen to anyone else?

2nd question is: May you know of a better extension for currency and numeric formats. that doesn't cause the design view to disappear?

Many thanks for your time and I would really appreciate any help.

Best wishes,

Nick

I've attached some screenshots of the problem

This topic has been closed for replies.

1 reply

pziecina
Legend
July 23, 2009

This 'may' be an incompatibility problem with the extension and CS4, try the following extension as this one has 2 different versions, one for the 'old' Macromedia versions and a new one for the adobe cs versions.

http://www.tecnorama.org/document.php?id_doc=51

PZ

ichomusicAuthor
Participant
July 23, 2009

Hi PZ,

Thanks for the help.

Unfortunately it wasn't those server extensions that were causing the display problem.

The problem with the server extensions you mention were that the curreny formats don't seem to include $ or £ .. is that right? Or do they work for you?

So I'm still at a loss to find some extensions that include currency symbols/formatting.

Thanks,

Nick

pziecina
Legend
July 24, 2009

The currency symbol is not included in any php currency formatting that I know of, if you wish to include this in your code you use simple html (Unicode characters), you can make this into an - if country="US" then currency="$" else currency="£" statement using php.

using html -

<td>£<?php echo $row_rs_orderdatails['total_cost']; ?>p</td>

PZ