thanks to everyone that helped me figure this out.
for those that are interested, i wound up using an approach very similar to
this posting
http://my.opera.com/zomg/blog/2007/09/19/extending-zend-framework-route-and-router-for-custom-routing
mapes911 wrote:
>
> thanks for the sugge
thanks for the suggestions guys!
i actually decided not to try the vanity url for users, but for businesses
we are attempting to have a url like
http:///business/
we tried this
$router = $frontController->getRouter(); // returns a rewrite router
by default
$defaults = ar
Hi all,
I've been wondering this for a while now about how Twitter/Myspace and now
Facebook creates what they are calling "Vanity URLs"
So, their users use their username as their url.
ex. www.mydomain.com/myusername would route to their user profile.
So my question is, how can you accomplish
Hi all,
I've created a site that has a menu that is pushed onto the action stack in
a class extending Zend_Controller_Plugin_Abstract.
$menuAction = clone($request);
$menuAction->setActionName('menu')
->setControllerName('home');
$actionStack->pushStack($m
not bound to it)
is there a reason why this might be browser dependent?
and.. is there a way to bind the "enter" key to my xhrPost routine?
thanks!
mapes911 wrote:
>
> Thanks a lot Mark!!
> This helped me a ton and I got my form to work for the most part :)
>
>
>
hi all,
i have pagination set up on a set of data and all works fine. but i am
trying to add some ajax functionality to my page reloads and i've run across
a problem.
i have this code in my pagination.phtml
pageCount): ?>
previous)): ?>
"javascript:ajaxReLoadCommentWall('','previous;?>')
I figured it out.
I had to go through and destroy each dijit element when i reloaded the page
so that it did not exist at the moment that dojo parsed the new html.
something like this did the trick
dijit.byId(widgetId).destroy(true);
thanks guys!
mapes911 wrote:
>
> hmmm ok.
>
>
t a way to load the same form more than once
without reloading the entire page?? :)
thanks in advance
MarkDNA wrote:
>
>
> mapes911 wrote:
>>
>> HI,
>>
>> Question about not reusing a variable name. You're talking about the name
>> you
Thanks a lot Mark!!
This helped me a ton and I got my form to work for the most part :)
MarkDNA wrote:
>
>
> mapes911 wrote:
>>
>> Hi Matthew,
>>
>> If you use this method to attach the javascript routine to the submit
>> button, then in the foobar
HI,
Question about not reusing a variable name. You're talking about the name
you give the actual dijit element right? Like for example.
$this->addElement('ValidationTextBox', 'name', array(
'validators' => array(
array('StringLength', false, array(0, 255)),
Hi Matthew,
If you use this method to attach the javascript routine to the submit
button, then in the foobar routine setup an xhrPost to process the form,
should I still have an action and a method setup in my controller when I
instantiate my form?
I've been playing with a Zend_Dojo_Form which I
hes in the Url that i want to add
>> to
>> the hash. when i do that, changeUrl automatically encodes it to %2F.
>>
>> is there any way for me to actually get the '/' character to show up??
>>
>> thanks again
>>
>>
>>
>> Matthew We
the '/' character to show up??
thanks again
Matthew Weier O'Phinney-3 wrote:
>
> -- mapes911 wrote
> (on Friday, 27 February 2009, 10:00 AM -0800):
>> sweet. you guys rock!! i'll give this a try tonight.
>>
>> i did a quick search of code in
sweet. you guys rock!! i'll give this a try tonight.
i did a quick search of code in pastebin and didn't find dojo.back. perhaps
he didn't use it?
anyway, i found some example code so i'm going to give this a whirl.
question that pops into my head now is this: let's say a user bookmarks a
ur
Hi all,
I am developing an application that uses ajax/dojo.xhrget calls often to
manipulate certain divs within a page. I would like to be able to update the
url in the browser as the user clicks different areas so that if a user
decided to bookmark the page, they would be able to return to the s
Hi all,
I have created a form that extends Zend_Dojo_Form. I am able to get it to
show up by creating a controller and an action.
Here's my code for the controller UserController.php
Code:
public function editinfoAction()
{
$form = new forms_EditInfoForm()
16 matches
Mail list logo