->addDecorator('HtmlTag', array(
>'tag' => 'dd'
>));
>
> You'll get markup like this:
> Zipcode /
> City
>
>
>
>
>
>
>
> Then you can use CSS to make that second disp
Hi,
What I'm trying to accomplish is to group two Zend_Form_Element_Text elements
that they show up on the same line.
I'm styling my standard Zend_Form output (standard decorators) by CSS to bring
the form element's label to the left side of the input field.
$zipcode = new Zend_Form_Element
I think you can use views all the way.
For example:
Dear escape($this->firstName)?>
Thanks for registrering at siteName?>!
Cheers,
Webmaster
And in your controller, you'd do:
$this->view->assign('firstName', $firstName);
$this->view->assign('siteName', 'example');
$emailBody = $this->view-
:33, swilhelm wrote:
I found this blog
http://hasin.wordpress.com/2008/01/05/once-upon-a-time-there-was-smarty/
post by Hasin Hayder very compelling.
--
Philip Iezzi
Onlime Webhosting http://www.onlime.ch
g errors:
* content:encoded should not contain relative URL references
* Missing atom:link with rel="self"
--
How do I set an author/editor per post item? e.g.
iezzip
--
'author' field seems to act differently in Atom and RSS.
valid
Rick Gigger wrote:
> Yes, I was aware of those. I don't use them because I implemented my
> own xml based solutions that has support for tables, page breaking,
> columns, full rich text support, etc. The basic support in those two
> engines was never enough. All I really need are the primitives
Hi Jack,
Great! I'm definitely looking forward to your Zend_Color proposal.
To give you some ideas, here's my my implementation which I wrote 2 years ago
for Sourdough Framework:
Sourdough Framework, http://sourdough.phpee.com/
see util/Sd_Color (Sd_Util/Sd_Color.class.php) component
API: http:/
> If there is currently no way to do this, can anybody pls tell me how to set
> HTTP_ACCEPT_LANGUAGE for wget on a Debian Etch system?
ok, here's my workaround for the moment:
wget --header='Accept-Language: de-ch'
e.g. in .bashrc:
alias wget="wget --header='Accept-Language: de-ch'"
I'm still
given locale.
>
> This way you override the standard settings from your clients browsers.
>
> Greetings
> Thomas
> I18N Team Leader
>
> - Original Message - From: "Philip Iezzi" <[EMAIL PROTECTED]>
> To:
> Sent: Saturday, July 07, 20
This may have been discussed earlier on this list but I cannot find the
thread...
How do I configure a default locale for all Zend_Date instances?
I need to override browser detection (Zend_Locale::BROWSER) as wget does not
seem to provide any HTTP_ACCEPT_LANGUAGE environment variable.
Is there
Bill Karwin wrote:
> As of revision 3995, the find() method always returns an object of type
> Zend_Db_Table_Rowset_Abstract.
What's the easiest recommended way of getting a row by id?
If I'd like to get the row object in a single line of code, could I use
current() or is there a better way?
$c
Right, quite a lot of code to update... It took me quite a lot of like 30
seconds for the whole search-replace on my two medium-sized projects.
Great thanks to Bill Karwin for the clean transition! Great thanks to everybody
for your help getting us to "solution E" which really seems to go into th
Hi Gerry
> Probably a stupid question but on our site we have some routes that say
>
> http://site/article/view/id/1
>
> in 0.1.5 I created a route in the bootstrap file for every extra
> parameter I wanted to your and got them wuth the _getParam() function of
> the action
> but we recently upgr
my +1 for Ralf
Having four classes in one file is even a bigger break of consistency than the
current solution, in my eyes.
Otherwise I totally agree with Andi's simplicity goal. I don't want to have
more than one require_once in my bootstrap. Zend/Core.php sounds good and
should have some basi
I'd prefer Zend_Filtered_Filthy_Fill_Filter_Filter_Filter !
This would make life so much easier.
To cache a cache may also be more efficient, who knows. I'd definitely use
Zend_Cache_Cache. We also do zip our jpegs, right?
Stanislav Malyshev wrote:
>> Really no need to tell if a given name repre
I'd like to pick up this topic again.
Even though I didn't really understand the PHP problem that still persists in
PHP 5.2.1(*), I found my own workaround.
(*) Notice: Indirect modification of overloaded property
Zend_Session_Namespace::$default has no effect in Ralph_FlashMessage.php on
line
Here's my +1 for Ralf's proposal!
Actually, I liked the way of using an entry class. But I just liked it as there
were not enough real-world examples around at the time I started to work with
ZF 0.1.5. For a beginner a Zend class entry point definitely makes sense. It's
always nice to "have som
Hi Andrey
Try it with Zend_Db_Expr:
$select = $db->select();
$select->from('yourtable', new Zend_Db_Expr('COUNT(*)'));
echo $db->fetchOne($select);
take care
philip
Andrey Korolyov wrote:
> How i can make query like
> "select count(*) from table" ?
>
> __
> *Andrey Ko
Hi
Is there a way to add a timestamp to Zend_Log_Adapter_File log entries, e.g.
"[23/Feb/2007:07:00:18 +0100]"
It would be nice if we could define the log format like e.g.
Zend_Log_Adapter_File::setOption('timestampFormat', 'c'); // for ISO 8601 date
format according to date()
Zend_Log_Adapter_
INABIAF (It's not a bug, it's a feature)! Zend_Controller_RewriteRouter was
renamed to Zend_Controller_Router_Rewrite.
Please check the new documentation.
I hope they get the hourly generated manual on
http://framework.zend.com/wiki/display/ZFDOCDEV/Home running again soon.
Otherwise, generate t
Hey Darby and everbody that is involved in the development of Zend_Auth (can't
check on that due to the JIRA hickup (water might help)),
I'd just like to clap hands. You have done great work!
Zend_Auth is cored!
Thanks,
Philip
Thanks Darby,
it works just wonderful!
Regards,
Philip
Darby Felton wrote:
> Hi all,
>
> I have committed an attempted fix with r3428. Please SVN update, and let
> us know your mileage.
>
> Thank you!
>
> Best regards,
> Darby
Hi Mysticav
I've got a workaround for you and wrote an issue about that:
http://framework.zend.com/issues/browse/ZF-916
That's my small fix:
Index: incubator/library/Zend/Auth/Storage/Session.php
===
--- incubator/library/Zend/Auth/
Hi all
I'm facing another problem since Matthew's Zend_Controller reorganization in
rev3372: Modular routing won't work anymore as expected.
Before, I was using:
$front->setRouter(new Zend_Controller_ModuleRouter())
->setDispatcher(new Zend_Controller_ModuleDispatcher());
If I got the up
sages() returns true and
getMessages() is kinda empty...
FlashMessage Object ( [_namespace:protected] => default )
On both systems I have set error_reporting(E_ALL)
pretty weird.
Cheers,
philip
Ralph Schindler wrote:
> Philip Iezzi wrote:
>>> Notice: Indirect modification of overlo
Y' => (bool) (strtoupper($val['key']) == 'PRI')
+'PRIMARY' => (bool) (strtoupper($row['key']) == 'PRI')
);
}
return $desc;
Thanks for your improvements!
Cheers,
Philip
Philip Iezzi wrote:
&
Hi bkarwin
rev. 3093:
http://framework.zend.com/fisheye/changelog/Zend_Framework/?cs=3093
Please fix...
===
Index: library/Zend/Db/Adapter/Pdo/Mysql.php
===
--- library/
> Notice: Indirect modification of overloaded property Zend_Session::$default
> has no effect in FlashMessage.php on line 42
>
> line 42 (in add()):
>
> self::$_session->{$namespace}[] = $message;
It didn't work with Matthew's hack either...
http://weierophinney.net/matthew/archives/131-Overloa
Hi Ralph
Thanks for your nice solution.
I didn't get it running though. Could you please fix the following in
http://svn.ralphschindler.com/repo/ZendFramework/library/FlashMessage.php:
protected static function start()
{
if (Zend_Session_Core::) // <-- ???
if (
> When the OP asked the question, these changes weren't in the repository
> yet. He'ssince updated me that everything was working for him.
Right. After SVN rev 3004 everything worked fine for me and there's even a nice
documentation:
http://framework.zend.com/wiki/display/ZFDOCDEV/5.6.+Using+a+Co
es();
foreach ($profiles as $profile) {
echo $profile->getQuery();
print_r($profile->getQueryData(); // representing all passed data as an
array
}
I would greatly appreciate such an option. I might dig into Zend_Db_Profiler if
I find some time but currently I have no idea how
Hi Berty,
It works fine here. You're talking about Zend::loadClass, right?
I'm using auto-loading in my bootstrap file (index.php):
function __autoload($class)
{
Zend::loadClass($class);
}
Make sure you have set your include_path correctly, e.g.:
$includePath = get_include_path()
Hi there
I have just found great use of Zend_Db_Profiler! Wonderful work you have done
here!
Here's my problem:
I'd like to report any DELETE/UPDATE/INSERT query to the administrator by
email. This should be the original query including all the values.
In the bootstrap I'm enabling the profile
was able to use module support with the
default route by just specifying $controller->setParam('useModules', true);
And besides, with my own router it works though, but it's a bit annoying to
call "/index/index/action" instead of "/index/action" ("inde
Hi Simon
ok, great idea to use print_r()! :)
Dumb as I am I didn't print the correct output where mail() gets called as I
just checked the HTML-output where of course it was cutting all the <...>'s.
I don't remember the problem of mail() returning false and throwing an
Exception in Zend_Mail_Tr
Hi Matthew
Thanks a lot for extending the modules support in revision 2932!!!
Actually it pretty messed up my whole directory structure... but hey, that's
life and at least we all said good-bye to CVS a long time ago and are working
with SVN.
I hope I got your idea right:
We now need to explici
Hi
I can't figure out what's wrong with the following sample. It won't work on my
two test systems:
---
$mail = new Zend_Mail();
$mail->setSubject('my subject');
$mail->setBodyText('my body text');
$mail->setFrom('[EMAIL PROTECTED]');
$mail->addTo('[EMAIL
GREAT Martel! We love you!
I'm looking forward to this nice implementation and hope it gets soon into the
incubator.
thx, Philip
Martel Valgoerad wrote:
> Philip Iezzi wrote:
>
>> We could then set up some static routes to make life a bit easier:
>> new Zend_Contro
please fix...
thanks, Philip
Index: library/Zend/Controller/Router/StaticRoute.php
===
--- library/Zend/Controller/Router/StaticRoute.php (revision 2909)
+++ library/Zend/Controller/Router/StaticRoute.php (working copy)
@@
Ok, Simon, thanks for writing up a tutorial for us in a month or so.
Basically I was just asking for a simple way of using a modular directory
structure at the current development status of ZF. (I can't wait a month or so,
you know.)
As it is already supported but just not well documented (shout
Hi Simon
Thanks for your great idea about modular folder structure layout!
Up to now I am still looking for the perfect solution.
Could you please outline your whole solution with some sample code? I'm
specifically interested in your routes and how you accomplished the controller
mapping...
We
Hi
I didn't figure out how to report an issue in JIRA, so I report it here
(sorry!):
/trunk/library/Zend/Controller/Action.php, revision 2827:
http://framework.zend.com/fisheye/browse/Zend_Framework/trunk/library/Zend/Controller/Action.php?r1=2800&r2=2827
Method declaration of _redirect does s
Hi Václav
> Zend_View helpers are invoked by Zend_View::__call(), right? Then I
> think that an assigned object in Smarty (see
> http://smarty.php.net/manual/en/advanced.features.php ) would help.
> Try something like this:
>
> class MyController extends Zend_Controller_Action
> {
> public func
Hi there,
I'm using the Zend_View_Smarty wrapper as presented in:
http://framework.zend.com/manual/en/zend.view.scripts.html#zend.view.scripts.templates
18.3.2.2. Template Systems Using Zend_View_Interface
Implementing from Zend_View_Interface is nice and clean but like this I'm not
able to use
Hi Tony
Could you please sketch your plugin implementation?
I would greatfully appreciate any hints as plugin documentation is quite basic.
Thx,
Philip
Tony Brady wrote:
> Hi Superbiji
> I tried both options and ended up preferring the plugin approach. This
> was because when extending the Contr
Hi Superbiji
> i have zf based app,
> without login screen..
>
> how to add auth (login) to my existing app?
> whether to do something with controller?
> i need some suggestions
You could use Zend_Auth from incubator...
1)
Add the incubator libraries to
Happy New Year everybody!
It has been a bit quiet around here. The Wiki
(http://framework.zend.com/wiki/display/ZFDEV/Home) has been down for days and
no posts to this list... Am I missing anything, did anybody step on my WLAN
wire, or is it just the headache you need to cure after New Year's e
Hi Nico!
I guess MANAGESIEVE (server side) would be fine. (actually: what is client side
Sieve?)
sieve-php just fits my needs for Sieve
login/sendscript/deletescript/setactivescript/...
If you could work on this I would greatly appreciate!
Currently I'm not yet into ZF and I'm planning to work
hi all,
What about adding Sieve support to the Zend_Mail_* components proposal?
I'd like to port sieve-php (http://sieve-php.sourceforge.net/) to ZF. Is this
somehow too specific or would it fit into Zend_Mail ?
thanks
Philip
49 matches
Mail list logo