After reading tons of articles and tuts, im really stuck on howto setup my
website with zend framework.
The general idea is to create a lightweight cms to handle the rather static
parts of the site. The dynamic part is all about job postings.
The problem comes that the index page has a couple o
Hi,
I am new to i18n and, until now, I was adding display groups to my forms
this way:
$form->addDisplayGroup(
array('field1', 'field2', 'field3'),
'global',
array(
'displayGroupClass' => 'My_DisplayGroup',
'legend' =>
Great point, thanks :)
--
View this message in context:
http://n4.nabble.com/should-directory-structure-indicate-model-relationship-tp1579414p1580035.html
Sent from the Zend Framework mailing list archive at Nabble.com.
You can create a custom element:
> $element = $this->createElement('Custom', 'my name');
>
And then create a Custom element class:
> class My_Form_Element_Custom extends Zend_Form_Element
> {
> public $helper = 'formCustom';
> }
>
Note that your view helper should be called formCus
-- pankraz wrote
(on Saturday, 06 March 2010, 04:38 PM -0800):
> i am trying to assign a custom view helper:
>
> public $decoRadio = array(
> array ('ViewHelper' => 'CustomViewHeper'),
> 'Errors',
> array(array('data' => 'HtmlTag'), array('tag'
After reading tons of articles and tuts, im really stuck on howto setup my
website with zend framework.
The general idea is to create a lightweight cms to handle the rather static
parts of the site. The dynamic part is all about job postings.
The problem comes that the index page has a couple o
Is there a way to create a Zend_Date value, tell Zend_Date the value it is
getting is UTC, and then specify a new time zone and have the time / date
adjust accordingly (reading through docs, it looks like no). Or do I have to do
this manually? (datetimes are stored with timezone in DB and inten
Hi Friend
I am creating the multilingual site using Zend framework.
I have two language 1.English 2.Arabic.
To work on this i added
$translate = new Zend_Translate('csv', '../language/english.csv','en');
Zend_Registry::set('Zend_Translate', $translate);
this code snippet on Bootstrap.
Yes this is possible with Zend_Date.
Mfg
Thomas
- Original Message -
From: "water"
To: "zend general"
Sent: Monday, March 08, 2010 3:34 PM
Subject: [fw-general] Zend_Date
Is there a way to create a Zend_Date value, tell Zend_Date the value it is
getting is UTC, and then specify a
Hi,
Maybe one of these articles can assist you;
http://blog.hackix.com/series/working-with-zend_translate-and-poedit/
Especially the one with Plugins & Language Selector.
Regards
Danny
-Original Message-
From: devpravin [mailto:pravin.chen...@wwindia.com]
Sent: den 8 mars 2010 16:43
To:
Hi,
I'm into the same issue, how did you get it solved at last ?
--
View this message in context:
http://n4.nabble.com/Loading-of-global-and-module-bootstraps-with-module-specific-plugin-tp661880p1585023.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hello Everyone,
I have been trying to figure out the best method to accomlish a task and I
have tried a Front Controller Plugin, along with extending Routes. I was
unable to use the FC Plugin because neither the routeStartup/routeShutdown
would work for me. I also am using the Zend_Rest_Route i
I think creating a regex route along with modifying the request in route
shutdown should do the trick. Have you tried that?
--
Hector
On Mon, Mar 8, 2010 at 11:29 AM, Joseph Crawford wrote:
>
> Hello Everyone,
>
> I have been trying to figure out the best method to accomlish a task and I
> have
I should note that in that pasted code the only lines that I have added are
lines 32-36 which is why I think there has to be a better method.
--
View this message in context:
http://n4.nabble.com/Zend-Rest-Route-tp1585038p1585071.html
Sent from the Zend Framework mailing list archive at Nabble.c
I did try this with a normal route however I was told that you could not
chain rest routes and I could not get it to work with
$regRoute->chain($restRoute);
$restRoute->chain($regRoute);
Do you know how I could get the chaining to work? I need to keep the
restfulness as well.
Thanks,
Joseph Cr
Sorry I don't have experience with REST routes or chaining :(
--
Hector
On Mon, Mar 8, 2010 at 11:43 AM, Joseph Crawford wrote:
>
> I did try this with a normal route however I was told that you could not
> chain rest routes and I could not get it to work with
>
> $regRoute->chain($restRoute);
As suggested I have tried using a regular route in combination with a FC
Plugin and implementing the routeShutdown method. This works and it allows
me to do the transformations that I require. However the Zend_Rest_Route
for some reason does not work like the standard routes and will not allow m
Hi Saša,
i had the same problem. I have done it the following way:
$("#upload").uploadify({
'uploader' : 'uploadify.allglyphs.swf',
'script' : 'upload_action_uploadify.php',
'scriptData' : {
'PHPSESSID':'{$session_id}'
} ...
In the script where i process the images:
$sid = $_POST['PHPSE
On Tue, Mar 9, 2010 at 10:49 AM, Jake McGraw wrote:
>
>
> On Mon, Mar 8, 2010 at 8:51 PM, Cameron wrote:
>
>> Ok, I just tried removing everything except for
>>
>> $data = $authAdapter->getResultRowObject(null, 'password');
>> $auth->getStorage()->write($data);
>>
>> all, the $authNamespace stuf
On Tue, Mar 9, 2010 at 12:05 AM, Cameron wrote:
>
>
> On Tue, Mar 9, 2010 at 10:49 AM, Jake McGraw wrote:
>>
>>
>> On Mon, Mar 8, 2010 at 8:51 PM, Cameron wrote:
>>>
>>> Ok, I just tried removing everything except for
>>>
>>> $data = $authAdapter->getResultRowObject(null, 'password');
>>> $auth-
Thanks, I fixed it like this: I put in bootstrap setting session Id bfore
_initSession (session start) and it works fine, bu tI have this code on
every request, ionstead having it only in one controller.
Also, this is a security issue, because everyone can change uploadify
settings on the client (
On Tue, Mar 9, 2010 at 1:28 PM, Jake McGraw wrote:
> On Tue, Mar 9, 2010 at 12:05 AM, Cameron wrote:
> >
> >
> > On Tue, Mar 9, 2010 at 10:49 AM, Jake McGraw wrote:
> >>
> >>
> >> On Mon, Mar 8, 2010 at 8:51 PM, Cameron wrote:
> >>>
> >>> Ok, I just tried removing everything except for
> >>>
>
22 matches
Mail list logo