Issue with Changes (?) to CFDocument and a background image.

2015-02-19 Thread Les Mizzell

Afternoon,

Have an older application that's using  cfdocument to push a pdf to the 
user. Last time I checked the app, it was working great, but it's been 
awhile and since then the server has been upgraded to CF 10.

The pdf is basically a collection of business cards. A card consist of a 
pdfCARD.gif "card" background image with text layered on top.

So when it was working, the pdfCARD.gif was showing behind all the text 
properly and you ended up with a page that looked exactly like rows or 
business cards.

Since the upgrade, the image is still being called, but you only see 
JUST a few pixels of it to the right and bottom of the "cards".
It's like everything layered on top of the backgroup is opaque. Setting 
transparencty doesn't work, screwing with the z-index of everything 
doesn't work. Duh ... three hours later and I'm still scratching my head.

I'd like to be able to fix this instead of having to completely rewrite 
the app to use cfpdf (which eventually I will do, but I want to be able 
to bill for it and not have it counted as a "bug" fix!)

Ideas?

"Card" div with the background image is like:
#PDFCARD {
width: 136px;
height: 170px;
margin: 0;
float: left;
background: url("img/pdfCARD.gif") left top no-repeat;
text-align: left; }

Using cfdocument is thus:


One card is basically:

   IPO
   
   #makePDF.cardNAME# 
   #makePDF.cardMISC# 
   #makePDF.cardDESC# 
   
   #makePDF.dsp_industry#
   Pending
#MonthAsString(makePDF.cardMONTH)#
#makePDF.cardDAY#, 
#makePDF.cardYEAR#
  


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360138
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 404 handler non being invoked on IIS

2015-02-19 Thread Russ Michaels

Do you have iis6 compatibility mode installed? Rgis can cause odd behaviour.
If so remove all connectors, then remove iis6 mode then recreate connectors


On Wed, Feb 18, 2015 at 5:06 AM, Mark Spence  wrote:


I'm trying to make do with using a custom 404 handler in IIS but the
requested template variable in CF resolves to to 404 handler rather than
the url of the requested page.  This is getting complicated as this is only
a work around for local development and I don't want to change to much and
break the live site.

Does anyone have any other pointers on how I can get this working like the
live site?

I can't believe that it is this problematic to get CF to be passed the 404
error and invoke the onmissingtemplate.  What changed so drastically in iis
8 and cf11 that something so basic is so broken?

On Fri, Feb 13, 2015 at 4:24 PM, Matt Robertson >
wrote:

>
> sorry for my lack of attention on this.  If you are in fact using IIS
> Rewrite then that clouds the picture a little.  However if I can pull
> myself together and write something up you should be able to do all of
your
> 404 handling in your ... 404 handler.  I don't use IIS rewrites for much
> and instead rely on CF wherever possible.  Will try and find some time
this
> long weekend (holiday here in the USA).
>
> On Thu, Feb 12, 2015 at 5:31 AM, Mark Spence >
> wrote:
>
> >
> > After playing with it a bit more I added this:
> > 
> >
> > Now I just get a blank page.
> >
> > Am I successfully passing it through to cf?  Hard to tell.  I was hoping
> to
> > have made a bit of progress.
> >
> > On Mon, Feb 9, 2015 at 6:38 PM, Matt Robertson >
> > wrote:
> >
> > >
> > > >
> > > > Mark,
> > >
> > > those two threads aren't exactly a linear set of to do steps.  I'll
try
> > to
> > > put that together tomorrow when I am in front of a desktop.
> > >
> > >
> > >
> > > > --
> > > > --m@Robertson--
> > > > Janitor, The Robertson Team
> > > > mysecretbase.com
> > > >
> > >
> > >
> > > --
> > > --m@Robertson--
> > > Janitor, The Robertson Team
> > > mysecretbase.com
> > >
> > >
> > >
> >
> >
>
>



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360137
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm