Note that there are some explanatory texts on larger screens.

plurals
  1. POhide module and action name from zf2 routing
    primarykey
    data
    text
    <pre><code>&lt;?php return array( 'controllers' =&gt; array( 'invokables' =&gt; array( 'Member\Controller\Member' =&gt; 'Member\Controller\MemberController', ), ), 'router' =&gt; array( 'routes' =&gt; array( 'member' =&gt; array( 'type' =&gt; 'Zend\Mvc\Router\Http\Literal', 'options' =&gt; array( 'route' =&gt; '/', 'defaults' =&gt; array( 'controller' =&gt; 'Member\Controller\Member', 'action' =&gt; 'index', ), ), ), 'member' =&gt; array( 'type' =&gt; 'segment', 'options' =&gt; array( 'route' =&gt; '[/:action][/:pkMemberId][/:status]', 'constraints' =&gt; array( 'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*', 'pkMemberId' =&gt; '[0-9]+', 'status' =&gt; '[0-9]+', ), 'defaults' =&gt; array( 'controller' =&gt; 'Member\Controller\Member', 'action' =&gt; 'index', ), ), ), 'changeMemberPassword' =&gt; array( 'type' =&gt; 'segment', 'options' =&gt; array( 'route' =&gt; '/changeMemberPassword', 'defaults' =&gt; array( 'controller' =&gt; 'Member\Controller\Member', 'action' =&gt; 'changePassword', ), ), ), ), ), 'service_manager' =&gt; array( 'abstract_factories' =&gt; array( 'Zend\Cache\Service\StorageCacheAbstractServiceFactory', 'Zend\Log\LoggerAbstractServiceFactory', ), 'aliases' =&gt; array( 'translator' =&gt; 'MvcTranslator', ), ), 'translator' =&gt; array( 'locale' =&gt; 'en_US', 'translation_file_patterns' =&gt; array( array( 'type' =&gt; 'gettext', 'base_dir' =&gt; __DIR__ . '/../language', 'pattern' =&gt; '%s.mo', ), ), ), ); ?&gt; </code></pre> <p>i have a route like this <a href="http://www.abc.com/member-profile/756" rel="nofollow">http://www.abc.com/member-profile/756</a> but i want to show it like this <a href="http://www.abc.com/john" rel="nofollow">http://www.abc.com/john</a>. showing user first name in the url. Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload