[fw-general] Re: Zend_Pdf - PDF file syntax error

2011-02-01 Thread Ian Munday
I'm using Zend Framework 1.11.2. Is this the same issue at http://framework.zend.com/issues/browse/ZF-9824 On 1 Feb 2011, at 10:14, Ian Munday wrote: > I'm trying to use Zend_Pdf to load a PDF document, but get the following > error: > > "PDF file syntax er

[fw-general] Zend_Pdf - PDF file syntax error

2011-02-01 Thread Ian Munday
lar is at http://www.mail-archive.com/fw-general@lists.zend.com/msg20781.html Does anyone have any further information that might help me out on this one? Regards, Ian

[fw-general] Getting the full url when a default action is used

2011-01-17 Thread Ian Munday
aram match the defaults? I wish to do this because I use the Url helper as part of some dynamically created JavaScript, to which I concatenate another string, and not being able to get the full url in all instances causes problems. Regards, Ian

[fw-general] Zend_Cache_Manager support for 'customBackendNaming'

2010-02-09 Thread Ian Martin
I'd like to use cache templates rather than simply setting a pre-instantiated cache - Is there a better way to accomplish this, or is this a feature that should be added to Zend_Cache_Manager class? Cheers, Ian Martin

Re: [fw-general] Issues with $this->headScript()

2009-11-17 Thread Ian Warner
refuses to upgrade. Cheers Ian 2009/11/16 Matthew Weier O'Phinney : > -- Ian Warner wrote > (on Monday, 16 November 2009, 10:34 PM +0900): >> Stefan >> >> Spot on >> >> However I get this error now: >> Fatal error: Call to undefined method >&g

Re: [fw-general] Issues with $this->headScript()

2009-11-16 Thread Ian Warner
return $indent . implode($this->_escape($this->getSeparator()) . $indent, $items); } Ian 2009/11/16 Stefan Gehrig : > The problem is that you're doing > > echo $this->headScript() . PHP_EOL; >                         ^ >                         | > th

[fw-general] Issues with $this->headScript()

2009-11-16 Thread Ian Warner
Hi When I use: echo $this->headScript() . PHP_EOL; All that prints out is: Object id #99 This is a new and unfamiliar server I am deploying on so could be anything - but any pointed gratefully received Ian

Re: [fw-general] Action Helper

2009-11-01 Thread Ian Warner
Thank you - simple answers are the best ones :) 2009/10/16 Matthew Weier O'Phinney > -- Ian Warner wrote > (on Friday, 16 October 2009, 11:54 AM +0900): > > I would like some guidance on best practices for Action Helpers; > > > > I currently use th

[fw-general] How would you handle needing HTML in a Facebook Call

2009-10-29 Thread Ian Warner
didnt see anything at the moment I have the HTML in a method within the controller Cheers Ian

[fw-general] Action Helper

2009-10-15 Thread Ian Warner
t;facebookPhotos($social)->getProfilePicURL(); Or even $helper = $this->_helper->facebookPhotos($social); $profilePic = $helper->getProfilePicURL(); Can you give me any pointers on how to invoke and also optimise these little beauties. Thanks IAn

Re: [fw-general] HeadMeta

2009-10-12 Thread Ian Warner
ription is already set if it is then do not set again. 2009/10/13 Ian Warner > I would have thought though that there can only be one Description so I > need to do > > // Layout Call > if ($config->meta->description) { > $this->headMeta()->setName('desc

Re: [fw-general] HeadMeta

2009-10-12 Thread Ian Warner
ption', 'Words words words.'); Trouble is the Layout call is getting processed afterwards and overwriting my view call - can I check if something exists in the array first and then decide to call the layout setName? Cheers 2009/10/10 Matthew Weier O'Phinney > -- Ian

[fw-general] HeadMeta

2009-10-09 Thread Ian Warner
to be only one description on the site - but two are printed the default and the one from the view. Is this a bug or expected behaviour - if so how do I make sure only one is visible. Ian

[fw-general] Zend Cache Best Practice

2009-08-23 Thread Ian Warner
cache these objects? What would be the best storage vehicle - I can see that maybe config would be best stored in Memcache or some similar tool. Best Ian

Re: [fw-general] Error Plugin and Zend Application - cant get it to work

2009-08-23 Thread Ian Warner
question is how to capture exceptions not associated to controller / action and push that through to the view also. Any help on that appreciated. Ian 2009/8/22 keith Pope > 2009/8/22 Ian Warner : > > My code in my bootstrap > > > > As you can see my error handler is in a

[fw-general] Error Plugin and Zend Application - cant get it to work

2009-08-22 Thread Ian Warner
My code in my bootstrap As you can see my error handler is in a module I have resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" to load modules $this->bootstrap('frontController'); $options = array( 'module' => 'exception', 'controll

[fw-general] test

2009-08-22 Thread Ian Warner
test

Re: [fw-general] Zend_Form and square brackets in elements' name

2009-08-07 Thread Ian Lewis
Julien Huang wrote: > > If obtain this : > > > While I want this : > > > -- > Julien Huang > > It is very useful to be able to use this syntax I agree. There are areas where Zend Framework is over engineered and unfortunately forms is one of them. In this case I would drop back to proc

Re: [fw-general] Zend_Navigation and Zend_Acl

2009-04-30 Thread Ian Young
My understanding is that the navigation helpers do what you're thinking of already. From the documentation[1]: "All built-in helpers extend Zend_View_Helper_Navigation_HelperAbstract, which adds integration with ACL and translation." That said, I haven't actually used t

Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
ah.. this is slowly beginning to dawn on me now! I seem to have it mostly straight apart from subforms, I can't seem to control subform decorators from the ini file so my subform is getting wrapped in dl-dt- dd etc. On 24 Mar 2009, at 12:14, Ian Spare wrote: I have to say this

Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
rators.formElements.options.class = "entry" ; Group Decorators form.displayGroupDecorators.decorator = "FormElements" form.displayGroupDecorators.formElements.decorator = "HtmlTag" form.displayGroupDecorators.formElements.options.tag = "tr" form.displayGroupD

[fw-general] forms, ini files and decorators

2009-03-18 Thread Ian Spare
#x27;HtmlTag'), array('tag' => 'div')), ); $deleteButton = $subform[$counter]->getElement('delete'); $deleteButton->setDecorators($buttonDecorators); which works fine but it's horrible :( can anyone enlighten me how to do this in the ini file? Ian Spare Email :ian.sp...@me.com, Website :http://snowslider.net

Re: [fw-general] Forms and config files

2009-03-18 Thread Ian Spare
In answer to my own question, using subforms but with decorators to stop individual HTML forms being generated seems a reasonable solution. On 18 Mar 2009, at 08:10, Ian Spare wrote: I'm struggling a little to get forms to do what I want. I want to present a list of current record

[fw-general] Forms and config files

2009-03-18 Thread Ian Spare
ord becomes a separate form and to submit them all at once I'd need some javascript which isn't ideal. Really I want to build a single form with each row being the elements from the config file, is this possible? Ian Spare Email :ian.sp...@me.com, Website :http://snowslider.net

Re: [fw-general] setValue for zend_form button

2009-03-12 Thread Ian Young
ounting on regular form submission, they need to be the same for compatibility's sake. Ian [1] http://radaschuetz.com/archive/2007/04/21/button-hell/ Bernd Matzner wrote: Hello, I'm trying desperately to set a value for a button to generate the following HTML: My Label so that the value

Re: [fw-general] Short Tags in PHPUnit tests

2009-03-04 Thread Ian Young
My quick and easy solution was to edit the problem test files to use long tags :D I'm just wondering if I should file this as a bug against Zend. Sounds like the answer might be yes? Thanks, Ian keith Pope wrote: This may just be a problem with the tests not the actual framework, you ne

[fw-general] Short Tags in PHPUnit tests

2009-03-04 Thread Ian Young
re are two tickets [1][2] in the tracker that suggest this should be handled by a stream processor when short tags are disabled, but it doesn't seem to be happening within the test suite. Is this a bug, or do we have something set up wrong? Thanks, Ian [1] http://framework.zend.c

[fw-general] Trying to get Zend OpenID working with various providers

2008-11-19 Thread Ian
enid.com/server [openid_response_nonce] => 2008-11-19T13:49:23ZS6e6YZ [openid_return_to] => http://domain.com/register/openid.php [openid_sig] => cfYueopSnApXabnFmvTVioIjZGtHiGlfRLMR//qgkv0= [openid_signed] => assoc_handle,claimed_id,identity,mode,ns,ns.sreg,op_endpoint,response

Re: [fw-general] Re: Having problems using Zend Cache and Flickr

2008-11-11 Thread Ian
) ) [_currentIndex:private] => 0 ) How would I go about caching this result? To display the images I simply to a foreach() loop of the result I get back and when its fresh there are actually items in the $results array, but when loaded out of cache that array is empty when I f

[fw-general] Re: Having problems using Zend Cache and Flickr

2008-11-07 Thread Ian
Anyone have an ideas on this? Im still stuck... On Wed, Nov 5, 2008 at 10:26 AM, Ian <[EMAIL PROTECTED]> wrote: > Hi, > > I am having problems using Zend Cache and Service Flickr. The problem is > that the array I get before caching is very different from the cache. Any >

[fw-general] Having problems using Zend Cache and Flickr

2008-11-05 Thread Ian
^\W_]|[-_.!~*'()\[\]])|(?:%[\da-fA-F]{2})|[:@&=+$,;])*) [path] => (?:\/(?:(?:(?:[^\W_]|[-_.!~*'()\[\]])|(?:%[\da-fA-F]{2})|[:@&=+$,;])*)?)+ [uric] => (?:[;\/?:@&=+$,]|(?:[^\W_]|[-_.!~*'()\[\]])|(?:%[\da-fA-F]{2})) ) [_scheme:protected] => http ) ) ) [_currentIndex:private] => 0 ) Any ideas ? Thanks Ian

[fw-general] Can someone straighten me out on a best practices thing, possibly involving modules?

2008-10-03 Thread Ian Rickert
.. I'm having trouble with some of the terminology and not positive where to focus my studies. Maybe it's not modules at all. Any help would be much appreciated, as I keep coming back to this same issue. Thanks in advance, Ian R *this is not a very realistic example, but seeing it now, I w

Re: [fw-general] Zend_Dojo, styling dijits, overriding CSS

2008-10-03 Thread Ian Rickert
Matthew Weier O'Phinney-3 wrote: > > -- Ian Rickert <[EMAIL PROTECTED]> wrote > (on Friday, 03 October 2008, 09:39 AM -0700): > >> I can't style the Dijits with CSS! I understand >> that there are CSS files which are loaded with the Dijits, and

[fw-general] Zend_Dojo, styling dijits, overriding CSS

2008-10-03 Thread Ian Rickert
ther do things with ID selectors in this case, and more than that I am curious as to why this doesn't work. Has anyone else had issues like this? I'd love a push in the right direction. Thanks, Ian -- View this message in context: http://www.nabble.com/Zend_Dojo%2C-styling-dijits%2

Re: [fw-general] Using Layout & Views

2008-10-03 Thread Ian Rickert
our view or layout, and then use Javascript to manipulate it from there. Anyone feel free to correct me on any point here, looking to learn. Ian -- View this message in context: http://www.nabble.com/Using-Layout---Views-tp19800314p19800615.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] How to validate Zend_Dojo_Form_Element_Textarea?

2008-09-26 Thread Ian Rickert
Kinda doesn't make sense to me, so if it actually does make sense, I'd love to know why. That having been said, I guess the way to go is to just put some custom javascript in the oninit, onblue and onkeypress events of the textarea, like Dojo has built in for those ot

Re: [fw-general] How to validate Zend_Dojo_Form_Element_Textarea?

2008-09-26 Thread Ian Rickert
The textarea in question is labeled "Describe the Event". Also included are Zend_Debug dumps of the Textarea and SubmitButton. http://fairmountfair.com/CalendarSubmissions/public/ Thanks so much! I really appreciate your work. Ian -- View this message in context: http://www.nabble.com/How-to-validate-Zend_Dojo_Form_Element_Textarea--tp19690291p19693452.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] How to validate Zend_Dojo_Form_Element_Textarea?

2008-09-26 Thread Ian R
7;s help. I promise I use the list as a last resort, and I'm stumped! Ian

[fw-general] is there a Validator to check if at least one of a group of fields is valid?

2008-09-26 Thread Ian R
hes but I'm not entirely sure what to call that. I'm just now picking up speed with ZF, it's just starting to click. It's very exciting! Ian

Re: [fw-general] Can someone straighten me out on a best practices thing, possibly involving modules?

2008-09-24 Thread Ian R
On Sep 24, 2008, at 4:57 AM, Bart McLeod wrote: Hi Ian, I would help if you had some line breaks in your message... :-) Oh. Weird. I don't know why that happened. I've had an amazing amount of trouble with this list-serv! I don't know why. I assure you that I can u

[fw-general] Can someone straighten me out on a best practices thing, possibly involving modules?

2008-09-23 Thread Ian R
uld I find that way? Or is it a bad idea? I would love if someone could point me in the right direction here... I'm having trouble with some of the terminology and not positive where to focus my studies. Maybe it's not modules at all. Any help would be much appreciated, as I keep coming back to this same issue. Thanks in advance, Ian R *this is not a very realistic example, but seeing it now, I wish that it were.

[fw-general] Zend DT Table Join

2008-05-30 Thread Ian Warner
I have the following: it keeps erroring saying: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'round_number' in 'where clause' So how do I tell the where clause the correct table $table = new sites_models_Scores(); $select = $table->select()->setIntegrityCheck(f

[fw-general] Re: Zend DT Table Join

2008-05-30 Thread Ian Warner
> > I have the following: > > it keeps erroring saying: SQLSTATE[42S22]: Column not found: 1054 Unknown > column 'round_number' in 'where clause' > > So how do I tell the where clause the correct table > > $table = new sites_models_Scores(); > > $select = $table->select()->s

[fw-general] layouts and Modules

2008-04-01 Thread Ian Warner
/controllers /views /helpers very late here now so I thought I would throw this probably simple issue out. appreciate the help. cheers ian

[fw-general] Layouts

2008-04-01 Thread Ian Warner
HI I have the following code: Now with the new startMvc enabled my test page simply renders nothing - with this disabled then I get the correct test view rendering in the browser. anyone see anything wrong with what I am doing. // {{{ createView() /** * Method to create the Vi

Re: [fw-general] Zend Form

2008-04-01 Thread Ian Warner
Matt Appreciate your quick repsonse again. I wasnt so much interested in a complete File solution as just being able to get the HTML output for a file input type. I.e. -- I look forward to the solution from Thomas though. Ian Matthew Weier O'Phinney wrote: -- Ian Warner &l

Re: [fw-general] Zend Form

2008-03-31 Thread Ian Warner
ile helper in the Views/Helper/FormFile.php But how do I access basically Cheers Ian Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Monday, 17 March 2008, 03:28 PM +): Couple of questions 1. how do I do this - enctype="multipart/form-data"

[fw-general] Zend Form

2008-03-17 Thread Ian Warner
Hi Couple of questions 1. how do I do this - enctype="multipart/form-data" to do a file upload 2. How do I set the Columns and rows of a TextArea. Ian

[fw-general] Zend DB

2008-02-13 Thread Ian Warner
Hi Just wondered what the best methods were to do Bulk Inserts Do I loop through the array foreach insert Or is there some other methods that I can use I can see - anything else ? $bugs = new Bugs(); $newRow = $bugs->createRow(); // Data are arranged in an associative array $data = array(

Re: [fw-general] Zend Helpers

2008-01-21 Thread Ian Warner
Helpers that other users have created? i would find this very helpful to either draw from or submit too - this kind of thing would not need to be monitored very much as the code snippets would be small and isolated I would think in most cases. Again thank you Cheers Ian Matthew Weier

Re: [fw-general] Zend Helpers

2008-01-21 Thread Ian Warner
) ) So its basicalyl getting overwritten later on. Should this happen? I am not calling new Zend_View anywhere else in my code - so it must be when the viewRenderer is automatically instantiated find this very wierd Ian Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL

Re: [fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
o with addHelperPath and still no luck - tried this on my ubuntu machine also. whats the naming convention for helpers, the docs dont give any advice on what the actual file name should be ian Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Sunday, 20 Ja

Re: [fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
Sorry I should have said that I tried that also. Still no luck Pieter wrote: Hi Ian, I think that you should use the $view->addHelperPath() function. Regards, Pieter Kokx Ian Warner schreef: hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in

[fw-general] Zend Helpers

2008-01-20 Thread Ian Warner
hi I am having real trouble trying to set helper paths. I assume I can place this anywhere in my code structure - I have tried in bootstrap / controllers and a few other places Pathing - I think I have this correct below though I although I have changed this any which way but loose.

Re: [fw-general] Autoload in 1.03

2008-01-18 Thread Ian Warner
eturn void // */ //function __autoload($class) //{ //Zend_Loader::loadClass($class); //} with /** * Require files */ require 'Zend/Loader.php'; Zend_Loader::registerAutoload(); And this did the trick Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on S

[fw-general] Autoload in 1.03

2008-01-18 Thread Ian Warner
FileObject, UnderflowException, UnexpectedValueException Cheers Ian

[fw-general] DB Table Insert Quoting

2007-10-17 Thread Ian Warner
omatic Quoting so $table = new Bugs(); $data = array( 'created_on' => $foo, 'bug_description' => $bar, 'bug_status' => $var); $table->insert($data); are all quoted correctly - if not how is this implemented probaly asked a thousand times but couldnt see it in the threads on here Ian

[fw-general] DB Table - Update with Limit

2007-10-16 Thread Ian Warner
Hi It doesnt seem as though DB table allows for an update with a limit clause Is this right? Is it better to write a qhole query or are there alternatives using the data models. Ian

Re: [fw-general] Autoload errors

2007-10-11 Thread Ian Warner
rator SimpleXMLIterator -> SimpleXMLIterator SplFileInfo -> SplFileInfo SplFileObject -> SplFileObject SplObjectStorage -> SplObjectStorage SplObserver -> SplObserver SplSubject -> SplSubject SplTempFileObject -> SplTempFileObject UnderflowException -> UnderflowExce

[fw-general] Autoload errors

2007-10-11 Thread Ian Warner
confused on all this it seems that 1.02 has a major BC break for the autoloader which I am suprised about or I am missing something obvious. So advice needed on correct code to replace the above, and also how to install the SPL on windows ian

Re: [fw-general] Zend Framework Web Application (best practices, structure, skeleton)

2007-09-22 Thread Ian Warner
would be interested to help organise and create such a group and even provide some hosting space etc. As always the hard thing with something like this is starting and maintaining the momentum. If anyone is interested then please let me know. Cheers Ian Ralf Kramer wrote: It would be nice

Re: [fw-general] DB Table -Replace

2007-09-11 Thread Ian Warner
Bill Again great answer thank you very much Maybe a note in the docs then to state that REPLACE wont be supported and either use the below or create your own query,. Cheers Ian Bill Karwin wrote: REPLACE is a MySQL-proprietary extension to SQL. It is not supported in Zend_Db. In any

[fw-general] DB Table -Replace

2007-09-09 Thread Ian Warner
Hi I cant see any documentation on how to acheive a REPLACE command within DB TABLE is this possible and if so what is the best practice Ian

[fw-general] Row incrementing DB Table

2007-08-30 Thread Ian Warner
. ' AND ' . parent::getAdapter()->quoteInto('user_id = ?', $userID); $result = parent::update($data, $where); getting back an int(0) when i try ian

Re: [fw-general] DB_TABLE - Fetching references

2007-08-23 Thread Ian Warner
queries to find the references? I just thought i did a query and the references create the joins and the results are returned to me in a nice package :) Cheers Ian Ian Warner wrote: Ok now Im confused: Basically my players table has a TeamID and a PositionID foreign key /

[fw-general] DB_TABLE - Fetching references

2007-08-23 Thread Ian Warner
Ok now Im confused: Basically my players table has a TeamID and a PositionID foreign key // Lookup in the database Players that fit this word $table = new sites_lovefootball_models_Players(); $where = 'MATCH (fname,sname) AGAINST ("Dean")';

Re: [fw-general] Zend_DB_Table emulate this query

2007-08-23 Thread Ian Warner
ble->fetchRow($where); echo ''; print_r($row); echo ''; } catch (Exception $e) { echo 'Failed: ' . $e->getMessage(); } Ian Warner wrote: Hi Is it possible to emulate this in Zend_DB_Table: SELECT A.team, B.fname,

[fw-general] Zend_DB_Table emulate this query

2007-08-23 Thread Ian Warner
Hi Is it possible to emulate this in Zend_DB_Table: SELECT A.team, B.fname, B.sname FROM `teams` A, `players` B WHERE MATCH (B.fname,B.sname) AGAINST ('Derby') AND A.team_id = B.team_id; So I have a join here and also some MySQL keywords, I have relations set up in my objects Cheers Ian

Re: [fw-general] Zend DB Table -- Delete

2007-08-22 Thread Ian Warner
elect()->from('tablename')->where( array( $db->quoteInto('expr1 = ?', 'value1'), $db->quoteInto('expr2 = ?', 'value2'), ) ); The Zend_Db_Select::where() and whereOr() methods support only a string for the expression, wi

Re: [fw-general] Zend DB Table -- Delete

2007-08-22 Thread Ian Warner
I mistaken as the above example doesnt contain variables. Slightly confused now. Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 22 August 2007, 11:48 AM +0900): Thank you for the guidance. The manual is misleading then: "The second argume

Re: [fw-general] Zend DB Table -- Delete

2007-08-21 Thread Ian Warner
ument can be an array of SQL expressions. The expressions are combined as Boolean terms using an AND operator." It kinda reads that I create the array and the AND is substitued autmoaticall on iteratating the array I pass in. I think this needs updating to work like Insert also Ian Mat

[fw-general] Zend DB Table -- Delete

2007-08-21 Thread Ian Warner
lause' $this->_getParam('code') = M1F94C3359F8FFC35B I just dont understand why it is using the value of code as a column name when it should be using video_id ? Cheers Ian

Re: [fw-general] DB_Table

2007-08-12 Thread Ian Warner
Hi Ignore this I found it after I wrote it :) $table = new models_admin_Smspending(); $result = $table->fetchAll(); $result = $result->toArray(); Cheers Ian Ian Warner wrote: Hi I want to get at the Results Array after selecting my results f

[fw-general] DB_Table

2007-08-12 Thread Ian Warner
Hi I want to get at the Results Array after selecting my results from my MySQL View at the moment this is in _data but it is protected So i basically want to get $result = $table->fetchAll()->toArray(); or $result = $table->fetchAll()->_data; or something, I throw this array into my HTML

Re: [fw-general] Core paging functionality for Zend_Db

2007-08-09 Thread Ian Warner
If you want to go into PEAR and Paging then you are much better looking at PEAR Structures - which can output a data set in various ways and provides methods for auto paging also. Dan Rossi wrote: Ok i worked on a pear pager wrapper method, it is possibly overkill still, so need to optimize a

Re: [fw-general] Core paging functionality for Zend_Db

2007-08-07 Thread Ian Warner
Hi Modulus is your friend in this circumstance I use a Foreach to loop through queries, I think a while loop may be faster though but same applies so: $cols = 2; foreach($result as $k => $v) { if ($k%$cols == 0){ echo ''; } } Hope you get the drift, not tested code Dan Ros

Re: [fw-general] what does the tag "

2007-08-07 Thread Ian Warner
In my opinion all examples on Zend should use The issue is portability if you move a project to a client server that doesnt or wont support short tags then you need to change your code, may as well code it properly in the first place. I truly believe PHP should remove all short cuts, for one i

Re: [fw-general] pages/edit/1 => controller/action/? problem

2007-08-07 Thread Ian Warner
Dan Rossi wrote: Ian Warner wrote: You need to do some Routing changes then, Would have to be done on the fly in the controller itself not the bootstrap or it would effect other controllers, is that possible ? Its in the bootstrap im not the best person to ask so I would start another

Re: [fw-general] pages/edit/1 => controller/action/? problem

2007-08-07 Thread Ian Warner
Dan Rossi wrote: Aljosa Mohorovic wrote: what to do if i want my url to look like "pages/edit/1" and then it translates to: controller => pages action/method => edit and finally some var inside controller/method that contains "1" or whatever is located after action/method? how can i accomplish

Re: [fw-general] pages/edit/1 => controller/action/? problem

2007-08-07 Thread Ian Warner
like you said module/controller/action/variable/value so the later are key value pairs basically so pages/edit/ei/1 pages/edit/page/1 echo $ei = $this->_getParam('ei'); equals 1 Aljosa Mohorovic wrote: what to do if i want my url to look like "pages/edit/1" and then it translates to: con

Re: [fw-general] what does the tag "

2007-08-07 Thread Ian Warner
short for also using I am new to Zend Framework, what does the tag("tables as $tableName): ?> "/zfgrid/grid/show/table/

Re: [fw-general] registering plugins per module/controller

2007-08-05 Thread Ian Warner
pty($v)) { $plugins[$k] = $v; } } if (!empty($plugins)) { return $plugins; } else { return false; } Hope that helps I do the same for Modules also. Ian Hoopes wrote: Hey, I'm looking for a way to register plugins for the front

Re: [fw-general] MySQL Views

2007-08-05 Thread Ian Warner
, which if nothing else gives me and my team a consistent modelling scheme to work towards. Thanks again Ian Bill Karwin wrote: There are different implementations of views in different RDBMS brands. Sometimes they store results and sometimes they work by rewriting the query for you and

Re: [fw-general] MySQL Views

2007-08-03 Thread Ian Warner
but any pointers appreciated Ian Ian Warner wrote: Hi Does or will Zend_Db_Table have any methods to handle table related Views, or should I just implement these through DB_Select? Also wanted to know best practices on this has anyone coded in any methods to simplify abstraction? Che

[fw-general] MySQL Views

2007-08-03 Thread Ian Warner
Hi Does or will Zend_Db_Table have any methods to handle table related Views, or should I just implement these through DB_Select? Also wanted to know best practices on this has anyone coded in any methods to simplify abstraction? Cheers Ian

Re: [fw-general] Models, Objects and RDBMS - Best Practise

2007-07-11 Thread Ian Warner
paging, filtering and header ordering Would be nice if Zend could create somthing similar to this that binds in with the framework Ian Brian Caspe wrote: I've had a question about this too, though specifically it doesn't really deal with pulling one "book". I was wond

Re: [fw-general] HTTP Client

2007-06-19 Thread Ian Warner
Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 11:51 PM +0100): Hi I want to send the following XMl through HTTP Client as a POST $XMLDATA = ''; $XMLDATA .= ''; $XMLD

[fw-general] HTTP Client

2007-06-13 Thread Ian Warner
t;setParameterPost(array('XMLDATA' => $XMLDATA)); On the other end I SIMPLE XML this but I get load of errors due to HTTP client urlencoding and addingslashes. If it is urlencoding why does it need to addslashes? anyway to get round this ? Cheers Ian

[fw-general] Timezone List

2007-06-01 Thread Ian Warner
suggestions on this would be appreciated Cheers Ian

Re: [fw-general] Zend Debug Dump

2007-05-31 Thread Ian Warner
? Cheers Ian Bill Karwin wrote: Zend_Debug::dump() outputs plain var_dump() output if it detects that you're running in a cli environment based on the PHP_SAPI superglobal. You can also tell it that you're running in a cli environment. You can use this method: Zend_Debug::se

Re: [fw-general] ViewRenderer

2007-05-31 Thread Ian Warner
Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Thursday, 31 May 2007, 02:22 PM +0100): Ok to elobarate on this it seems I get this error when: I forward from one module to anothers underconstruction page: // Currently simply forwarding t

[fw-general] Zend Debug Dump

2007-05-31 Thread Ian Warner
Hi When using Zend_Debug::dump since the upgrade --- or maybe since installing XDEBUG the output now seems to have HTML entties applied so I get: How do I get it back to be a pretty output ? Cheers Ian array 'translate_module' => object(Zend_Translate)[29] priv

Re: [fw-general] ViewRenderer

2007-05-31 Thread Ian Warner
7;index', 'construction'); would work if and only if the user called page and the under construction page were in the same module. Hope this make sense Cheers Ian Matthew Weier O'Phinney wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 30 May 2007, 01:59

[fw-general] ViewRenderer

2007-05-30 Thread Ian Warner
d not be needed. Any help appreciated on this Ian

[fw-general] AutoLoad Issue with Zend Structures

2007-05-22 Thread Ian Warner
x27;]['perPage'], $options['dataGrid']['page'], $type); Probably quite hard to debug this, but the error is a little wiered in the fact that the __autoload(7nts21n58xh) autoload is a garbled. Anyway if anyone has seen a similar error then please let me know Cheers Ian

[fw-general] Spelling Mistake Action Helper

2007-05-07 Thread Ian Warner
*/ protected $_helper = null; helper works and I must say this is an excellent implementaion I moaned at the last forward implementation but this does all I need now and the flashmessenger is excellent. cheers Ian

[fw-general] Zend PDF

2007-05-07 Thread Ian Warner
Hi With some other PDF libraries I can set a text box and then fill text within it, it will then wrap to the bioundary settings Is this available in zend pfd if so what methods do I use to acheive this cheers ian

[fw-general] Invoke Arg in Plugin

2007-05-07 Thread Ian Warner
me', $site_name) ->setParam('translate', $translate) ->setParam('view', $view) ->registerPlugin(new Zend_Plugin_Auth()) ->registerPlugin(new Zend_Plugin_Translation()); what i want to do in a plugin is: $this->_config= $this->getInvokeArg('config'); is this possible? Cheers Ian

Re: [fw-general] Stacking Translations

2007-04-25 Thread Ian Warner
st->getParam('module') . '/locale/en.mo', 'en'); } How do I pass this new translation for use in the controllers - or do I just register this in the registry and then call back? Cheers ian Ian Warner wrote: Hi Just wanted to get some feedback on ways to

[fw-general] Stacking Translations

2007-04-25 Thread Ian Warner
lookiing for. Cheers Ian

  1   2   >