Hehe, better don't use Zend Tool :)
Regards,
Saša Stamenković
On Tue, Nov 3, 2009 at 8:41 AM, scs sasc...@gmail.com wrote:
I had the same problem. And every time, I had to correct the view
script filename manualy.
There is one more problem (not sure if it is a problem):
When you create a
Hi, i've a problem with custom regex route.
I tried this:
$route = new Zend_Controller_Router_Route_Regex(
'(.+)',
array(
'controller' = 'index',
'action' = 'view'
),
array(
1 = 'language'
Hi,
You can take a look at
Dynamically Adding Elements to Zend_Form
http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/
scs
On Tue, Nov 3, 2009 at 1:47 PM, KimG kim.gabriel...@get2net.dk wrote:
Thanx for info. It sounds very simple when you describe it but truth
Hi,
I have been running phpunit tests on PHP 5.3 (on Mac OSX 10.6) and I am
getting an error:
Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2000] mysqlnd cannot connect to
MySQL 4.1+ using old authentication
I am using the Zends PDO_MYSQL adapter and the MySQL server is running
version 5.0.86.
scs wrote:
Dynamically Adding Elements to Zend_Form
http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/
I dont think id ajax the form element. Id ont see any reason to...
perhaps if i was adding an entire Subform or a complex filedset but i
think its a waste of
I got the same error when i upgraded to Snow leopard (OSX 10.6).
Unfortunately I haven't managed to fix this in a good way, I installed XAMPP
(http://www.apachefriends.org/en/xampp.html) to get my environment back up
running until i find a better solution.
This problem is not Zend
Update your mysql passwords to a new format or don't use the new mysqlnd
driver available since 5.3
(it has nothing to do with ZF)
Cheers
Goran Juric wrote:
Hi,
I have been running phpunit tests on PHP 5.3 (on Mac OSX 10.6) and I am
getting an error:
Zend_Db_Adapter_Exception:
Additionally there should be additional basic types like Directory,
PhpFile, OtherFile which can be used as placeholders for non-application
critical resources that need representation though.
Directory and File already exist, but they are currently marked as
abstract. I can change
When can we expect 1.10 to be released?
Regards,
Saša Stamenković
On Tue, Nov 3, 2009 at 3:36 PM, Ralph Schindler ralph.schind...@zend.comwrote:
This is fixed in the incubator / code for 1.10
I have a package ready to test under pear.zfcampus.org if you are willing
to try it.
-ralph
Problem is in http client, since it occurs on some servers, and on some not,
probably depending on headers they send by default.
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 2:42 PM, Саша Стаменковић umpir...@gmail.comwrote:
I'm trying... :P
Regards,
Saša Stamenković
On Tue, Sep
-- Саша Стаменковић umpir...@gmail.com wrote
(on Tuesday, 03 November 2009, 03:37 PM +0100):
When can we expect 1.10 to be released?
We're still trying to determine a date; there are a number of variables
we need to consider. I'm hoping that we can have it before end-of-year.
On Tue, Nov 3,
Before you jump right to a response, let me clarify this question a bit:
The Zend_Application_Module_Autoloader automatically checks for classes
starting with Namespace_Model_ in the /models/ directory and it also checks
for classes beginning with Namespace_Model_DbTable_ in the /models/DbTable/
This is fixed in the incubator / code for 1.10
I have a package ready to test under pear.zfcampus.org if you are
willing to try it.
-ralph
scs wrote:
I had the same problem. And every time, I had to correct the view
script filename manualy.
There is one more problem (not sure if it is a
Artsemis wrote:
So, why is it that Zend_Application_Module_Autoloader [b]specifically[/b]
checks for DbTable classes in the /models/DbTable/ class? Unless I'm
missing something, this specific check is redundant as the underscore in
the class name indicates that DbTable is a subdirectory
Hello,
I've got a module bootstrap file Admin_Bootstrap where the module is
admin. I'm wondering how to change the default layout, which in my
case is layout.phtml only for the admin module. In my opinion I have to
do it into the bootstrap file, because in this way the change will
affect all of
I think you can do the following inside the action helper:
$this-getActionController()-view-varname = 'myvalue';
jasonzfw wrote:
Hi,
In order to consolidate code used throughout each controller, I've created
an action helper which performs commonplace tasks such as determining
You can also use the code in action functions to change a independent
action's layout file.
public function indexAction()
{
Zend_Layout::getMvcInstance()-setLayout('some_special_layout');
...
}
If you want to, or need a different layout file for one action vs another.
Hi Guys,
I'm trying to supress errors with the Zend Autoloader, but it's still
throwing them. In this specific case, I'm dynamically ceating a class
if it doesn't already exist. I'm calling suppressNotFoundWarnings(
true ).
Here's my code:
http://www.pastie.org/682603
On line 13, I'm getting
The autocomplete attribute is an unsupported one, but introduced by Microsoft.
Now all common browsers supports the autocomplete attribute, though it's still
not in the official specification (afaik).
For elements, all kind of attributes can be set with an option. Inside your
form::init()
There are cases where Zend_Service_Twitter can be used without
authentication, but the constructor requires $username and $password to
always be passed. For example, checking if a given username exists or not:
$tw = new Zend_Service_Twitter(null);
$exists = $tw-user-show($who)-id() !==
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Simeon Goranov wrote:
Hello,
I've got a module bootstrap file Admin_Bootstrap where the module is
admin. I'm wondering how to change the default layout, which in my
case is layout.phtml only for the admin module. In my opinion I have to
do it
-- Anders Gunnarsson and...@metropolis.se wrote
(on Tuesday, 03 November 2009, 08:02 PM +0100):
How do I add /
autocomplete/=off
To a password field in zend_form?
Simply specify it as a property or as metadata on instantiation:
$foo = new Zend_Form_Element_Text('foo', array(
I've never seen a password field support autocomplete. What does it do? Does
it show a list of recently typed passwords so you can select one? I thought
this feature was only available on inputs of type text.
--
Hector
On Tue, Nov 3, 2009 at 11:12 AM, Jurian Sluiman
Hi all!
I'm newbie to Zend framework and I've encountered one more problem:-/
So, I've read this tutorial:
_http://steven.macintyre.name/zend-framework-jquery-form-validation-plugins/
And I'm getting this error:
exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name
How can i access the controller´s name from layout?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
prodigitalson wrote:
Artsemis wrote:
So, why is it that Zend_Application_Module_Autoloader [b]specifically[/b]
checks for DbTable classes in the /models/DbTable/ class? Unless I'm
missing something, this specific check is redundant as the
Hello,
Here is a sample code from my projects. I tested and it works.
plugin file code:
class My_Plugin_ChangeModuleLayout extends
Zend_Controller_Plugin_Abstract
{
public function preDispatch(Zend_Controller_Request_Abstract
$request)
{
27 matches
Mail list logo