[fw-general] Re: Zend_Mail : Excel attachment

2009-10-19 Thread Thomas VEQUAUD
ent->filename= $infos['attachment']['name']; On Mon, Oct 19, 2009 at 3:55 PM, Thomas VEQUAUD wrote: > Hi there, > > I try to attach an Excel file to a mail via Zend_Mail... That works... > Document attached. But once downloaded : cannot open the document becau

[fw-general] Zend_Mail : Excel attachment

2009-10-19 Thread Thomas VEQUAUD
8BIT; $attachment->filename= $infos['attachment']['name']; // Send Email $mail = new Zend_Mail(APPLICATION_ENCODING); $mail->addAttachment($attachment); I'm sure somebody met that problem before... -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH

Re: [fw-general] Re: expected behavior of getValues() on subform

2009-04-23 Thread Thomas VEQUAUD
Hmm well ok... I followed a Matthew tutorial on devzone and I think I did the same with my subforms 2009/4/23 Fire Eye'd Boy > Thomas VEQUAUD schreef: > > > > Damn, I met this issue 2 months ago and I was persuaded it was a regular > > behavior of subforms... > &

Re: [fw-general] MVC - Model in View

2009-04-23 Thread Thomas VEQUAUD
- > ($model->getAll() as > $faculty): ?> > $faculty->id), > "materials") ?>">name ?> > > > > > > > This is kinda "religious" question, I know... =) > But this approach gives me very flexible developing

Re: [fw-general] Encoding issue UTF8

2009-04-23 Thread Thomas VEQUAUD
htmlentities( $text ) > in my code and I had to change it to > htmlentities( $text , ENT_COMPAT , 'UTF-8' ) > > To quote the PHP manpage - http://php.net/htmlentities > Like htmlspecialchars(), it takes an optional third argument charset which > defines character set used in conversion. Presently, the ISO-8859-1 > character set is used as the default. > > htmlentities counterpart html_entity_decode also takes a char-set parameter. > > I'm guessing that there is a charset problem happening somewhere in your > code. > > James. > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] expected behavior of getValues() on subform

2009-04-23 Thread Thomas VEQUAUD
#x27;description' => 'bbb', > > 'submit' => 'submit', > > ) > > > > With subforms, $form->getValues() returns something like: > > > > array ( > > 'submit' => 'submit', > > '' =&g

Re: [fw-general] integer null record problem

2009-04-16 Thread Thomas VEQUAUD
problem-tp22948674p23014476.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Zend Mail encoding

2009-04-09 Thread Thomas VEQUAUD
ail > headers in utf8 ? Do all mail boxes support this encoding ? > > Thank you for any help ! > -- > View this message in context: > http://www.nabble.com/Zend-Mail-encoding-tp22968588p22968588.html > Sent from the Zend Framework mailing list archive at Nabble.com. >

Re: [fw-general] integer null record problem

2009-04-09 Thread Thomas VEQUAUD
appens: "...Incorrect integer value..." > if i set $qry->cod_ibge = 0 it works > what can i do ? > -- > View this message in context: > http://www.nabble.com/integer-null-record-problem-tp22948674p22948674.html > Sent from the Zend Framework mailing list archive at

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread Thomas VEQUAUD
out Zend_Acl for MVC (defining and > controlling). > > i mean "ACL for MVC" is : > example: guest can't see /default[module]/user[controller]/*[action] but > only administrator can access /manage/*/* > > > thx > > -- > Elvin Şiriyev >

Re: [fw-general] New proposal Zend_View_Helper_Currency

2009-04-08 Thread Thomas VEQUAUD
Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Zend_Application + Controller > Action

2009-04-08 Thread Thomas VEQUAUD
27;xxx'); >> >> } >> >> >> >> Hope this helps >> >> >> >> Keith >> >> >> >> 2009/4/8 Elvin Şiriyev : >> >> > hi, i used Zend_Application with Zend_Application_Resource_*. >> >> > how can

Re: [fw-general] View helper: Add JavaScript only once

2009-04-08 Thread Thomas VEQUAUD
Query view > helpers work, as they give you exactly this type of functionality. > > What I would suggest is using the headScript() view helper within your > custom view helper, as headScript() also has this built into its > functionality. > > -- > Matthew Weier O'Phinney > Software Architect | matt...@zend.com > Zend Framework | http://framework.zend.com/ > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Zend_Date Problems

2009-04-08 Thread Thomas VEQUAUD
2009'); > $date->sub(new Zend_Date('April 3, 1980')); > print $date->toString() . "\n"; > > but they don't. The output is > > Dec 6, 0028 3:00:00 PM > Jan 4, 1999 3:00:00 PM > > I also experiment with 'y' vs 'Y' as suggested by Thomas and still got 28. > Gotta go do some other stuff, may take a look again later. > > Daryl > > > > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

[fw-general] Zend_Form : values ignored with setAttrib('disabled', 'disabled')

2009-03-09 Thread Thomas VEQUAUD
) but same thing : values ignored. I think that setAttrib should just modify the HTML display, not the behaviour of a form element. -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Zend_Form and elements chain validation

2009-02-20 Thread Thomas VEQUAUD
mobilise->addValidator(new MyValidatorLevel($i), true); // 2 skills at least if ($i < 3) { $skills->setRequired(true); $niveau_mobilise->addValidator(new Zend_Validate_GreaterThan(0)); $niveau_requis->addValidator(new Zend_Validate_GreaterThan(0)); } } 2009/2/18 Matthew

Re: [fw-general] Zend_Form and elements chain validation

2009-02-18 Thread Thomas VEQUAUD
On Wed, Feb 18, 2009 at 6:24 PM, Matthew Weier O'Phinney wrote: > -- Thomas VEQUAUD wrote > (on Wednesday, 18 February 2009, 05:57 PM +0100): >> Advices, clues or just URLs appreciated! > > Look in the Zend_Form_Element validators documentation, and search for > the

[fw-general] Zend_Form and elements chain validation

2009-02-18 Thread Thomas VEQUAUD
when the textarea element of the same row is filled. How I'm supposed to do that? Advices, clues or just URLs appreciated! Thanks in advance... -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Calc difference of 2 dates

2009-02-18 Thread Thomas VEQUAUD
> I can't find anything about this... > > Thanks, > Stefan Sturm -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

[fw-general] Re: Zend_Form subforms and getElement

2009-02-18 Thread Thomas VEQUAUD
is thread cause I'd like to know if it's a bug or a bad use from me... On Tue, Feb 17, 2009 at 8:01 PM, Thomas VEQUAUD wrote: > > Hi everyone! > > I think this question is for Matthew! ;) > > I'm using a multi-page forms with sub forms as indicated in the Zend > ma

[fw-general] Zend_Form subforms and getElement

2009-02-17 Thread Thomas VEQUAUD
my form like I want... -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Expert EPITECH en Ingénierie Informatique Tél : +33(0)6.50.39.28.10 Fax: +33(0)9.58.46.10.07

Re: [fw-general] Requested URL not found for all controllers except IndexController

2009-01-30 Thread Thomas VEQUAUD
That works on my new server... And I finally found the mistake : the rule AllowOverride All was not in the httpd.conf file. Anyway, thank you for your rule cause now I can see the phpinfo.php file! On Mon, Jan 26, 2009 at 8:59 AM, Thomas VEQUAUD wrote: > > No effect... I'm pret

Re: [fw-general] Requested URL not found for all controllers except IndexController

2009-01-25 Thread Thomas VEQUAUD
ll be resolved by the same way. On Fri, Jan 23, 2009 at 7:21 PM, Thomas VEQUAUD wrote: > > > On Fri, Jan 23, 2009 at 6:30 PM, Matthew Weier O'Phinney > wrote: > >> >> > Here is my .htaccess : >> > RewriteEngine on >> > RewriteCond %{SC

Re: [fw-general] Requested URL not found for all controllers except IndexController

2009-01-23 Thread Thomas VEQUAUD
to: > >RewriteRule ^.*$ index.php [NC,L] > > and see if it has any effect > > > php_flag magic_quotes_gpc off > > php_flag register_globals off > > Hey Vermonster! ;) I'm no more at work, I'll try this on Monday... But I have the imp

Re: [fw-general] Zend_Form

2008-12-19 Thread Thomas VEQUAUD
ddress'); > } > } > > How and where i can add fields for orders? I't must work with populate(), > validate() etc. > > regards, > pch > > -- > Paweł Chuchmała > pawel.chuchmala at gmail dot com > -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Ingénieur Systèmes pour le compte d' ITS GROUP Bénévole et secouriste à la Croix-Rouge Française

Re: [fw-general] Zend_Form How do I use setLegend & addDisplayGroup?

2008-09-27 Thread Thomas VEQUAUD
'm trying to set up a contact form with the proper elements so I can apply > a > CSS style sheet to it. Could someone provide me an example of how to > properly use the setLegend and addDisplayGroup methods for interacting with > Zend_Form_DisplayGroup. > -- > View this message

Re: [fw-general] [Zend_Form] Advice needed

2008-09-10 Thread Thomas VEQUAUD
On Tue, Sep 9, 2008 at 2:37 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Thomas VEQUAUD <[EMAIL PROTECTED]> wrote > (on Monday, 08 September 2008, 10:42 PM +0200): > > I'm trying to convert all my forms into Zend_Form objects: Zend_Form > see

[fw-general] [Zend_Form] Advice needed

2008-09-08 Thread Thomas VEQUAUD
ieldsets to the right, left, top, etc. The final result is: http://thomas.vequaud.free.fr/download/inscription.png The controller code is available here : http://thomas.vequaud.free.fr/download/RegisterController.txt Please give me advice because I've felt unproductive for the last 2 days.

Re: [fw-general] Zend_Translate DB support

2008-06-07 Thread Thomas VEQUAUD
ne! Anyway, it's a really interesting idea guys! -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Ingénieur Systèmes pour le compte d' ITS GROUP Bénévole et secouriste à la Croix-Rouge Française On Wed, Jun 4, 2008 at 9:48 PM, Thomas Weidner <[EMAIL PROTECTED]> wrote: >

Re: [fw-general] New Servers are Up!

2008-05-02 Thread Thomas VEQUAUD
till tweaking a few things visually and performance wise, > > but > > >>>> everything is open for business; feel free to start adding and > > >>> updating > > >>>> pages and issues, and committing those bug fixes! > > >>>&

Re: [fw-general] New Servers are Up!

2008-05-02 Thread Thomas VEQUAUD
I tried to edit my proposal in the "Wiki Markup" tab but the scrollbar vanished ... And wiki pages are sooo low! : / -- Thomas VEQUAUD http://thomas.vequaud.free.fr/ Ingénieur Cadre Systèmes ITS Group pour le compte de Natixis Bénévole Secouriste à la C