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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:09:05+00:00 2026-06-05T12:09:05+00:00

Isit possible to have a zend view which returns nothing? I have the following,

  • 0

Isit possible to have a zend view which returns nothing?

I have the following, which is probably wrong:

     $oContextSwitch->addContext("print",array("suffix" => "something"));

I call the view like so something.com/stuff/view/format/print

I don’t actually know what suffix is doing, but I can have the context with out it. I have read the docs I just really don’t understand them!

Anyway this view is called from some highcharts javascript which is already embedded on a page, there is some svg data posted to the view as part of the link.

Now I want this view to do some stuff, mainly save and convert the svg data. BUT I want it to do this without reloading the page, can a view return nothing? and can the page which called the view still be available?

Thanks

  • 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-05T12:09:06+00:00Added an answer on June 5, 2026 at 12:09 pm
    $this->_helper->layout()->disableLayout();
    

    that will disable your layout and in your view file just leave it empty, zend will return nothing. However i think that’s only going to solve part of your delima. Your using Highcharts (great script btw) so your also using jquery. Your going to want to use jquery to load the new tab your wanting dynamically. that new tab is going to need content right? well are you sure that the ajax call you just made to the zend script that’s supposed to return nothing isn’t the ideal page to return what you want in that new tab?

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

Sidebar

Related Questions

Is it possible to have a variable which is an instance variable within a
I am using zend framework. I have a text field which is a compulsory
Is it possible to have different colored texts within the same text view? I've
Is it possible to have a regular expression which replaces I with you and
Is it possible to use Zend Queue without to have Zend Server installed on
Is it possible have two projects with the same name in flex builder? Here
Is it possible to have an association mapping a table to itself? e.g. Table:
Is it possible to have a relationship from a user table to a system
Is it possible to have multiple classes that inherit/extends same class in Google AppEngine
Is it possible to have php not to require the begin/end tags ( <?php

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.