[fw-general] Generate PDF, DOCX, DOC and RTF with ZF

2009-01-29 Thread Jonathan Maron
Hello all Zend_Pdf is a great component to generate PDF files with ZF. If you want to populate PDF templates with text, however, it can be very time consuming to get the positioning of the text fields just right. I wrote about this issue here: http://tinyurl.com/bym43f After having developed

[fw-general] Directory structure in zend

2009-01-29 Thread Anees
Hi, Before i came to zend i followed the following structure for keeping Both front end and Back end(admin) for a site separately \Site \images \index.php \contents \config.php \other files. Plus a folder \admin \index.php \images

Re: [fw-general] Generate PDF, DOCX, DOC and RTF with ZF

2009-01-29 Thread Francisco Azevedo
The only problem i see here is that it's free.. for now. :) Maybe you could start thinking on a commercial (and encoded) version that runs on client server (as a service alternative).. regards Francisco A

Re: [fw-general] Generate PDF, DOCX, DOC and RTF with ZF

2009-01-29 Thread Benjamin Eberlei
This looks awesome! I would really be happy if you would propose that as an addition to the ZF. :) You have to sign the CLA and then make a proposal on the Proposal Wiki http://framework.zend.com/wiki/display/ZFPROP What about arrays or Iterators and simple IF statements. Are they supported or

Re: [fw-general] Zend_Cache_Frontend_Page behaviour

2009-01-29 Thread Shalanga
I had todo after hours this: 'regexps' = array( '^/Mapa\+do\+Site' = array('cache' = true, 'cache_with_session_variables' = true, 'cache_with_cookie_variables'= true,

[fw-general] Zend_Service_LiveDocx Proposal (phpLiveDocx)

2009-01-29 Thread Jonathan Maron
Hello again Following the release of phpLiveDocx this morning, I have submitted a proposal for the classes to be included in the Zend Framework: http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_LiveDocx Your feedback is appreciated. Jonathan Maron http://www.phpLiveDocx.org

[fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
|For example $upload = new Zend_File_Transfer(); $||upload ||-setDestination('some path') $upload-addFilter('Rename', 'C:\new\n1', 'file1') -addFilter('Rename', 'C:\new\w1', 'file2'); This is only example but only works one the last filter I have problem adding the same filter and

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
kamil pisze: |For example $upload = new Zend_File_Transfer(); $||upload ||-setDestination('some path') $upload-addFilter('Rename', 'C:\new\n1', 'file1') -addFilter('Rename', 'C:\new\w1', 'file2'); This is only example but only works one the last filter I have problem adding the same

Re: [fw-general] Directory structure in zend

2009-01-29 Thread Chris Weldon
Routers. Plain and simple. What you can end up doing is virtually providing the same URL combinations (with http://site/admin/:module/:action) by using router definitions to reroute requests to the appropriate controller in a module. So, you could theoretically have your folder structure as:

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread Thomas Weidner
Just to note... Your reproduction example can impossibly work. It throws an exception at initiation. Greetings Thomas Weidner - Original Message - From: kamil luznyg...@poczta.onet.pl To: fw-general@lists.zend.com Sent: Thursday, January 29, 2009 1:56 PM Subject: [fw-general] Bug in

[fw-general] Exceptions

2009-01-29 Thread debussy007
Hi, I would like to catch any exception that may occur, when sending a mail and using the config. I am not sure of what I should specify in ... } catch ( ) { ? Thank you for any advice! -- View this message in context: http://www.nabble.com/Exceptions-tp21727533p21727533.html Sent from

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
Thomas Weidner pisze: Just to note... Your reproduction example can impossibly work. It throws an exception at initiation. Greetings Thomas Weidner - Original Message - From: kamil luznyg...@poczta.onet.pl To: fw-general@lists.zend.com Sent: Thursday, January 29, 2009 1:56 PM Subject:

Re: [fw-general] Exceptions

2009-01-29 Thread debussy007
What is the difference between: } catch (Zend_Exception $e) { and } catch (Exception $e) { ? Chris Weldon wrote: } catch (Zend_Mail_Exception $e) { All cases: } catch (Zend_Exception $e) { -- Chris Weldon On Thu, Jan 29, 2009 at 8:08 AM, debussy007 debussy...@gmail.com

Re: [fw-general] Exceptions

2009-01-29 Thread Chris Weldon
Zend_Exception is specific to the Zend Framework. Exception is the most generic PHP exception type. -- Chris Weldon On Thu, Jan 29, 2009 at 9:07 AM, debussy007 debussy...@gmail.com wrote: What is the difference between: } catch (Zend_Exception $e) { and } catch (Exception $e) { ?

[fw-general] Exception occurs when I try to send a mail

2009-01-29 Thread debussy007
Hi, I have the following exception when sending a mail: Warning: Zend_Mail_Protocol_Abstract::require_once(Zend/Mail/Protocol/Exception.php) [zend-mail-protocol-abstract.require-once]: failed to open stream: No such file or directory in

[fw-general] Zend Cache instance PDO

2009-01-29 Thread Sébastien Couragier - DoYouSoft
I'm trying to cache with an frontend core and a backend file, an instance of a class who extends Zend_Db_Table_Abstract. I'm getting the following error : You cannot serialize or unserialize PDO instances Is it impossible to cache a Zend_Db_Table_Abstract ?

[fw-general] free Zend Framework Screencasts for your desktop and iPhone

2009-01-29 Thread Jon Lebensold
Hello List, I recently started a site with screencasts about the Zend Framework. I'm trying to update this site every week with a new podcast. In honour of the author of railscasts, the site is called zendcasts: http://www.zendcasts.com/ I always appreciate of feedback! Best Regards, - Jon

[fw-general] The Calendar of Dojo DateTextBox Translation

2009-01-29 Thread Kostyantyn Shakhov
Dojo has rich i18n capabilities. I use Dojo DateTextBox element in my instance of Zend_Dojo_Form. I wonder how to setup translation for this element. I mean if I use French translation for instance how to force the drop-down calendar to display the month name and weeks in French? I haven't found

[fw-general] Zebd_Form Select Element

2009-01-29 Thread maxarbos
Hello, I am trying to create a select box that ends up lookign like this: option value=val1Top Level/option option value= disabled=disabled/option option value=val2* First Child/option option value=val3* * First Gandchild/option option value= disabled=disabled/option option value=val4* Second

[fw-general] File element for Zend_Dojo_Form

2009-01-29 Thread Kostyantyn Shakhov
Zend_Dojo_Form has elements like Button, CheckBox, RadioButton, SimpleTextarea which implement the same functionality as regular Zend_Form elements but allow you to keep you form elements in the same style/theme. Although there is Zend_Form_Element_File I haven't found an equivalent for

Re: [fw-general] free Zend Framework Screencasts for your desktop and iPhone

2009-01-29 Thread drj201
Excellent resource! Thank you. Long may this continue. I am subscribed to the podcasts in iTunes but FYI I am unable to view video on my iPhone by clicking the Download quicktime link. Thanks again. Jonathan Lebensold wrote: Hello List, I recently started a site with screencasts about

Re: [fw-general] Zend Layout problem with sub-actions

2009-01-29 Thread Tobias Gies
Hi, most likely a path issue. Be sure to always use paths relative to the public folder of your ZF app (i.e., yourdomain.com/your_zf_app/), and always prepend the base URL of said folder to your paths. Most people I know have used a simple-to-write BaseUrl view helper that pulls the base url from

Re: [fw-general] free Zend Framework Screencasts for your desktop and iPhone

2009-01-29 Thread Jon Lebensold
The download link is for the higher resolution quicktime file (that's being streamed into the flash player on the site). Unfortunately, I have to re-encode for the iPhone at 640x480. Grabbing it from iTunes is probably the best way. Thanks! j On Thu, Jan 29, 2009 at 5:25 PM, drj201

[fw-general] Re: Generate PDF, DOCX, DOC and RTF with ZF

2009-01-29 Thread Jonathan Maron
Hello all I have written quite a lot of e-mail off list in response to my original post. Here is a summary: 1. In addition to the version which is publicly available over the Internet, we will be releasing a commercial version, which can be installed locally in a client network. The price point

[fw-general] Zend_Locale - simplexml_load_file - parser error : Document is empty

2009-01-29 Thread Terre Porter
Anyone know what might have caused this error ? Warning: simplexml_load_file() [function.simplexml-load-file]: /home/tbnweek/public_html/e-edition/includes/Zend/Locale/Data/en_US.xml:1: parser error : Document is empty in /home/tbnweek/public_html/e-edition/includes/Zend/Locale/Data.php on line

Re: [fw-general] Zend_Locale - simplexml_load_file - parser error : Document is empty

2009-01-29 Thread Thomas Weidner
In any case, this error is not caused by ZF, but from simplexml. When you say that the file is always there, and you've seen that the error is thrown by simplexml_load_file I expect that there is a caching issue or a problem with multiple accesses/multithreading. Have you installed APC or