On Mon, 01 Mar 2010 07:43:25 +0800, Pádraic Brady wrote:
You might mean the throwExceptions option if you are trying to
selectively enable/disable the ErrorController. The displayExceptions
only controls whether an Exception stack is shown by the ErrorController
or not.
Sorry for the
Hi, i need to generate complex html in some viewHelpers.
Now i am using heredoc notation but i am looking for a best solution.
Some tips?
Here is an example of a viewHelper i am using:
?php
class Zend_View_Helper_EditorPagineTesti extends Zend_View_Helper_Abstract {
public function
Hi,
I've just my Zend Framework CMS application to a shared host, using a
subdomain. On my local webserver the application was running fine. But on
the shared host I get error messages on include_once() in the Zend_Loader:
Warning:
On Monday 01 Mar 2010 11:39:24 i...@antoniocaccese.it wrote:
Hi, i need to generate complex html in some viewHelpers.
Now i am using heredoc notation but i am looking for a best solution.
Some tips?
Here is an example of a viewHelper i am using:
?php
class
On Mon, 01 Mar 2010 07:40:31 +0800, Hector Virgen djvir...@gmail.com
wrote:
Take a look at the view script errors/error.phtml. Last time I looked, it
was testing if the APPLICATION_ENV constant matched development. If it
matched, it would display the exception info.
--
Hector
Thank you
Hi,
Try with thing like this in your ErrorController
$dir = Zend_Registry::get('dir');
$log = new Zend_Log(
new Zend_Log_Writer_Stream(
$dir-log.'applicationException.log'
)
);
$log-debug($errors-exception-getMessage() . \n .
I don't know why but I was sure the exceptions had to be managed in the front
controller itself... Indeed modifying the ErrorController to log the
exception is the way to go.
Thank for the help whisher!
--
View this message in context:
Hi,
i want to create an atom feed with some own tags in it.
So i read the doku on:
http://framework.zend.com/manual/en/zend.feed.modifying-feed.html
So i see example2 is good for me. I have an atom entry with own tags.
My problem is now: How could i create a complete feed with zend_feed?
I
any one ?
On Wed, Feb 24, 2010 at 3:38 PM, Nicolas Grevet ngre...@alteo.fr wrote:
Hello,
On the 19th of February, Ralph commited a modification of the Zend_Db_Table
behavior. Seems like they arbitrary decided that
Zend_Db_Table_Row::findManyToManyRowset() would not return the fields of the
When you create a project with Zend_Tool, it appears to add library/ to the
include path twice; once in application/configs/application.ini and again in
public/index.php.
==
application/configs/application.ini
==
includePaths[] = APPLICATION_PATH /../library
==
Looks like you're trying to mix Zend_Feed and Zend_Feed_Writer - they are
separate components as confusing as it looks ;).
Using Zend_Feed_Writer a new entry is created with:
$feed = new Zend_Feed_Writer_Feed;
// add feed info
$entry = $feed-createEntry();
// add entry info
That looks redundant to me. Can you verify that your include path actually
contains the same path twice?
--
Hector
On Mon, Mar 1, 2010 at 8:07 AM, Ryan Lange cl1mh422...@gmail.com wrote:
When you create a project with Zend_Tool, it appears to add library/ to the
include path twice; once in
Looks redundant from your description. I can guess at the cause, however.
Zend_App actually prepends instead of appending entries to the include_path, so
presumably adding the library path in application.ini ensures (depending on
order of any other includes) it's at the front of the
If you think you could need this same editor in more than one place, you
could write a view helper that returns the *CKEDITOR.replace* code.
Regards,
George
On Thu, Feb 25, 2010 at 5:36 PM, Kuzma 01gar...@gmail.com wrote:
Here is a good tutorial:
On Mon, Mar 1, 2010 at 11:46 AM, Hector Virgen djvir...@gmail.com wrote:
That looks redundant to me. Can you verify that your include path actually
contains the same path twice?
--
Hector
Yep. get_include_path() returns
If you include the CKEditor library on all of your pages, it will
automatically convert all textareas with a class name of ckeditor to
CKEditor instances. That's the fastest and easiest way to get CKEditor on
your page:
$textareaElement-setAttrib('class', 'ckeditor');
But if you need a bit more
Hi,
$feed = new Zend_Feed_Writer_Feed;
// add feed info
$entry = $feed-createEntry();
// add entry info
$feed-addEntry($entry);
$feedXml = $feed-render('atom');
Anything to do with Zend_Feed_Writer is under that namespace - everything
else is the older Zend_Feed.
Ok. Thanks for this
Most (all) of the issues I encounter on uploading perfectly fine working app
to Linux is the UpperLower case file names. Turn on exceptions and see which
file might be missing i.e. can't be found. Permissions could be the second
problem to check, but probably not on default/index controller.
--
With which component? Zend_Feed or Zend_Feed_Writer?
With the writer you can either a) add a custom extension (see Zend_Feed_Writer
extensions for examples) or b) get the Entry/Feed's DOMElement with
getElement() and add it programatically using PHP's DOM methods. The second
works fine for
Hi,
With which component? Zend_Feed or Zend_Feed_Writer?
I am searching for a solution. So i do not need Zend_Feed. Zend_Feed_Writer is
also ok ;)
With the writer you can either a) add a custom extension (see
Zend_Feed_Writer extensions for examples) or b) get the Entry/Feed's
DOMElement
In my tutorial it's also possible to have multiple editors on one page. Just
add the elements as much as you want. The TinyMCE init code is only added one.
Regards, Jurian
--
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com
On Monday 01 Mar 2010 18:11:31 George Secrieru wrote:
If you
Hello Mike,
As i stated already; no I did not test it.
But I'm sorry, I did not read your question good and did not realise
that 'rel=nofollow' is an attribute on an anchor and not on a link tag.
I think the solution for you would be to create a view helper
(I'm assuming here you need the
http://framework.zend.com/issues/browse/ZF-9300
On 2-3-2010 0:38, Maghiel Dijksman wrote:
Hello Mike,
As i stated already; no I did not test it.
But I'm sorry, I did not read your question good and did not realise
that 'rel=nofollow' is an attribute on an anchor and not on a link tag.
I
23 matches
Mail list logo