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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:51:29+00:00 2026-06-09T11:51:29+00:00

I am using Zend to make a social network. I created a UserController for

  • 0

I am using Zend to make a social network. I created a UserController for authentication and a BlogController. When I enter siteurl/user/userid the information of the user is retrived. How can I make the blog controller inside user controller, so when I click the blog button of the user controller the website will direct me to the user’s blog?

  • 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-09T11:51:30+00:00Added an answer on June 9, 2026 at 11:51 am

    I’m not sure exactly what you mean. In your view, you can simply put a button with a link in plain html:

    <a href="siteurl/blog/showblog/userid/#"><button>View Blog</button></a>
    

    Of course, you could build your url with the view helper:
    First, pass the userid parameter to the view from your controller:

    $this->view->userid = $this->_getParam('userid');
    

    And then in your view script:

    <a href="<? echo $this->url(array(
    'controller'=>'blog',
    'action'=>'showblog',
    'userid'=>$this->userid));?>"><button>View Blog</button></a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Zend FW and wanted to make a feed reader. I did the
Using Zend Framework, I've created a Model to insert a record into a database.
I have managed to make my URL i18n compliant using Zend_Controller_Router . Ie: en/user/login
I am coding search engine using Zend Framework Lucene. I'm trying to make fuzzy
I using Zend Gdata library for search video Youtube API. If I make a
I am using Zend Framework. Want to make a portlet kind of view, which
I'm using Zend-Framework 1.9.5 to make a web-application, But it's Url_Helper was quite tricky
I am using zend framework to grab user's email inbox. I got token from
Using Zend form how would I make a control (element) an array? An example
I have make one site using Zend Framework. Its working fine in development server

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.