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

  • Home
  • SEARCH
  • 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 8321607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:04:45+00:00 2026-06-08T23:04:45+00:00

I am having trouble creating a custom module for my Magento store. I have

  • 0

I am having trouble creating a custom module for my Magento store.

I have successfully added a route (/landing), and created/layout files that display template content within my base layout. I now need to move beyond that a bit.

I want to be able to load a parameter from a URL, grab an object based on that parameter, and display things based on the contents of my object.

Example: User browsers to domain.com/landing/cool/. This (hopefully) would call the landing controller. Controller would somehow be able to pull the ‘cool’ parameter, and pull a landing object associated with cool. Then, my template can get that object and display its elements.

I know there are a lot of bits there, but I have been cracking my head on this for a while and getting nowhere. Magento has to do this for all its categories, items, etc. Does anyone out there know how I can do it?

  • 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-06-08T23:04:47+00:00Added an answer on June 8, 2026 at 11:04 pm

    If you do domain.com/landing/[controller]/cool/[key]/[value], you can do $this->getRequest()->getParam(‘[key]’) to get the value of [value]. You can then set the template based on that, but I think that’s a different question. Let me know if you’re still confused.

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

Sidebar

Related Questions

I'm having some trouble creating some custom web services in Magento. I'm trying to
I'm having trouble with creating a custom step for magento onepage checkout. Link of
I'm currently creating a custom Drupal theme for my company and I'm having trouble
I am having trouble creating a layout for a dialog I want to display
I'm having trouble creating an instance of a class using Python's re module. Here's
I'm creating a view-based table view and I'm having some trouble creating a custom
I'm having some trouble setting up my custom header in my list. I'm creating
I'm having trouble creating a custom close button for my overlay. Here's what the
Having a bit of trouble here. I've created a custom ImageView by subclassing ImageView
Im having trouble creating a workspace and downloading the files from a Team Foundation

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.