Using tipafriend with modules

Author Message

Nicolas Gommenginger

Tuesday 22 June 2010 4:54:32 am

Hi,

A big part of my website is made with php modules. The tipafriend function is not working for those pages because the link is "concat("/content/tipafriend/",$node.node_id)".

Is it a way to make it work with php modules ?

Thanks,

Nico

Damien Pobel

Tuesday 22 June 2010 5:06:35 am

Hi Nico,

AFAIK, tipafriend cannot work on custom module/view. I think you'll have to write your own tipafriend PHP view to work. You can look at http://ezpedia.org/en/ez/module

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Nicolas Gommenginger

Tuesday 22 June 2010 5:49:10 am

Thanks Damien.

I have another issue...

Tipafriend for a normal node is working fine. The email is sent and well received.

But "error" is returned in the variable "action". I saw in "tipafriend.php" that "error" is returned when "eZMailTransport::send( $mail )" return false... But the email is well sent so I don't understand...

Help please...

Thanks,

Nico

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.