[fw-general] Routing issue

2013-02-13 Thread eokorie
Hi Everyone.. In one of my module, I have an IndexController with a few other actions in it. While being able to access the index action with no issue, for the subsequent actions, I am having to add index/ followed by the action name in order for the page to be displayed. Is there a way of

[fw-general] Getting feeds for website

2013-02-13 Thread sand...@orangemantra.com
Hi, I am fetching feeds for my website. The solution for php is given below. I dont know how to use zf2 library for this. Please tell me which library to use for this and also, the solution if possible. It is urgently needed please help. Below code is working fine in php, i want to use it

Re: [fw-general] Routing issue

2013-02-13 Thread Marco Pivetta
Some more information on your routing configuration may be needed... Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 13 February 2013 10:18, eokorie eokorie2...@gmail.com wrote: Hi Everyone.. In one of my module, I have an IndexController with a few other actions

Re: [fw-general] Getting feeds for website

2013-02-13 Thread Marco Pivetta
ZF2 is still PHP... You can keep doing that... Consider looking into `Zend\Feed\Reader` anyway ( http://framework.zend.com/manual/2.0/en/modules/zend.feed.importing.html ) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 13 February 2013 10:28, sand...@orangemantra.com

[fw-general] Re: Routing issue

2013-02-13 Thread eokorie
This is my routing as it currently stands: 'router' = array( 'routes' = array( // The following is a route to simplify getting started creating // new controllers and actions without needing to create a new // module. Simply drop new controllers in, and

[fw-general] Performance tuning

2013-02-13 Thread marquix
I have just tried a small script to make the website busy by a small for loop . The code is attached below. I use a browser to trigger the server to run the script. for example: http://www.abc.com/Index/Test After that, I cannot access other pages such as http://www.abc.com/Index , the correct

Re: [fw-general] Don't display layout if ajax request

2013-02-13 Thread Pierre Rambaud
Hi, Another solution is to return JsonModel in action. Example ?php use Zend\View\Model\JsonModel; public function indexAction() { $json_model = new JsonModel(); $json_model-setVariables(array('ajax' = TRUE); $json_model-setTerminal(TRUE); return $json_model; }

[fw-general] Re: Don't display layout if ajax request

2013-02-13 Thread Katalin
Hi. I have plenty of modules and actions. You solution doesn't fit. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Don-t-display-layout-if-ajax-request-tp4659147p4659149.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List:

Re: [fw-general] Re: Don't display layout if ajax request

2013-02-13 Thread Pierre Rambaud
Ok, then try this. --- ?php namespace Application; use Zend\Mvc\ModuleRouteListener; use Zend\Mvc\MvcEvent; use Zend\EventManager\EventInterface; class Module { //.. public function

[fw-general] Re: Don't display layout if ajax request

2013-02-13 Thread Katalin
Hi I changed the code to: --- namespace Application; use Zend\Mvc\ModuleRouteListener; use Zend\Mvc\MvcEvent; use Zend\EventManager\EventInterface; class Module { //.. public function

[fw-general] ZF2_PATH and ZEND_SERVER_MODULES_PATH

2013-02-13 Thread johndohoney
Got a brand new copy of ZS 10, cool, you guys should check it out. However, running through the tutorial to create a mobile application, and I get this error 500 Internal Server Error Date: Wed, 13 Feb 2013 19:41:04 GMT Server: Apache/2.2.23 (Unix) PHP/5.3.21 mod_ssl/2.2.23 OpenSSL/0.9.8x

[fw-general] ZfcUser customizing fields

2013-02-13 Thread lictorlyons
I am trying to wrap my head around the zfcomons/zfcUser module specifically with regard to custom fields. I have read numerous blogs/posts but I have not been able to get custom fields working. What I am trying to do is to extend zfcUser, if that is even the best route I am not sure, so that I

[fw-general] Re: Don't display layout if ajax request

2013-02-13 Thread Katalin
Here it is: Thank you Module.php --- ?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright