Wednesday, February 20, 2013

Re: Link to PDF? Yikes!

Okay...the end path will be variable so a route won't work.  I just noticed that I typed the path wrong. The location is /webroot/files/../..

April DeRossett
President
Direct Connect Solutions
615.386.3946 (office)
615.305.7036 (mobile)
615.386.9510 (fax)

Sent from my iPhone

On Feb 20, 2013, at 8:12 AM, Jonathan Sundquist <jsundquist@gmail.com> wrote:

Either create a route so that cake knows how to get to that folder or best option would be to move the files folder under webroot.


On Wed, Feb 20, 2013 at 8:05 AM, April DeRossett <april.derossett@gmail.com> wrote:
I have read, and read, but I can not figure this out.  I am hoping someone will point me in the right direction.  I have .pdf resources in app/files/id#/../..  To which I need to link.  How do I do this?  I keep getting a missing controller. "Files". Isn't there a way to link without controller and model?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: