Hi all,
I have a dynamic acl for my system and I'm working on a Lucene implementation.
Content is added to the Lucene index when you're adding or updating a page
inside the cms. But not every page is accessible for everyone. How do you
handle this?
I'd like to have displayed all the search resu
Hi, I just have a quick question, Why doesn't ZF have a standard mysql
adapter? apart from PDO, mysqli?
Would it be easy to modify an existing adapter to get this
functionality? I'm on a server that's not got mysqli, or PDO mysql
driver.
Thanks.
umpirsky wrote:
>
> Hi.
>
> I wonder, if you want to use url helper for all urls in your app, you can
> access it from view with $this->url(). from controller with
> $this->wiew->url()...
>
> But when you want for example to use it to set action of a form in form
> init() method, do you acces
On Wed, Oct 21, 2009 at 9:12 AM, Daniel Latter wrote:
> Hi, I just have a quick question, Why doesn't ZF have a standard mysql
> adapter? apart from PDO, mysqli?
>
> Would it be easy to modify an existing adapter to get this functionality?
> I'm on a server that's not got mysqli, or PDO mysql dri
Why I want to do this in the form is, I want to set url on one place. Form
will be rendered in many views, I don't want each of them set separate url,
want to do it in one place, in the form init.
Regards,
Saša Stamenković
On Wed, Oct 21, 2009 at 3:22 PM, Kyle Spraggs wrote:
>
>
>
> umpirsky w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Howdy,
I'm trying to find a good way to implement this, it's a new system so
any suggestion considered. I think this is a fairly common problem that
I've never really come across a good solution to (except crontab?)?
Hopefully some of the smarts aroun
On Wed, Oct 21, 2009 at 9:41 AM, Daniel Latter wrote:
> *Any chance of either changing your server environment or moving someplace
> more congenial?*
> I asked but no joy, rubbish I know - cant move either.
>
>
Sound like you need to dl() your extension then, or else write your own
adapter.
--
Hi,
I have a website running fine with php 5.2 (Sarge) and I'm trying to get
working copy on a pre production server which runs php 5.3 (CentOs).
After setting up the database and apache, uploading all the php scripts I
had to make a few changes in the application.ini as I was getting syntax
err
What is the best way to validate that a checkbox is filled? (A Terms
checkbox)
I have not been able to add a regular validation.
And if I simply look at the value and add the error myself
$form->termsBox->addError('Required');
The error disappears when validationg the whole form
$form->isVali
Normally a hidden value of the same name is used to make sure a value gets
submitted, but I am sure ZF adds this for you..
2009/10/21 Anders Gunnarsson
>
> What is the best way to validate that a checkbox is filled? (A Terms
> checkbox)
>
> I have not been able to add a regular validation.
>
Forms have access to a view object, which it pulls automatically from the
ViewRenderer action helper.
class MyForm extends Zend_Form
{
public function init()
{
$action = $this->getView()->url(/* ... */);
$this->setAction($action);
/* ... */
}
}
--
Hector
On We
If you use the form at multiple places, you could consider making it into a
view helper. The helper is easy to place inside your views and inside the
helper you could initialize the form and set its action url.
Regards, Jurian
--
Jurian Sluiman
Soflomo.com
Op Wednesday 21 October 2009 15:47:45 s
-- Vincent Louvet wrote
(on Wednesday, 21 October 2009, 07:38 AM -0700):
> I have a website running fine with php 5.2 (Sarge) and I'm trying to get
> working copy on a pre production server which runs php 5.3 (CentOs).
>
> After setting up the database and apache, uploading all the php scripts I
Hi,
I want to retrieve following information from a PDF file using Zend_pdf
module. I was wondering if it's possible at all. I didn't see any such
references in api documentation.
0. Total no of pages with individual page sizes
1. PDF print size and bounding box dimensions
2. Colorspace (RGB/CMY
Thanks for replying.
The action view helper isn't really what i'm after - that would assume the
address needs to be assigned to the view, so the view helper can make the
lookup. What i'm after is a seperate request to obtain the addresses
geocodes before it is inserted into the db, so all the i
Dear Matthew,
Well, I'm not sure about anything.
After search on Internet about the error messages it seems to be an issue
with PHP 5.3 as other people had the same kind of problem (it may have
something to do with the ending $).
In my case, the pre production server uses PHP 5.3.0, Apache/2.2.3
Hi,
I'm trying to use Zend_Auth with Zend_Amf_Server together. When
authentication is fails Zend_Amf_Server_Execetion is thrown but i have
no idea how to catch exception (i.e obtain code and message) on the
Flex side.
When I dumped response from the server _handle() method I got following:
Zend_
Well if it were me i would only be using that Geocode controller to
wrap the functionality of a model(s) that actually handle making the API
request and returning the output. So itd be something like this
// in Default_GeocodeController
public function addressAction(){
// do whtever y
There is an open issue that seems to address what you are experiencing.
http://framework.zend.com/issues/browse/ZF-5118
I have used Charles http://www.charlesproxy.com/ quite a bit to "see" the
errors output by PHP.
Also, I do believe the PHP error log will record the errors.
2009/10/22 Ondrej
Thanks guys, that was really helpful!
Regards,
Saša Stamenković
On Wed, Oct 21, 2009 at 5:59 PM, Jurian Sluiman
wrote:
> If you use the form at multiple places, you could consider making it into a
> view helper. The helper is easy to place inside your views and inside the
> helper you could ini
-- Vincent Louvet wrote
(on Wednesday, 21 October 2009, 03:44 PM -0700):
> Well, I'm not sure about anything.
> After search on Internet about the error messages it seems to be an issue
> with PHP 5.3 as other people had the same kind of problem (it may have
> something to do with the ending $).
>
21 matches
Mail list logo