Re: [fw-general] Facebook Vanity URLs

2009-07-01 Thread mapes911
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

Re: [fw-general] Facebook Vanity URLs

2009-06-21 Thread mapes911
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

[fw-general] Facebook Vanity URLs

2009-06-09 Thread mapes911
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

[fw-general] Re[fw-general] freshing or reloading a menu that was loaded using the action stack

2009-05-01 Thread mapes911
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

Re: [fw-general] Zend_Dojo_Form - XHR-Post

2009-03-16 Thread mapes911
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 :) > > >

[fw-general] pagination and other data

2009-03-08 Thread mapes911
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;?>')

Re: [fw-general] Dijit elements and xhrPost

2009-03-06 Thread mapes911
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. > >

Re: [fw-general] Dijit elements and xhrPost

2009-03-04 Thread mapes911
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

Re: [fw-general] Zend_Dojo_Form - XHR-Post

2009-03-04 Thread mapes911
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

Re: [fw-general] Dijit elements and xhrPost

2009-03-04 Thread mapes911
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)),

Re: [fw-general] Zend_Dojo_Form - XHR-Post

2009-03-03 Thread mapes911
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

RE: [fw-general] manipulating the window url without a refresh

2009-03-03 Thread mapes911
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

Re: [fw-general] manipulating the window url without a refresh

2009-03-02 Thread mapes911
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

RE: [fw-general] manipulating the window url without a refresh

2009-02-27 Thread mapes911
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

[fw-general] manipulating the window url without a refresh

2009-02-27 Thread mapes911
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

[fw-general] Loading a dojo form in a div using xhrGet

2009-02-25 Thread mapes911
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()