Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7689843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:15:31+00:00 2026-05-31T20:15:31+00:00

I added CakeDC-Users plugin in app/plugins. Now for http://example.com/ , if i click the

  • 0

I added CakeDC-Users plugin in app/plugins.

Now for http://example.com/ , if i click the home/index link, it wrongly redirects to http://example.com/users/posts/index , but it should be http://example.com/posts/index .

Why is the plugin ‘users’ always added before the respective controller?

If i delete the CakeDC-Users plugin from app/Plugin and delete that line CakePlugin::loadAll(); from bootstrap.php then i get normal link/route

routes.php:

Router::connect('/', array('controller' => 'posts', 'action' => 'index'));

How can i fix that problem addin CakeDC-Users plugin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:15:33+00:00Added an answer on May 31, 2026 at 8:15 pm

    That is the way how plugins are accessed. You can define your custom route this way

    Router::connect('/posts', array('controller' => 'posts', 'plugin' => 'users'));
    

    This will be done in app/Config/routes.php

    if it is for link issues you will have to explicitly specify

    echo $this->Html->link('link', array(
                                     'controller' => '', 
                                     'action' => '', 
                                     'plugin' => false)
                          );
    

    But i would prefer custom routing.

    For more info, you can always sneak into the CookBook

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I'm trying to use the CakePHP comments plugin found here http://cakedc.com/downloads/view/cakephp_comments_plugin but the
I have used CakeDC users plugin. I need to upload/add a profile picture for
I added the filtering plugin to my Dojox Enhanced Grid. Now I would like
ADDED: This question is now, I believe, subsumed by this one: Using GNU Screen
I added some simple WatiN tests to our app today to check that a
Added the for the facebook badge to the site and now it's thrown my
I added a version number to my app on the first upload. It is
Added RavenDB add-on to AppHarbor app. It seems that creating databases is disabled in
// Added dollar sign to question $(.purchase_btn).live(click,function(){ //renew cart $.ajax({ url: <?=base_url()?>frontend/ncart/smallcart/, type: post,
I added a new Target in my app and selected Bundle . I named

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.