[fw-general] ZVE prefix / postfix / indents

2007-12-17 Thread Simon Mundy
Hi Matthew I wanted to know if there could be the possibility for prepending the indent for the headXXX containers before the HTML tag? Being a bit too precious about HTML output (!) I've set up pages so that they try and indent reasonably well based on content. e.g. ...my

Re: [fw-general] Get sql results in my Model (Zend_Db_Table)

2007-12-17 Thread debussy007
I can get sql results but what I want is getting Zend_Db_Table objects back (Model objects). Because since the beginning of my project I used models extending Zend Db Table but now I regret it and maybe I should have used my own models and have standard sql code. So if in the manual you see anywh

Re: [fw-general] ZVE: HeadStyle output

2007-12-17 Thread Simon Mundy
As a postscript to this, perhaps these components can have 'named segments' similar to the response object, so that I could write all the style definitions to the 'default' headStyle container, and then also have a named segment so that I could store all 'print' items together or another co

[fw-general] ZVE: HeadStyle output

2007-12-17 Thread Simon Mundy
Hi Matthew/all, Sorry for the irregular emails! I've just started playing with the HeadStyle helper and had some quick Q's for yourself and the list:- Escaping The Helper escapes XHTML by using the meta string, however without that appropriate /* */ wrapper, my browser (Safari) throws a

Re: [fw-general] Get sql results in my Model (Zend_Db_Table)

2007-12-17 Thread ctx2002
looking at ZF manual, the manaul showed many ways to get sql result. regards. debussy007 wrote: > > Hello, > > In my web application I simply want to get the bookmarked articles of a > user : > > select * from articles G, selections S > where G.id_art = S.art_id > and S.member_id = 2 > and

Re: [fw-general] catch sql statement execute error

2007-12-17 Thread ctx2002
do not know how to do inside zf or drupal, but can you set up error log for you DB? most DBs have error log option, check out your DB manual. regards. Kexiao Liao wrote: > > Is there a good way to catch the sql statement execute error message when > it is been fired? > > For example when I

Re: [fw-general] Unit testing action controllers

2007-12-17 Thread ctx2002
look at test directory of zendframe source code. by the way , why not put all those code into your model? i mean developing your own model, so when do unit testing, just testing those model. controller is just a place to call model and view, testing controller pretty much make no sense. unless y

[fw-general] capture exception

2007-12-17 Thread ctx2002
if i call a not exist method or action, ZF going to fire a exception. i have read tutorial about set up ErrorController class to capture those kind of exception, but was not working, the ErrorController class did not capture any exception. i do not why , I have followed instruction, and my ErrorC

Re: [fw-general] HeadScript

2007-12-17 Thread dandean
This view helper should fix it: class My_View_Helper_HeadScript extends Zend_View_Helper_HeadScript { private $_scripts = array(); public function appendFile($path) { if (!in_array($path,$this->_scripts)) { array_push($this

[fw-general] Centering?

2007-12-17 Thread dandean
The centering on this forum is a bit distracting. -- View this message in context: http://www.nabble.com/Centering--tp14375831s16154p14375831.html Sent from the Zend Framework mailing list archive at Nabble.com.

RE: [fw-general] Default Locale

2007-12-17 Thread Wil Sinclair
I just sent a message through without a hitch. Can you try again, please? ,Wil > -Original Message- > From: Thomas Weidner [mailto:[EMAIL PROTECTED] > Sent: Monday, December 17, 2007 1:13 PM > To: fw-general@lists.zend.com > Subject: [fw-general] Default Locale > > Greetings, > > as the

RE: [fw-general] Default Locale

2007-12-17 Thread Wil Sinclair
The fw-i18n list was not eliminated AFAIK. It's still under discussion, and I will definitely let you know if/when it is eliminated. :) Let me see if there are issues with it. Thanks. ,Wil > -Original Message- > From: Thomas Weidner [mailto:[EMAIL PROTECTED] > Sent: Monday, December 17, 2

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Simone Carletti
@ Thomas My best congratulations to you and all the German translation team! You've done an excellent job. @ Wil Your proposal sounds good. If you don't want to restore a full translation project directory I would suggest to provide at least a page for each translation with a common header as you

[fw-general] Re: [fw-mvc] Re: [fw-general] Zend_View Enhanced placeholdersready to test

2007-12-17 Thread Łukasz Wojciechowski
On Dec 17, 2007 7:04 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- Whitcraft, Jon <[EMAIL PROTECTED]> wrote > (on Monday, 17 December 2007, 12:52 PM -0500): > > Attached is a diff file fixing the three files that I found the mistake in. > > > > \incubator\documentation\manual\en\modul

[fw-general] Default Locale

2007-12-17 Thread Thomas Weidner
Greetings, as the fw-i18n list was eliminated without information I am sending new annoucements to fw-general... So please ignore this mail if it's not what you expected to receive :-) --- Greetings, Some of you have expected problems with the

RE: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Wil Sinclair
OK, then it seems reasonable to leave that up to the discretion of the lead. Teams could appear at the top of the custom content and look pretty much exactly the same as they look on most of the pages now. I think if we attempt to push this concept for all translations, we'll end up out of date for

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Thomas Weidner
As team leader of the german development team I found it very handy that have a status for the translation members. Which part has to be translated, which was already proof-read, to have a list of members, who is working on what and so on. Now that we have 100% translated for german I don't nee

RE: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Wil Sinclair
That's a good point, but I think we have to consider the value of the individual lists as well. There are some that aren't going to get much traffic no matter how clear we make it. We should also consider that most projects (that I'm aware of anyways) don't maintain several lists like we do, so man

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Rob Allen
On 17 Dec 2007, at 19:54, Jack Sleight wrote: Gunter Sammet wrote: He just suggested that we could remove a few that don't generate traffic. Question is, are they getting little traffic because no one is talking about the components they cover, or because everyone is posting to fw-gen

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Jack Sleight
Gunter Sammet wrote: He just suggested that we could remove a few that don't generate traffic. Question is, are they getting little traffic because no one is talking about the components they cover, or because everyone is posting to fw-general? If it's the latter then I think we should put

RE: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Wil Sinclair
That seems reasonable to me. I don't see any issue with maintaining translation pages in development, but we should make sure we aren't setting ourselves up for getting immediately out of date. As far as I can tell, the areas that go out of date very quickly include the current status of the projec

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Simone Carletti
Because translation activity is strictly part of Zend Framework development and improvements, and follows an internal workflow, including an SVN powered storage, I would suggest to think about a translation section under development area. Additionally, I remember I didn't provide much credit to Us

RE: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Wil Sinclair
I'm actually open to any suggestions here. That said, consolidating down to the a few of the more trafficked lists seems to be the most popular option so far. That seems reasonable to me; I'm more concerned about lists that might be ambiguous to the new user- like 'fw-core', 'fw-server', or 'fw-for

RE: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Wil Sinclair
Well, I would call it more of a 'update' than a 'reorganization'. The development space had a bunch of outdated content on it that was generally misleading and gave the wiki a somewhat abandoned feel. While the user space can be more freeform, the development space we use for lots of structured, im

[fw-general] Re: [fw-mvc] Re: [fw-general] Zend_View Enhanced placeholdersready to test

2007-12-17 Thread Matthew Weier O'Phinney
-- Whitcraft, Jon <[EMAIL PROTECTED]> wrote (on Monday, 17 December 2007, 12:52 PM -0500): > Attached is a diff file fixing the three files that I found the mistake in. > > \incubator\documentation\manual\en\module_specs is the folder. Applied in r7164. Thanks! > -Original Message- > Fro

[fw-general] RE: [fw-mvc] Re: [fw-general] Zend_View Enhanced placeholdersready to test

2007-12-17 Thread Whitcraft, Jon
Attached is a diff file fixing the three files that I found the mistake in. \incubator\documentation\manual\en\module_specs is the folder. Jon Whitcraft Indianapolis Motor Speedway [EMAIL PROTECTED] Phone: (317) 492-8623 :: Fax: (317) 492-6419 -Original Message- From: Matthew Weier O'

[fw-general] Re: [fw-mvc] Re: [fw-general] Zend_View Enhanced placeholders ready to test

2007-12-17 Thread Matthew Weier O'Phinney
-- Whitcraft, Jon <[EMAIL PROTECTED]> wrote (on Monday, 17 December 2007, 12:27 PM -0500): > Just a note that I found while looking though the docs that there are > a few extra ?> closing tags with some the examples? > > Should I just fix and submit the diff files back to the list? That would be

[fw-general] RE: [fw-mvc] Re: [fw-general] Zend_View Enhanced placeholders ready to test

2007-12-17 Thread Whitcraft, Jon
Just a note that I found while looking though the docs that there are a few extra ?> closing tags with some the examples? Should I just fix and submit the diff files back to the list? Jon Whitcraft Indianapolis Motor Speedway [EMAIL PROTECTED] Phone: (317) 492-8623 :: Fax: (317) 492-6419 ---

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Matthew Ratzloff
Hi Wil, Re: e-mail lists. When the separate mailing lists were started, the lists were much more lively (in the range of about 50 e-mails a day, sometimes upwards of 100, if I recall correctly). At present the lists aren't as active, but I imagine once adoption picks up the traffic rate will als

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Gunter Sammet
The way I understood it, Will didn't suggest to move to one list. He just suggested that we could remove a few that don't generate traffic. One reason they might didn't generate traffic is the reason that the subscribe all didn't work. For the longest time I didn't receive the MVC emails because I

Re: [fw-general] catch sql statement execute error

2007-12-17 Thread Matthew Weier O'Phinney
-- Kexiao Liao <[EMAIL PROTECTED]> wrote (on Monday, 17 December 2007, 07:23 AM -0800): > > Is there a good way to catch the sql statement execute error message when it > is been fired? > > For example when I run the following two statements, how can I catch the > error message if it happens duri

[fw-general] catch sql statement execute error

2007-12-17 Thread Kexiao Liao
Is there a good way to catch the sql statement execute error message when it is been fired? For example when I run the following two statements, how can I catch the error message if it happens during the running process? $stmtNode = $dbDrupal-> query("UPDATE node set title='" . $newName . "' WHE

[fw-general] Possible bug in Pdo Mysql -> cannot update when : apperas in where array

2007-12-17 Thread Sancar Saran
Hello, I got follwin error Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: mixed named and positional parameters' in /web/ugame/root/libs/Zend/Db/Statement/Pdo.php:227 Stack trace: #0 /web/ugame/root/libs/Zend/Db/Statement.p

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Simone Carletti
Hi Wil, I agree that too many lists could create confusion. However, merging all lists into a single one might create more confusion than a list for each team. I would personally suggest at least two lists, one for end users topics and one focused on development of the framework itself... as a s

[fw-general] findManyToManyRowset - where/order/limit/offset

2007-12-17 Thread Aljosa Mohorovic
i can't find any example on how to add where, order by and limit/offset conditions when using findManyToManyRowset(). so i would like to do where/order/limit/offset for findManyToManyRowset() similar to fetchAll(), any docs/examples? Aljosa

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Nico Edtinger
Hi! I'd love to be able to only subscribe fw-formats. fw-general has a very high noise level, especially if you don't use or need all components (i.e. we use our own db abstraction and mvc). Of course what makes the separate mailing list not that useful, is people sending everything to fw

Re: [fw-general] Reducing the number of loaded exception files

2007-12-17 Thread Nico Edtinger
Shahar Evron wrote: 10 redundant include files have quite an impact on performance, especially in places where you have no opcode cache installed. If you don't have an opcode cache you simply don't care about performance. So why should we optimize for these people? There're a couple of opco

Re: [fw-general] Get sql results in my Model (Zend_Db_Table)

2007-12-17 Thread Thiago Ferreira Covões
class Selections extends Zend_Db_Table{ } class Articles extends Zend_Db_Table{ } $sel = new Selections; $sel->find(2)->findArticles(); Take a look at the manual section Zend_Db_Table Relationships to see how configurate your model to adapt to your db schema (member_id instead of the usual id etc

[fw-general] Get sql results in my Model (Zend_Db_Table)

2007-12-17 Thread debussy007
Hello, In my web application I simply want to get the bookmarked articles of a user : select * from articles G, selections S where G.id_art = S.art_id and S.member_id = 2 and G.to_delete = 0; I want to get the result in my model object which extends Zend db table, "Article" (And I don't nee