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 6748003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:30:48+00:00 2026-05-26T12:30:48+00:00

I am a newbie to drupal, and have used cakephp and codeigniter frameworks earlier.

  • 0

I am a newbie to drupal, and have used cakephp and codeigniter frameworks earlier. Both of them are MVC based, I am not a 100% sure if Drupal 6 is MVC based, though is has separate layers of code. So in codeigniter a url such as /users/show/1 would be interpreted as it would be in class “users”, and the method would “show” and the id of the user would be “1”. Can we interpret a drupal URL in this way??

Also I know drupal uses a good bit of path alias, so would that affect in a big way?? So if we have a url that says domain/admin/xyz?u=1(example url), where in admin module can I find this??

  • 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-26T12:30:49+00:00Added an answer on May 26, 2026 at 12:30 pm

    The short answer is no, you can’t interpret a Drupal URL in the way you suggest. Drupal is not MVC and URLs do not conform to any such pattern. Any module can define any path it wants for it’s pages, and those paths can again be overridden using alises (as you suggest in your question).

    There’s very, very little OOP used in Drupal 6 and off the top of my head I can’t think of any core modules that declare any classes whatsoever (let alone declare them using MVC style conventions). This has changed a fair bit in Drupal 7, but it’s still does not use an MVC approach.

    I’m afraid you’ll be reduced to searching core modules’ hook_menu() implementations to see what page callback function is used for a particular path. And even then if you’ve got aliases turned on you probably won’t find it.

    As a little tip, the router path (‘true’ path) of a Drupal page can always be found in $_GET['q'].

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

Sidebar

Related Questions

I'm a Drupal newbie plus I don't have much experience updating code, styles, and
I'm a drupal newbie (mean it :) I have a Block, created with View
I'm a drupal newbie... I have created a block with View Module to list
I'm a newbie php guy. I have 1 string output from Drupal's date module
Newbie question. I’m writing an ASP.Net MVC app in VB.Net and have been using
I am a drupal newbie and have been looking for drupal themes for my
I am a newbie in drupal, webform and php. Actually I have installed the
I'm a Drupal newbie, but have successfully installed it at a CentOS 5.5 Linux,
I'm a drupal newbie. In Drupal 7, I have an install file and I'm
I'm newbie in drupal... I have a drupal website, and i want to extend

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.