[fw-general] Zend_Navigation

2009-04-17 Thread Thomas Shaw
Jeesh I hate when you figure it out directly after posting. If you not familiar with short open tags make sure your not testing Your Zend_Navigation output in your layout like navigation()->menu()->renderMenu(null,array('maxDepth' => 0, 'ulClass' => 'tabmenu')); $this->navigation()->menu()->

[fw-general] Zend_Navigation

2009-04-17 Thread Thomas Shaw
Using the array found here http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers .initial.navigation // Create container from array $container = new Zend_Navigation($this->initPages()); // Store the container in the proxy helper: $view->getHelper('navigation')->setCont

[fw-general] Zend_Navigation

2009-04-15 Thread Thomas Shaw
his->navigation()->breadcrumbs() using both the __toString or the render calls do not output the single products link as the example shows. It seems like whatever method you use it always outputs the entire array. I'm using ZendFramework-1.8.0PR I'm unsure if that's the

[fw-general] Zend_Navigation

2009-04-15 Thread Thomas Shaw
his->navigation()->breadcrumbs() using both the __toString or the render calls do not output the single products link as the example shows. It seems like whatever method you use it always outputs the entire array. I'm using ZendFramework-1.8.0PR I'm unsure if that's the

RE: [fw-general] quoteInto() Question

2009-03-28 Thread Thomas Shaw
to('field_id = ?', $id); $table->update($data, $where); Thanks Thomas Shaw php.co...@tx.rr.com Always do whatever's next. George Carlin -Original Message- From: Simon Corless [mailto:si...@sico.co.uk] Sent: Saturday, March 28, 2009 6:03 PM To: fw-general@lists.zen

[fw-general] quoteInto() Question

2009-03-27 Thread Thomas Shaw
tAdapter()->quoteInto('some_id >= ?', $row['some_id']) . ' AND ' . $this->getAdapter()->quoteInto('data_id >= ?', $row['data_id']); $this->update($data, $where); Thomas Shaw php.co...@tx.rr.com

RE: [fw-general] Zend_View / Layout paths problem

2009-03-26 Thread Thomas Shaw
path. $frontController->setBaseUrl(APP_PATH); $view->baseUrl = $frontController->getBaseUrl(); Hope this helps. Thomas Shaw php.co...@tx.rr.com tmsms...@tx.rr.com From: holografix . [mailto:hologra...@gmail.com] Sent: Thursday, March 26, 2009 9:52 AM To: fw-general@

RE: [fw-general] Zend_View / Layout paths problem

2009-03-26 Thread Thomas Shaw
In your bootstrap try informing the view object of your base url by adding $view->baseUrl = self::$controller->getBaseUrl(); Thomas Shaw php.co...@tx.rr.com tmsms...@tx.rr.com From: holografix . [mailto:hologra...@gmail.com] Sent: Thursday, March 26, 2009 9:52 AM To: fw-g

RE: [fw-general] zend_form setting class in

2009-03-26 Thread Thomas Shaw
Try the setDecorators accessor. $groups = $this->getDisplayGroup('groups'); $groups->setDecorators(array( 'FormElements', 'Fieldset', array('HtmlTag',array('tag'=>'div','class' => 's

RE: [fw-general] Zend View vs. Smarty

2009-03-25 Thread Thomas Shaw
yer. Zend_View rocks it's the obvious choice for me. Thomas Shaw tmsms...@tx.rr.com php.co...@tx.rr.com From: Andrei Iarus [mailto:poni1...@yahoo.com] Sent: Wednesday, March 25, 2009 11:31 AM To: fw-general@lists.zend.com Subject: [fw-general] Zend View vs. Smarty Hello t

[fw-general] Zend Form Question

2009-03-18 Thread Thomas Shaw
gt;_name, array('key' => 'module_id', 'value' => 'module_title')); $result = $this->getAdapter()->fetchAll($select); return $result; } Thomas Shaw tmsms...@tx.rr.com