[fw-general] ZF2 Db\Sql\Select WHERE `name` LIKE 'cmp%' breaks the query

2012-05-15 Thread cmple
Hi, It seems like the LIKE expression cannot accept the '%' symbol when using mysqli, it just breaks the query: this works: LIKE 'cm' this doesn't: LIKE 'cm%' Is there a work around for this? Thanks! -- View this message in context:

[fw-general] Re: ZF2 Access controller name/action from layout?

2012-05-15 Thread cmple
I'm stuck Anyone? -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Access-controller-name-action-from-layout-tp4624104p4627351.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info:

[fw-general] ZF2 Access controller name/action from layout?

2012-05-15 Thread cmple
Hi, How can I access the controller's name and action in the layout in ZF2? Thanks! -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Access-controller-name-action-from-layout-tp4624104.html Sent from the Zend Framework mailing list archive at

Re: [fw-general] ZF2 Db\Sql\Select WHERE `name` LIKE 'cmp%' breaks the query

2012-05-15 Thread Ralph Schindler
Based off of what is in master, I can confirm that this works: https://github.com/ralphschindler/Zend_Db-Examples/blob/master/example-15.php What is the error/exception you are getting? -ralph On 5/13/12 9:51 PM, cmple wrote: Hi, It seems like the LIKE expression cannot accept the '%'

[fw-general] ZF2 How to show module content in layout

2012-05-15 Thread zf2usr
I want to generate a dynamic site using Zend_Layout. (I'm using the standard ZF2 Skeleton by EvanDotPro) I have many modules like users, banner, news ... I want to show all of it content in single layout.phtml (that contain application module) layout.phtml: div id=usr_FORM USER FORM /div

[fw-general] ZF2 Form ViewScript Decorator

2012-05-15 Thread macest
I know the new form stuff is almost ready but I'm currently using beta 3 with the current forms and have an issue with the ViewScript decorator. I have registered custom view helpers with Zend\View\HelperLoader which override a couple of the default ones (FormRadio and FormMultiCheckbox) and they

[fw-general] ZF2 - Marking pages as Active in Zend\Navigation

2012-05-15 Thread David Lukas
Hi, I am experiencing a problem with marking navigation pages as active in a ZF2 application (beta 3). I have a navigation container with MVC pages 'on multiple routes', so I have to explicitly specify the 'route' option for every page. The hrefs are constructed fine, but marking pages as active

[fw-general] Re: ZF2 Db\Sql\Select WHERE `name` LIKE 'cmp%' breaks the query

2012-05-15 Thread cmple
ralphschindler wrote Based off of what is in master, I can confirm that this works: https://github.com/ralphschindler/Zend_Db-Examples/blob/master/example-15.php What is the error/exception you are getting? -ralph On 5/13/12 9:51 PM, cmple wrote: Hi, It seems like the LIKE