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
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:
Alert you suggested me to make wont work as well
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 ,
'regExp'
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
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 to
declarative solved the issue.
--
Giorgio
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.
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.
.
Thank You
Daniel Latter
2008/12/2 vladimirn [EMAIL PROTECTED]:
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
to 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 errors.
The problem
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
I would like to figure this out:
On my index.phtml page is a link:
--- index.phtml
?=$this-jQuery ();?
?=$this-ajaxLink(
Home,
/admin/index/hello,
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), vladimirn [EMAIL PROTECTED]
wrote:
I would like to figure this out:
On my index.phtml page is a link
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' = '#contentJ',
'noscript' = false
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
'='script'
)
Ajax Requested Link:
?php echo $this-ajaxLink(
[ Edit ], /admin/index/edit,
array( 'id' = 'edit',
'update' = '#contentJ',
'noscript' = false,
'inline' = true,
'method' = 'POST'));
On Wednesday 26 November 2008 17:27:37 vladimirn wrote:
Well
Just to add this:
i looked at source after clicked on first ajaxLink and i have this:
# [ Edit ]nbsp;
# [ 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
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:
href=# id=delete onclick=$.post('/admin/index/hello', {},
function(data, textStatus) { $('#contentJ').html(data); }, 'html');return
false;
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/
. '/application/controllers',
'admin' = $base . '/application/admin/controllers'
)
);
Thankss,
V
Matthew Weier O'Phinney-3 wrote:
-- vladimirn [EMAIL PROTECTED] wrote
(on Tuesday, 25 November 2008, 03:31 AM -0800):
Hello all!
I have to add admin folder into my
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',
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 Tuesday 25 November 2008 15:55:30 vladimirn wrote:
I grab this code from documentation
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(
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.route
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.
Thank you Daniel,
This is my view script:
?php if (count($this-paginator)): ?
?php foreach ($this-paginator as $banner): ?
div
div style=float:left; padding-left:20px ?php echo $banner['bannerurl']
? /div
/div
?php endforeach; ?
?php endif; ?
On the page i am getting expected amount of
?
-Matt
On Tue, Nov 18, 2008 at 10:14 AM, vladimirn [EMAIL PROTECTED] wrote:
Thank you Daniel,
This is my view script:
?php if (count($this-paginator)): ?
?php foreach ($this-paginator as $banner): ?
div
div style=float:left; padding-left:20px ?php echo
$banner['bannerurl']
? /div
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 );
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 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.
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
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 -0700):
Anyone? :(
Sorry, a lot of us are at ZendCon
://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 here and to type in
next row)
Next row here[Enter]
And so
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, checkbox validation wont work
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 week. ;)
vladimirn wrote:
Hello all,
is anyone
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',
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
?php
class Zend_View_Helper_LoggedInUser
{
protected $_view;
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:
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
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',
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 dreaming? =)
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 PROTECTED]
wrote:
I just downloaded both
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
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
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
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
?php
class IndexController extends Zend_Controller_Action
{
public function indexAction()
{
//there
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 visible
Well, ok.
Thanks for your reply.
I still dont understand how to put onClick or some other event inside
option 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
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();
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
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 zend dojo) when i click on
browser
Back button
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 this:
[code]
$listOptions=(array(
'first
which i am building in
$listOptions = array(
'first'='first choice',
'second' ='second choice',
'third' = 'third choice',
'clickOne' = 'I want this one to opena hidden text area :)'
);
:))
Matthew Weier O'Phinney-3 wrote:
-- vladimirn [EMAIL PROTECTED] wrote
(on Tuesday, 26 August 2008, 11
', array('tag' = 'dl', 'class' = 'zend_form')),
'Form',
));
return $this;
}
So i dont know what to do and how to make it compatible :)
R! wrote:
It means that your method setSubFormDecorators must have same parameters
as Zend_Form::setSubFormDecorators
vladimirn
:
-- vladimirn [EMAIL PROTECTED] wrote
(on Tuesday, 26 August 2008, 12:23 PM -0700):
Thanks for the link and for guide lines.
I thought that something like that should be solution, but i need to
rephrase my question-
how to add on click in my array? is there somethin like:
new
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,
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:
-- vladimirn [EMAIL
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 in here Tho, if i missed a
topic, please move it onto the right place.
Well, i got to make some
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:
On 5/16/08, vladimirn [EMAIL PROTECTED] wrote:
Hello Jacob
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:
Hello Vincent :)
Web site is live
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 know that method exist. But when i include file Banner.php which
again later.
if i am using first method i rewrote, everything is working on local
machine, but not on the live site.
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 know that method exist
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
[code]
public function adminIndexAction()
{
if (!$this-is_admin()) $this-_redirect(/admin/login
...
$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, i got to make some changes on the web site which has
65 matches
Mail list logo