I'm using Zend Framework to build a HTML based CMS backend and a Flash
frontend. In flash it is possible to deeplink to a specific section using
the url from the browser. But Zend Framework is also interpreting the url to
redirect to a controller and action.
So my question is, how can I use the
Hi,
I think you should be able to use Custom Routes for somthing like this:
http://www.framework.zend.com/manual/en/zend.controller.router.html
Thanks
Dan
On 17 February 2010 10:54, MrMastermindNL ma...@alting-multimedia.nlwrote:
I'm using Zend Framework to build a HTML based CMS
Hello,
Setting a large (4096M in my case) memory_limit in php.ini cause Zend
Framework to fatal. This occurred both on existing code and using zend_tool
(zf.sh).
/usr/local/www/zf/ZendFramework-1.10.1/bin]# ./zf.sh
PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried
Fatal errors emminating from PHP itself are PHP issues. I am actually
not sure there is an issue here as memory_limit should be set to
something sensible (like say max a couple of hundred megs for really
intensive scripts).
Also, I notice you are running the Suhosin patch. While that is
Adding to Ralph's reply:
You may want to trace it using valgrind or truss, etc.. Might lead to
another issue.
Also, I'm assuming you really have 4+ GB?
Till
On Wed, Feb 17, 2010 at 4:18 PM, Ralph Schindler
ralph.schind...@zend.com wrote:
Fatal errors emminating from PHP itself are PHP issues.
If you're using HTML4, then it's based on the name, but if you're using
XHTML1 then it's based on the ID.
Why can't you use the existing IDs?
// javascript
var element = document.getElementById('username');
// css
input#username{ color: #0c0; }
--
Hector
On Tue, Feb 16, 2010 at 11:23 PM,
Hello,
IMHO in this case the most easy way to use CSS classes with prefixes:
// CSS:
.__foo { color: #0c0; }
// Form:
$form-addElement('text', 'foo', array('class' = '__foo'));
For the situation when you want to keep JS and CSS as a separate files.
But if you are OK to use inline, then I
I am looking for a good solution for multilanguage sites.
I found different approaches:
http://www.zendcasts.com/introducing-zend_translate/2009/11/
http://www.m4d3l-network.com/2009/06/29/add-language-route-to-your-zend-framework-project/
Yea theres 16G in that particular machine. It was only while getting a one
of job up and running that the memory_limit was set so high. It just
appeared odd to me that all of our other apps worked but the ZF one wouldn't
run. This is no issue for our site as its raw we need to push the limit so
bump...
--
View this message in context:
http://n4.nabble.com/PDO-or-Mysqli-tp1556941p1559054.html
Sent from the Zend Framework mailing list archive at Nabble.com.
I am sorry I forgot to add $req variable
$req = 'key0=val0';
$req .= 'key1=val1';
--
View this message in context:
http://n4.nabble.com/Zend-Http-Client-VS-fsockopen-tp1559069p1559072.html
Sent from the Zend Framework mailing list archive at Nabble.com.
I have the following lines in my code:
$currency = new Zend_Currency('en_US');
$letter-TRIP_COST = $currency-toCurrency((float) $trip['ProgramCost']);
The value of $trip['ProgramCost'] is '350.', which is coming from
a SQL Server smallmoney column. I'm not sure why it comes into PHP
Hi all,
I'm trying to implement CRUD-Operations via REST in order to make everything
more readable and usable.
What I didn't figure out (yet) is, how should I fetch my *forms* for these
operations?
Do you use a FormController and add a method for each form available in
your module? (I want to
I have a class that extends Zend_Form_Subform. In init() I do this:
$phone = new Zend_Form_Element_Text(
array('name' = 'office_phone','id'
='person_office_phone','label' = 'Office phone',
'belongsTo' = 'person' ,'class' = 'telephone'
)
);
Hi.
I want to extend Zend_Db_Table_Row_Abstract to have some additional fields
besides those from table.
Example.
I have
class Automobili_Model_Car extends Zend_Db_Table_Abstract {
protected $_name = 'car';
protected $_rowClass = 'Automobili_Model_Row_Car';
}
and
class
Nevermind. It appears -- emphasis on appears -- that attaching the filter
to the element before attaching the element to the form does not work. What
does appear to work is adding the element to the form, then adding the
validator to the form element.
Please do tell me if I'm wrong.
On Wed,
Michael Rehbein helpfully supplied a patch and unit tests for this issue, so
I'll be merging that in sometime this week or Sunday. In the meantime, feel
free to patch your code manually:
http://framework.zend.com/issues/browse/ZF-4151
Index: library/Zend/Paginator/Adapter/Null.php
Greetings, all!
Today and tomorrow are our monthly bug hunt days! I've posted an article
about it on the DevZone:
http://devzone.zend.com/article/11835-Announcing-Februarys-ZF-Bug-Hunting-Days
If you are able to join us today, we'd love to have your help! Please
read the wiki page about the
I use mysqli, because I think it's faster, but I'm not really sure.
Regards,
Saša Stamenković
On Wed, Feb 17, 2010 at 6:37 PM, Ross Little rosslit...@gmail.com wrote:
bump...
--
View this message in context:
http://n4.nabble.com/PDO-or-Mysqli-tp1556941p1559054.html
Sent from the Zend
Great, thanks!
Regards,
Saša Stamenković
On Wed, Feb 17, 2010 at 10:59 PM, Matthew Ratzloff m...@builtfromsource.com
wrote:
Michael Rehbein helpfully supplied a patch and unit tests for this issue,
so I'll be merging that in sometime this week or Sunday. In the meantime,
feel free to
20 matches
Mail list logo