First of all i would like to say hello to all of you guys.
There is a question bothering me for some time now.
While ago i have created a CMS where i allowed admin users to create a
pages, menus, categories etc.. dinamicly.
I would love to port all that ideas to Zend Framework env.
Talking about Z
I posted this a few months ago, but never got colution, so i will try one
more time :)
Hopefully someone will be able to help me on this.
I have a zend_dojo WORKING form, but checkbox validation wont work.
I'b been told to try this:
-
There was a few members pointing that this wont work, and i dont have it
worked yet. Any new ideas?
drj201 wrote:
>
> I confirm this does not work using capture... I have the same problem.
>
> Thanks
>
>
> gerardroche wrote:
>>
>>
>> vladimirn wrote:
I'v tried solution i found here in forum but it wont work for me.
So, my code looks is:
$form->addElement('ValidationTextBox', 'password', array (
'value' => $webmasterData [ 0 ] [ 'password' ] ,
'label' => 'Password' ,
'maxlength' => 20 ,
'regE
Thank you very much :)
Giorgio Sironi wrote:
>
> 2008/12/5 vladimirn <[EMAIL PROTECTED]>
>
>> As you can see, content from Editor element is not in $_POST
>>
>
> I had a similar problem using the programmatic model of dojo, switching
Does any one know how to solve that?
I read over a mailing list, but did not find any suitable solution. So i am
kinda stucked here.
There is my actionView:
**
$form = new Zend_Dojo_Form ( );
$form->setMethod ( 'post' )->setAction ( "process" )->
write any.
Thanks,
V
beberlei wrote:
>
> Hello vladimirn,
>
> this is just not possible as i said earlier. You have to find a generic
> jQuery
> by hand written solution for this. I have tested myself if its possible
> with
> the inline argument, but that gives javascript
;
>
> in your view I think as this is JQuery related.
>
> Thank You
> Daniel Latter
>
>
>
> 2008/12/2 vladimirn <[EMAIL PROTECTED]>:
>>
>> Anyone pls?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/QUestion-a
Anyone pls?
--
View this message in context:
http://www.nabble.com/QUestion-about-jQuery-ajaxLink--can-anyone-take-a-look-on-this-please--tp20732925p20795245.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Is there any way to have same functionality which ajaxLink provide, but in
Zend Dojo?
Thanks,
V
--
View this message in context:
http://www.nabble.com/AjaxLink-in-Zend_Dojo-tp20795432p20795432.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hello all,
I have one simply question.
Whats the use of ajaxLInk? So far i find out that one can use ajaxLink only
like a some kind of toy, which could achieved by using any ajax script to
get some content into desired container.
It is pretty much hard for me to explain, so i will trow an example.
Thanks.
Can u just tell me why Edit and Delete are not inside a href in hello.phtml?
It wont allow me to post how link looks like so i will improvize:
[Delete]
See? [Delete] is totally out of link tag.
--
View this message in context:
http://www.nabble.com/jQuery-Ajax-link-inside-container--ho
Just to add this:
i looked at source after clicked on first ajaxLink and i have this:
# [ Edit ]
# [ Delete ]
Somehow, [ Edit ] is out of a href tags..
--
View this message in context:
http://www.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-this--tp20703903p20705645.html
Sent
quot;, "/admin/index/edit",
> array( 'id' => 'edit',
> 'update' => '#contentJ',
> 'noscript' => false,
> 'inline' => true,
> 'method' => 'POST'));
>
I went thru
http://framework.zend.com/manual/en/zendx.jquery.view.html#zendx.jquery.view.helpers.ajaxlink
and it says that dataType = html is default. However, i explicitly gave this
to my ajaxLink and still wont work.
I tried to change to dataType=text and i am getting code of my hello.phtml
How
Well, i added dataType to all 3 links, but no changes at all
vladimirn wrote:
>
> THank you for your quick reply.
> Can you show me how to this, or point me somewhere where i can learn that
> please?
> And where to add that?
> array('update' => '#conten
'dataType'=>'html'
)
Like that?
beberlei wrote:
>
>
> You have to give dataType = html as additoinal parameter to the options,
> because for
> security by default ajax responses are handled as text.
>
> On Wed, 26 Nov 2008 08:07:39 -0800 (PST), vlad
I would like to figure this out:
On my index.phtml page is a link:
--- index.phtml
jQuery ();?>
ajaxLink(
"Home",
"/admin/index/hello",
e View for Dojo support? Because having both Dojo and
> jQuery
> helpers in your view will probably not work!
>
> you can try this by doing:
>
> $view->getHelperPaths() or
> $view->getPluginLoader()->getPaths()
>
> greetings,
> Benjamin
>
> On Tuesd
I grab this code from documentation and tried to reporoduce some result.
So, this is a code:
public function indexAction() {
$form = new ZendX_JQuery_Form ( );
$form->setDecorators ( array ('FormElements', array
('AccordionContainer',
array ('id' => 'tabContainer',
x27; => $base . '/application/controllers',
'admin' => $base . '/application/admin/controllers'
)
);
Thankss,
V
Matthew Weier O'Phinney-3 wrote:
>
> -- vladimirn <[EMAIL PROTECTED]> wrote
> (on Tuesday, 25 November 2
Hello all!
I have to add admin folder into my application structure.
So far i did like this:
/application
-admin/
controllers/
---IndexController.php
views/
---scripts/
---index/
Hey Ace, i had the same problem.
I solved it by making a link which leading me to the page with pagination
like this
before:
wedding/bouquets/category
(above wasnt work for me)
and this one works:
wedding/bouquets/category/1
//in bootstrap
$route3 = new Zend_Controller_Router_Route(
'wedding
Matt, thanks for posting this link and quote rom documents.
I've already read that before i posted in here :)
How to use that in my example?
Matthew Ratzloff wrote:
>
> From the documentation:
> The following is an example route you might use in an INI configuration
> file:
>
> routes.example.r
Matthew Ratzloff wrote:
>
> Do you define a "page" parameter in your route?
> -Matt
>
> On Tue, Nov 18, 2008 at 10:14 AM, vladimirn <[EMAIL PROTECTED]> wrote:
>
>>
>> Thank you Daniel,
>> This is my view script:
>> paginator)): ?>
>
Thank you Daniel,
This is my view script:
paginator)): ?>
paginator as $banner): ?>
"
On the page i am getting expected amount of results.
Then in my controller:
$db = Zend_Registry::get ( 'db' );
$select = $db->select ()
->
Can anyone help on this please? :)
--
View this message in context:
http://www.nabble.com/Question-about-zend-pagination-tp20543032p20555822.html
Sent from the Zend Framework mailing list archive at Nabble.com.
i cant provide a link it is on my localhost :(
However, i cant get it working..
--
View this message in context:
http://www.nabble.com/Question-about-zend-pagination-tp20543032p20547855.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Thank you for swift replay :)
Now i went with this:
$page = $this->_request->getParam('page') ;
$db = Zend_Registry::get ( 'db' );
$select = $db->select ()
->from ( 'banners', array ('bannerurl',
'height', 'width', '
I have a problem with zend pagination.
In my controller i have this:
$result = $db->fetchAll ( $sql );
$page = $this->_getParam ( 'page', 1 );
$paginator = Zend_Paginator::factory ( $result );
$paginator->setItemCountPerPage ( 2 );
Hey all,
I have a link http://www.example.com/banners where i am displaying some
tabelar stats about number of banners.
In movie category i have 3 banners. I would like to click on this number(3)
and that zend_dojo nicely do the job :)
Basicly i would like to display those 3 banners from the movie
Hi all,
i am stucked with this. I have to transform regular sql into Zend DB sql and
then to return values in my phtml file. After many days i am not able to
acompish that. There is my indexAction.
public function indexAction() {
$db = Zend_Registry::get ( 'db' );
So, are we back from conference? :)
vladimirn wrote:
>
> Ah :)
> I would like i am there :)
> Have a nice time :)
>
> Matthew Weier O'Phinney-3 wrote:
>>
>> -- vladimirn <[EMAIL PROTECTED]> wrote
>> (on Wednesday, 17 September 2008, 08:11 AM -07
Ah :)
I would like i am there :)
Have a nice time :)
Matthew Weier O'Phinney-3 wrote:
>
> -- vladimirn <[EMAIL PROTECTED]> wrote
> (on Wednesday, 17 September 2008, 08:11 AM -0700):
>>
>> Anyone? :(
>
> Sorry, a lot of us are at ZendCon this
Anyone? :(
vladimirn wrote:
>
> Hello all,
> is anyone here able to help about form validation please?
> After pressing submit button expected behaviour is stopping form
> submission if checkbox is not checked.
>
> I have a bunch of stuffs in my form.
> So far, check
not-work
> http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dijit-form-textarea-firefox3-enter-key-does-not-work
>
>
>
> vladimirn wrote:
>>
>> I need just a simple text area where you can type :
>> First row in text area (i would like to press Enter h
Hello all,
is anyone here able to help about form validation please?
After pressing submit button expected behaviour is stopping form submission
if checkbox is not checked.
I have a bunch of stuffs in my form.
So far, checkbox validation wont work.
$agreements->addElement ( 'CheckBox', 'ages', a
Dear Matthew,
thanks for your help.
I managed to prevent submiting form before all required fields are properly
filled.
Email:
->addElement ( 'validationTextBox', 'email', array ('required' => true,
'label' => 'Email address', 'regExp' =>
'[EMAIL PROTECTED],4}\b', 'invalidMessage' =>
'Please pr
vRandom wrote:
>
>
> I don't see a reference to a helper path for the view to use.
>
> Something like : $this->_view->addHelperPath('path-to-helpers-dir');
>
> Hope it helps
>
> Terre
>
>
>
Thanks Terre :)
--
View this message in context:
http://www.nabble.com/One-simple-problem-too
Now i have similar(or not) issue.
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with
message 'Plugin by name LoggedInUser was not found in the registry.
I have in application/views/helpers/ file LoggedInUser.php
_view = $view;
}
function loggedInUser()
{
$auth = Zend_Aut
I am windows user.
So i had in my signupForm:
->addElement ( 'MultiSelect', 'promotion',
everything works fine on my computer (windows vista) and when i uploaded
file on the web server(linux) i got error message that Plugin MultiSelect
wasnt found
After two hours of updating library fro
Hello guys,
I made my first Zend_dojo_form and I have 3 questions so far :)
I've attached file with my signupController.php because its to long to be
posted here. http://www.nabble.com/file/p19441003/signupController.php.txt
signupController.php.txt
Its .txt but you can see whats inside.
I do
Oh, my bad, i am sorry, i was looking in the wrong folder with the same
name... i am sorry :)
vladimirn wrote:
>
> I just downloaded minimal, 3 min ago and there is .svn inside
>
> tfk wrote:
>>
>> On Thu, Sep 11, 2008 at 7:54 PM, Jordan Moore <[EMAIL PROTE
I just downloaded minimal, 3 min ago and there is .svn inside
tfk wrote:
>
> On Thu, Sep 11, 2008 at 7:54 PM, Jordan Moore <[EMAIL PROTECTED]>
> wrote:
>> I just downloaded both minimal zip and tar.gz archives, and neither
>> one contained any .svn directories.
>
> Do you think I was dream
Hello Mathew,
I tried this, but wont work for me.
$form->addDisplayGroupPrefixPath('forms_Decorator', 'forms/Decorator');
.
$form->addDisplayGroup(array('username', 'password'), 'login', array(
'legend' => 'Please Login:',
'decorators' => array(
'FormElements',
Hello all,
I already posted this, but no one answered, so i deleted this post and i
will try with this one.
I used Example 19.9. Registration Form Example.
I did change the name of the file, and added some fields inside subforms and
delete some others.
SO imo, this should not cause this example f
Not so hard i think.
If i understud well, you should use $this->_forward at the end of you
action.
So lets say you have IndexController.php and in this controller you want to
use forward
_forward('menu','nav'); // where 'menu' stand for menuAction in
NavController and 'nav' is a NavController.php
Well, ok.
Thanks for your reply.
I still dont understand how to put onClick or some other event inside
tag which is created by Zend_Form_Element_Multiselect.
I was not asking how to use js.
Martin Martinov-2 wrote:
>
> 2008/8/27 vladimirn <[EMAIL PROTECTED]>:
>>
>>
Martin Martinov-2 wrote:
>
> Use the onchenge event of your select tag.
>
> --
> Regards,
> Martin Martinov
> http://mmartinov.com/
>
>
Thanks Martin, but if i use onChange event in select tag, this will show
hidden text area on any change inside multiselect, right? I need to make
text area
, i want this onClick inside of option tag
first choice
second
choice//THIS ONE SHOULD BE SELECTED, RIGHT? But somehow it is not
:) Well, sometimes it is selected, but not this time :)
third choice// here
i need onClick event :)
Matthew Weier O'Phinney-3 wrote:
>
> -- vlad
d setSubFormDecorators must have same parameters
> as Zend_Form::setSubFormDecorators
>
> vladimirn wrote:
>>
>> Strict Standards: Declaration of
>> forms_Registration::setSubFormDecorators() should be compatible with that
>> of Zend_Form::setSubFormDecorators() in
>&
'onClick' => 'DoSomething'// <---
and more, how to add this on specific array key/value which i am building in
$listOptions = array(
'first'=>'first choice',
'second' =>'second choice',
'third'
Matthew Weier O'Phinney-3 wrote:
>
> -- vladimirn <[EMAIL PROTECTED]> wrote
> (on Tuesday, 26 August 2008, 10:29 AM -0700):
>> I was searching all over but failed to find a way to add
>> selected=selected
>> into multiselect.
>> My code is like th
Matthew Weier O'Phinney-3 wrote:
>
> -- vladimirn <[EMAIL PROTECTED]> wrote
> (on Tuesday, 26 August 2008, 10:35 AM -0700):
>> Hello all, i was wondering if any of you have some nice solution for this
>> problem.
>> After displaying data on the page(using
Hello all, i was wondering if any of you have some nice solution for this
problem.
After displaying data on the page(using zend dojo) when i click on browser
Back button, i would like to keep those data on my page but i am navigated
out of page and my data are lost.
Dojo have some solution using
I was searching all over but failed to find a way to add selected=selected
into multiselect.
My code is like this:
[code]
$listOptions=(array(
'first'=> 'first choice',
'second' => 'second choice',
'third' => 'third choice'
);
$lists = new Zend_Form_SubForm();
$lists->
Thanks Math! :)
it was permission thing :)
it was set as 775 instead of 755
i changed to 755 and everything went just fine :)
And i dont understand why this caused all my troubles tho :)
However, i really appreciate your help!
Vladimir
Matthew Weier O'Phinney-3 wrote:
>
> -- vladim
Error i am gettign is:
ErrorController: script 'banners/admin-index.phtml' not found in path
(application/views/helpers/pagelets/templates/:application/views/scripts/)
I have application/views/scripts/banners on my web server with
admin-index.phtml in this folder.
Exactly as on my localhost, wher
files...
$rowset = $this->db->fetchAll(''select * from banners'); works for
Banner.php
any ideas? :)
vladimirn wrote:
>
> First of all i would like to say hello to all in here Tho, if i missed a
> topic, please move it onto the right place.
>
> Well,
er_HtmlEntities())
$this->filters->addFilter(new Zend_Filter_StripSlashes());
}
Vincent-20 wrote:
>
> On Fri, May 16, 2008 at 5:21 PM, vladimirn <[EMAIL PROTECTED]> wrote:
>
>>
>> BannersController.php - my version of existing method
>> [
s[$idx]['Populars'] = $row->toArray();
$idx++;
}
return $ar_res;
}
On my local mashine:
When i am using original method, i am redirected to public area of site and
getting this:
Internal server error
Error
An error occurred, please tr
curently i am not at this computer. I will reply in hour and half :)
Vincent-20 wrote:
>
> On 5/16/08, vladimirn <[EMAIL PROTECTED]> wrote:
>>
>>
>> I misstyped what php said :) actually PHP said that method does not
>> exist,
>>
>> and i
metimes :)
I am not using SVn cause i cant figure it out how to use it. I read on svn
web site but still dont get it. And it was already on web site i got to
adjust.
Thank you very much for your reply :)
Vincent-20 wrote:
>
> On 5/16/08, vladimirn <[EMAIL PROTECTED]> wrote:
>>
on web site which is called
.svn. I dont know what is this for. :)
Sorry if i am bothering with my problem, just i dont know from where to
start to solve it .
@Jacob- i already read acrabat and all tutorial from acrabat web site, but
couldnt figure it out.. :(
Vincent-20 wrote:
>
&
lcome :)
>
> You will have to supply more details about your problem for anyone to be
> able to help.
>
> For instance what kind of error messages do you get?
>
> Jacob Oettinger
>
>
> vladimirn wrote:
>>
>> First of all i would like to say hello to all i
65 matches
Mail list logo