Some bugs

You need to be logged in to post messages in the forums. New users may register here.

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Wednesday 31 March 2010 4:07:47 am

Hi,

In content.ini delete AvailableCustomTags[] and IsInline[]

[CustomTagSettings]
#AvailableCustomTags[]
AvailableCustomTags[]=nvnewslettersubscribe
#IsInline[]
IsInline[nvnewslettersubscribe]=false


In subscribe.php add slash on returnURI.

if ( eZMail::validate( $email ) )
{
if ( is_array( $groupIDs ) )
{
$user = nvNewsletterReceiver::subscribe( $email, $groupIDs, $groupTypes );

if ( $user )
{
$returnURI .= "/($returnParameter)/success";
}
else
{
$returnURI .= "/($returnParameter)/failed";
}
}
else
{
$returnURI .= "/($returnParameter)/groupfailed";
}
}
else
{
$returnURI .= "/($returnParameter)/emailfailed";
}

Nicolas Frey (2ST)

Up

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Wednesday 31 March 2010 5:20:59 am

Fatal error when transport is smtp. Work with sendmail.

[MailSettings]
#Transport=SMTP
Transport=sendmail

Nicolas Frey (2ST)

Up

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Thursday 01 April 2010 3:52:07 am

In link.tpl. The link does not work if an internal link. It would add $#nvn_file_url if is internal link

{if and( $classification|eq( 'tracker' ), $#nvn_tracker_url )}
<a href="{$#nvn_tracker_url}{$href}" {if $id} id="{$id}"{/if}{if $title} title="{$title}"{/if}{if $target} target="{$target}"{/if}{if $classification} class="{$classification|wash}"{/if}{if and(is_set( $hreflang ), $hreflang)} hreflang="{$hreflang|wash}"{/if}>{$content}</a>
{else}
<a href={$href|ezurl}{if $id} id="{$id}"{/if}{if $title} title="{$title}"{/if}{if $target} target="{$target}"{/if}{if $classification} class="{$classification|wash}"{/if}{if and(is_set( $hreflang ), $hreflang)} hreflang="{$hreflang|wash}"{/if}>{$content}</a>
{/if}

Nicolas Frey (2ST)

Up

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Friday 02 April 2010 5:46:56 am

In \design\standard\templates\content\datatype\view\ezxmltags, I disabled header.tpl that comes into conflict and that breaks my display out of the newsletter.

Nicolas Frey (2ST)

Up

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Thursday 15 April 2010 5:42:04 am

Add if (! IsQuiet $) to $ cli-> output in the file "nvnewslettermailsender.php" to enable quiet mode.

Nicolas Frey (2ST)

Up

Nicolas Frey

Member since:
17 November 2008

Posts: 8

Wednesday 05 May 2010 1:38:06 am

In the file classes / nvnewslettermailer.php, if the configuration is SMTP and the server does not support SSL must comment out line 112:

/ / $ Options-> CONNECTIONTYPE = ezcMailSmtpTransport: CONNECTION_SSL;

Nicolas Frey (2ST)

Up

You need to be logged in to post messages in the forums. New users may register here.