Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2007, 05:31 PM
Junior Member
 
Join Date: Feb 2007
Posts: 3
Default Using useModules

Has anyone had any success using useModules setting or know of a good tutorial that explains its use?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-14-2007, 06:20 PM
Junior Member
 
Join Date: Feb 2007
Posts: 1
Default

Quote:
Originally Posted by RichHosek View Post
Has anyone had any success using useModules setting or know of a good tutorial that explains its use?

I am working on it now, if it works, I might write a tutorial hoping someone can use it and save some of the hair I have pulled!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-14-2007, 06:39 PM
Cristian's Avatar
Administrator
 
Join Date: Feb 2007
Location: Sibiu, Romania
Posts: 99
Default

If there is any new tutorial don't forgot to submit to Zend Framework Tutorials


I was stuck with some migration problems from PHP 5.1.6 to 5.2.1 today so a bit lost contact with forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-14-2007, 09:15 PM
SpotSec's Avatar
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 116
Default

works perfectly for me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2007, 03:54 AM
Junior Member
 
Join Date: Feb 2007
Posts: 3
Default What's your setup?

Quote:
Originally Posted by SpotSec View Post
works perfectly for me
I'm using the Zend Core 2.0 beta with the 0.7 version of the Framework.
Can you post your rewrite rules and bootstrap? Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2007, 04:33 AM
wes wes is offline
Junior Member
 
Join Date: Feb 2007
Location: KY
Posts: 2
Default

I had a few problems with modules using the .7 stable release. The issuses were with the forwarding, setControllerDirectory and few other things. Using the latest svn checkout today fixed everything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-16-2007, 07:07 PM
SpotSec's Avatar
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 116
Default

Its fairly straight forward, I started out with the rewriterouter.

PHP Code:
/**
 * Instantiate router object
 */
$router = new Zend_Controller_RewriteRouter(array(
    
'useModules' => true
)); 
Basically now, by default, links are changed to be
http://mysite.com/module/controller/action
or
http://mysite.com/?module=mymodule&c...ction=myaction

The document explaining this is here Zend Framework

I'm not sure what your problem is from the information you provided, but if you can post more on your problem, I'll know what to help you with.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:07 PM.