Hi Jesse,
Can you give an example of what you mean?
In general, the view templates should always follow the same name format when
they are connected to a specific Controller and Action. However you can use any
format for view templates you include/render explicitly from another view
template.
That's the suffix ;)
Zend_View takes a full file name when rendering so it doesn't care about what
the suffix is. If you do not directly use Zend_View from your Controllers then
the view template naming is likely controlled by
Zend_Controller_Action_Helper_ViewRenderer since it's enabled by def
Hi Silvan,
> -Original Message-
> From: silvan.zurbruegg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 18, 2007 8:34 PM
> To: [EMAIL PROTECTED]
> Subject: Zend_OpenId_Provider_Storage_Db
>
>
> Hi Dimitry
>
> First, thanks a lot for your work on Zend_OpenId!
> After some tests an
Hi,
Is there anything built into Zend_Pdf to validate whether or not a given
file is actually PDF file? Regardless of assumed mime type or file
extension.
Thanks,
--
Jack
Hi Paddy,
Like .html and .php. The idea is to make it as easy and natural as
possible for dreamweaver designers and the like to work at the
'view' / 'template' level.
Cheers,
Jess
On 19/09/2007, at 7:35 PM, Pádraic Brady wrote:
Hi Jesse,
Can you give an example of what you mean?
In gen
-- Waigani <[EMAIL PROTECTED]> wrote
(on Tuesday, 18 September 2007, 07:43 PM -0700):
> Is it possible to set two different view prefixes?
Not sure what you mean; can you provide an example?
--
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company | http:/
Hi Alexander,
Ok, should I add it to the issue tracker? In the meantime, would
something like this do the job (as a quick hack):
function validatePdf($fileName)
{
try {
Zend_Pdf::load($fileName);
} catch (Zend_Pdf_Exception $e) {
return false;
}
return true;
}
Hi Jack,
No. But it's good idea.
With best regards,
Alexander Veremyev.
> -Original Message-
> From: Jack Sleight [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 19, 2007 4:24 PM
> To: Zend Framework General
> Subject: [fw-general] Validate PDF?
>
> Hi,
> Is there anything bu
Hi all,
LOVE Zend_View Enhanced and have begun using it for a large project... only
problem I've noticed is when trying to render the result of a controller action
into a layout.
The idea is to have a Sidebar controller just for this purpose, and each action
being a separate sidebar "widget", a
-- Jesse Meek <[EMAIL PROTECTED]> wrote
(on Wednesday, 19 September 2007, 07:46 PM +1200):
> Like .html and .php. The idea is to make it as easy and natural as possible
> for
> dreamweaver designers and the like to work at the 'view' / 'template' level.
Then you're talking about suffixes, not pre
Hi Adam,
The way the current proposal version (which is alpha at best) works is that it
requires a change to the ViewRenderer class to allow for Request substitution.
Mainly this was because ViewRenderer was stuck on the original request data so
much that relying on it to update view script nam
Is there a timeline for when the ZF+ZVE+ZL components are going to show
up in the tree? Since, I'm currently a loyal and heavy user of the ZVE
infrastructure (one facebook app and two other sites). I was curious as
to when I was going to have to start thinking about managing the "bugs"
that w
Hi David,
I don't have a precise time line for when it will reach the incubator in
Subversion. I know Matthew is due to review the current status of the ZVE+ZL
pairing after various comments from myself, Ralph, and also Matthew's
review/overview of the original proposals from his own perspectiv
any idea if Zend_PDF can export one page of a PDF as a flat image (i.e.
PNG)?
thanks,
Si
Thanks Pádraic for the speedy and helpful response. Wow, helping 5-6 teams
weekly? How about adding a 7th or a live IRC Q&A ;) Thanks for your hard work
with ZVE, looking forward to incubator release.
I added getter/setter pairs to ViewRenderer, actually needed an extra set for
response. If any
Hi all,
This is a reminder that the code freeze for the 1.0.2 release is
currently scheduled for Friday, September 21 at 21:00 (9:00 pm) Pacific
time (PDT).
Developers should have reviewed and merge all changes that are intended
for delivery to the release-1.0 branch by this time. (Documentation
I'm trying to figure out a few things here, and I've come to a road block.
Here's what I'm trying to do: using a controller plugin, I check the
idendity of a user and then if it exists, inject the data into the
view class for access within the templates, but it's failing for me.
I found an old di
On 9/19/07, Joó Ádám <[EMAIL PROTECTED]> wrote:
> Why do you use dispatchLoopShutdown()? Views are already evaluated
> when you're trying to assign variables.
>
> Use the registry, I suggest.
I found the snippet within fw-general archives trying to look for a
way to access to view within the contr
Hello,
I am building a site that needs to handle a lot of traffic (thousand requests
per second), so I want to have a high performance system. I plan on using
mysql as the backend store and memcache as the caching layer. It looks like
Zend_Db and Zend_Cache will be perfect for this. There ar
> Using the register would require that I have setup a view class
> initially and then saved it.
In your plugin you put the identity into a registry variable, then you
just read it out in your view script. Easy, huh? :)
Ádám
-- Philip G <[EMAIL PROTECTED]> wrote
(on Wednesday, 19 September 2007, 12:41 PM -0500):
> I'm trying to figure out a few things here, and I've come to a road block.
>
> Here's what I'm trying to do: using a controller plugin, I check the
> idendity of a user and then if it exists, inject the data
I'm about to implement Amazon S3 usage in a current ZF application.
Since there is no existing Zend_Service for it I wonder if there is
any other code available suitable to use with ZF?
I did find a component proposal but (surprisingly IMHO) it seems like
nothing more happened with it.
Looking at
Arr, sorry I indeed meant SUFFIX. Okay good to know, I've already set it to
.php, just needed to know if I could do two or not. Thanks for all the quick
replies. This is a very live list, I'm recommending it to other developers.
Keep up the good work frameworkers!
Pádraic Brady-2 wrote:
>
> That
It would be nice if amazon would join the project and contribute
high-quality API's for their products. I've checked over the sample code,
and it wouldn't be the way I'd recommend implementing it.
Maybe one of the Zender marketing guys could try and get them involved?
Kevin
P.S. An API for Am
Hi Stefan,
Travis Swicegood, author of the Amazon S3 proposal, has informed me that
he is currently engaged in several projects and may not be able to come
back to the proposal for some time. Maybe you would be interested in
helping move this proposal forward in the meantime?
Best regards,
Darby
You're welcome,
I aim to serve my fans faithfully ;). At the expense of an inflated ego :)
Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
OpenID Europe Foundation Member-Subscriber
- Original Message
From: Adam Torrino <[EMAIL PROTECTED]>
To: Pádraic
On 9/19/07, Joó Ádám <[EMAIL PROTECTED]> wrote:
> > Using the register would require that I have setup a view class
> > initially and then saved it.
>
> In your plugin you put the identity into a registry variable, then you
> just read it out in your view script. Easy, huh? :)
>
>
And just how wou
I have talked to the Amazon team already but they don't see it as a
priority right now (although they are open to contributing once they
have some more resources available).
In any case, I'll forward them this email thread to see if it changes
their mind.
Andi
> -Original Message-
> From:
Hi Pieter,
There were some significant changes in these parts of code since 0.9.2 version.
Please try 1.0.1 (or 1.0.2 which is coming soon) or SVN versions.
With best regards,
Alexander Veremyev.
> -Original Message-
> From: Pieter v.d. Brink [mailto:[EMAIL PROTECTED]
> Sent: Wednes
You could collect Countries into a string and store them in a special field:
-
$countries = implode(' ', $countriesArray);
$doc->addField(Zend_Search_Lucene_Field::UnStored($countries), 'Country');
...
-
It can be specified in a query:
--
$hts
Yes, please do this. Or (if you don't have JIRA account yet) I can add
this.
Have done.
Yes, you can try to load it and check if an exception is thrown. The
side effect is actual PDF loading :) (that's possible you don't need it)
Yeah true. I guess there would be some overhead there, hmmm we
PS I just saw you already created JIRA issue :)
With best regards,
Alexander Veremyev.
_
From: Alexander Veremyev [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 20, 2007 2:45 AM
To: Jack Sleight
Cc: Zend Framework General
Subject: RE: [fw-general] Validate PDF?
Hi Jack,
Y
Hi Jack,
Yes, please do this. Or (if you don't have JIRA account yet) I can add this.
Yes, you can try to load it and check if an exception is thrown. The side
effect is actual PDF loading :) (that's possible you don't need it)
With best regards,
Alexander Veremyev.
_
From:
Hello,
I can see in the doc that Zend_Auth_Adapter_DbTable allows to authenticate
if a username and password have been given. But in my case I have an extra
field that allows to know whether the account is active or not.
Is it possible to extend in someway this class and give it an extra field t
Hi,
as I understood the common process of template rendering it works in
this manner:
The MVC component determines (somehow), based on the route, which view
script is supposed to be rendered. This view script will have such a
structure which renders a valid HTML document:
render('layouts/__heade
Got it working, but it leaves a little to be desired:
Objective:
Filter the output after all rendering has happened.
Initial thoughts:
First thought:
Look at views/filters/ .. hmm, focused on Input Filtering, not
Output filtering...
-- Output filtering is a very handy thing
You should implemant the interface Zend_Auth_Adapter_Interface with your own
class.
look at this:
$auth = Zend_Auth::getInstance();
$authAdapter = new Ifang_Auth_Adapter_DbTable($dbAdapter);
$auth->authenticate($authAdapter);
2007/9/20, debussy007 <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> I can see
Thanks!
Hopefully a PDF ZF Manual can also be available for download at the official
website
vanne wrote:
>
> and another update
>
> http://www.nabble.com/file/p11934581/zf-1.0.1.pdf zf-1.0.1.pdf
>
>
> Marcelo Araujo wrote:
>>
>> Hello,
>>
>> Is there a pdf manual for the zend framework
Same issue talked about here:
http://framework.zend.com/issues/browse/ZF-1680
-ralph
debussy007 wrote:
Hello,
I can see in the doc that Zend_Auth_Adapter_DbTable allows to authenticate
if a username and password have been given. But in my case I have an extra
field that allows to know whether
I'm attempting to implement a security system as a Controller plugin.
On each request the preDispatch function checks if a current user is
logged in and then checks their permissions against a list of pages
they have access to.
Is there a good method properly skip the dispatching of the act
In developing app which using the conventional modules design
Application/
configs/
modules/
default/
controllers/
views/
blog/
controllers/
views/
Each modules has directories for controllers and views. I want to have a
base view directory to store the view f
Hi all,
I have an index that's generated and queried by Apache's 'nobody'
user (which works well), but I'm having trouble updating it from a
cron job.
There is a JIRA issue on this subject (JIRA's currently down so no
link), but the workaround solution someone posted wasn't much help.
I
42 matches
Mail list logo