Re: [fw-general] Ajax Forms

2009-11-27 Thread Hector Virgen
There are a couple of thing you'll need to make sure you're doing in order for this to work: First, be sure you're using the Ajax Context Switch action helper: http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.contextswitch.ajaxcontext This make

[fw-general] Ajax Forms

2009-11-27 Thread Meroe
Hey folks, I have what I hope is an easy issue to work around. I'm sure it is just my lack of experience with ZF, but I'm learning as I go. I have a form set up that I created with Zend_Form that I would like to submit via ajax (jquery) to avoid a page reload. I'm using layouts if that

Re: [fw-general] Adding onload event to body on one page only

2009-11-27 Thread Bradley Holt
Actually, one part of this would be ZF specific. You would need to be able to write a selector that only listens to events on one particular module/controller/action. I typically do this with a Route Context plugin that includes the module, controller, and action names as body classes (and sometime

Re: [fw-general] Action Helpers Path configuration in version 1.9.5

2009-11-27 Thread scabro
Hi Matthew, Thanks very much for the instructions - I did try them, but for some reason they still didn't solve the problem. Here's the structure of my folders: http://n4.nabble.com/file/n802065/Picture%2B1.png My Class name inside of the application/controllers/helpers/Initializer.php is :

Re: [fw-general] Adding onload event to body on one page only

2009-11-27 Thread Bradley Holt
I'd consider using unobtrusive JavaScript so that you can add event listeners without having to add them directly to your body element. You can do this with jQuery or pretty much any other JavaScript library. Email me off-list if you want more info on how this would be done (since it's not ZF relat

Re: [fw-general] Adding onload event to body on one page only

2009-11-27 Thread tonystamp
sounds promising, but do you have any more information about view filters and how/where they are instantiated, i can't seem to find much on them. Jurian Sluiman wrote: > > You could look at a view filter which is initiated only at that page. This > filter can change the to a . > > Regards,

Re: [fw-general] Adding onload event to body on one page only

2009-11-27 Thread Jurian Sluiman
You could look at a view filter which is initiated only at that page. This filter can change the to a . Regards, Jurian -- Jurian Sluiman CTO Soflomo V.O.F. http://soflomo.com On Friday 27 Nov 2009 21:45:45 tonystamp wrote: > Hello > > I am using a layout for about 30 pages, but one page whic

[fw-general] Adding onload event to body on one page only

2009-11-27 Thread tonystamp
Hello I am using a layout for about 30 pages, but one page which has a google map embedded in it requires that i add two events to the body tag of the document. Obviously i don't want to add it for every page that doesn't need it, so i'm not going to add it to the layout (it would also cause js e

Re: [fw-general] Zend_pdf: send document to browser

2009-11-27 Thread Uli Wolf
Hi, something similar came up a few months ago, perhaps this helps you: http://n4.nabble.com/Zend-Pdf-how-to-output-for-download-td663453.html#a663453 Regards, Uli KimG wrote: > > can anyone point out what i should do? i think i've followed the > documentation. > -- View this message in cont

[fw-general] Why this is only one option to set visibility of Zend_Navigation_Page?

2009-11-27 Thread mezoni
Why this is only one option to set visibility of Zend_Navigation_Page? Why option 'visible' is pretty simple? To be or not to be? True or false and nothing more... You need to add more flexible option like 'visibility'. Possible value of this option may be value or array of [menu|sitemap|breadcrum

Re: [fw-general] Zend_Filter_StripTags remove all the angle brackets <>

2009-11-27 Thread Joó Ádám
For me, it seems a bug. Post an issue on JIRA for it. Ádám

Re: [fw-general] Zend_pdf: send document to browser

2009-11-27 Thread Joó Ádám
I can’t see the cause of the problem, however, I suggest you to use readfile() instead of storing the file in a variable and then echo it. Ádám

Re: [fw-general] Action Helpers Path configuration in version 1.9.5

2009-11-27 Thread Matthew Weier O'Phinney
-- scabro wrote (on Friday, 27 November 2009, 07:32 AM -0800): > I’m just starting with Zend Framework and find it very frustraiting that all > sources out there are referring to the previous versions of the framework – > while I’m using the latest one (recommended) and can’t quite figure out how

[fw-general] Action Helpers Path configuration in version 1.9.5

2009-11-27 Thread scabro
I’m just starting with Zend Framework and find it very frustraiting that all sources out there are referring to the previous versions of the framework – while I’m using the latest one (recommended) and can’t quite figure out how to replace all those configuration differences in the new version. Th

Re: [fw-general] How to create Dynamic Sidebar?

2009-11-27 Thread Daniel Latter
http://stackoverflow.com/questions/421013/best-practice-creating-dynamic-sidebar-with-zend-framework Scroll down towards bottom of article, talks about creating a sidebar, http://devzone.zend.com/article/3412 maybe the above two will give you some ideas. 2009/11/27 Enkhbilguun Erdenetsogt :

[fw-general] How to create Dynamic Sidebar?

2009-11-27 Thread Enkhbilguun Erdenetsogt
Hello everyone, I would like to take help on creating dynamic sidebar something look like $this->layout()->sidebar; in layout script. In my sidebar I need to put datas from DB on every pages and survey which probably require to post user entered data to a controller. I searched through Googl

[fw-general] Zend_Form_Element filters

2009-11-27 Thread umpirsky
Hi. I have: In my parent form class Umpirsky_Form extends Zend_Form (constructor) $this->setElementFilters(array( 'StringTrim', 'StripTags' )); In my concrete form class My_Form_Admin_SthEdit extends Umpirsky_Form (init method) $this->addElement( 'hidde