Hi,
what is the best practise for handling query string params?
In ZF1 I have filter form, submit with POST, then redirect with GET and
final URL is something like: /product/index/fPriceFrom/0/fPriceTo/100
select product where price is between 0 and 100. With magic default route,
it was easy. I
Hi Dmitriy,
one note/idea to "services":
UC-02 - Create merchant instance
$merchant = new Zend_Payment_Authorizenet_Merchant('API Login ID',
'Transaction Key');
I think constructor parameter should be array | Zend_Config :) It's more
programmer friendly because of settings in application.ini
Tuids are IMHO something like id in XHTML, no spaces etc...
--
View this message in context:
http://n4.nabble.com/Zend-Translate-with-TMX-what-s-the-proper-usage-tp1471388p1473559.html
Sent from the Zend Framework mailing list archive at Nabble.com.
create new method: eg. getFullyQualifiedId()
Jurian Sluiman wrote:
>
> Op Thursday 10 September 2009 11:42:05 schreef Václav Vaník:
>> Hi,
>>
>> I see now, if I have an element in subform (ZF 1.9.2), getId() method
>> returns only partial id, it means id is not in
Hi,
I see now, if I have an element in subform (ZF 1.9.2), getId() method
returns only partial id, it means id is not in subformName-elementName
style.
In 1.8.2 version is id correct. Is it a bug or new feature?
--
View this message in context:
http://www.nabble.com/SubForm-and-Element%3A%3Age
keith Pope-4 wrote:
>
>
> I think you may need to put an empty module bootstrap in your admin
> module:
>
-- modules
-- admin
-- controllers
-- views
> Bootstrap.php
-- other-module
>
Thx, my problem was that i had class Admin_Boostr
keith Pope-4 wrote:
>
> 2009/7/4 Václav Vaník :
>>
>> Hi guys,
>>
>> i have suffering with modules setup in application.ini and Bootstrap.php
>> file
>>
>> I tried Google, Nabble, manual, source codes... and nothing :(
>>
>&g
Hi guys,
i have suffering with modules setup in application.ini and Bootstrap.php
file
I tried Google, Nabble, manual, source codes... and nothing :(
This is my app structure:
application
-- configs
-- application.ini
-- controllers
-- IndexController.php
-- models
-- modules
-- a
Łukasz Wojciechowski-3 wrote:
>
> Since there is no class in ZF for image processing and I know for sure
> that here are really experienced developer may I ask what (if any)
> image processing (resizing, cropping, watermarks etc) library are you
> using.
>
> I'm sorry for offtopic, I just can'
Damn, you are right ;-) Thx.
PHPScriptor wrote:
>
> Don't think you can. Unles you write your own Zend View Submit. And remove
> the name attrib.
>
> class Zend_View_Helper_FormSubmit extends Zend_View_Helper_FormElement
> {
> public function formSubmit($name, $value = null, $attribs = nul
rs(array('ViewHelper', 'Errors', 'Label'))
->setDecorators(array('FormElements', array('HtmlTag',
array('tag' => 'div')), 'Form'));
$submit->setDecorators(array('ViewHelper'));
}
}
Any idea? Thx.
--
View this message in context:
http://www.nabble.com/How-to-render-formSubmit-element-without-name-attrib--tp21411694p21411694.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi,
I am quiet lost in Zend_Form :/
I have defined Zend_Form instance:
$form = new Zend_Form();
...
...
creating some elements
...
...
//adding elements to form
$form->addElement($username)
->addElement($password)
->addElement($submit);
And my question is, how could I add
Hi,
I think I found a bug in Zend_Validate_Barcode_UpcA and
Zend_Validate_Barcode_Ean13.
These validators have same constant value for error messages:
class Zend_Validate_Barcode_UpcA
..
protected $_messageTemplates = array(
self::INVALID=> "'%value%' is an invalid UPC-A bar
Hail to you ZF geeks :)
I have joined the "rewrite your cms to zf" fever :)
My question is:
What is the best practise to insert navigation boxes into layout?
My requirements are:
Zend_Layout
Navigation(s) are saved in XML file(s)
Output is solved through XSLT
What is the best solution? view h
Nogyara wrote:
>
> Hi guys,
> just a quick question, how can someone set parameters for view helper's
> constructor?
>
> It seems, it is possible, according to this post
> (http://www.nabble.com/Set-View-Helper-Options-%28formTextarea%29-tf4475302s16154.html#a12760567)
> but I can't figure out
les, but at present the permissions are too restrictive. I
> couldn't find this setting in the manual.
>
> Thanks,
> --
> Jack
>
>
Hi, imho it depends on settings of your webhoster ;-)
Václav Vaník,
www.walk.cz
--
View this message in context:
http://www.nabble.co
Well, I found solution
$validators = array(
'se' => array($vNotEmpty, 'fields' => array('se', 'se'))
);
$filterInput = new Zend_Filter_Input($filters, $validators);
$filterInput->setData($this->_request->getPost());
where $vNotEmpty is instance of my own validator (inherited
ze
Hi Zend fans :)
I have tried to solve validating array of checkboxes:
This is part of my form (generated by formCheckbox Helper):
Google
Seznam
I don't know how to check (with Zend_Filter_Input) if at least one checkbox
is checked
$validators =
$filte
19 matches
Mail list logo