By demon326@drupal.org on
Hello everyone, after much trial and error we made a newsletter that works in all mail clients, but the simple news module is apparently not suitable for a full html newsletters. So I used google and I came across to this tutorial: http://drupal.org/node/268404 and now the page is saying this error:
"Parse error: syntax error, unexpected '[' in /usr/home//domains/ashladan.be/public_html/themes/ashladan/node-simplenews-edit.tpl.php on line 33"
line 33:
print drupal_render($form['field_nieuws_links']['0']['value']);
Comments
=-=
parse errors are usually typos. That said, just because the code is stopping at line 33 doesn't mean that is where the error is. Use paste bin, paste entire tpl.php code and link to it here.
you could also use drupalbin.com if wanted.
for HTML newsletters you might want to read the simplenews project page = http://drupal.org/project/simplenews
where it talks about HTML newsletters using the mimemail.module
i found the errors.. but
i found the errors.. but that tutorial is complet bullshit cause it's not working here
Update:
i'm getting this error now on rhe full view:
"
Parse error: syntax error, unexpected '[' in /usr/home/username/domains/ashladan.be/public_html/modules/contemplate/contemplate.module(765) : eval()'d code on line 35"
screenshot of the layout: in the edit screen:
http://img413.imageshack.us/img413/7858/fireshotcapture96voorbexv2.jpg
screenshot of how it should be:
http://img104.imageshack.us/img104/5772/normaallq6.jpg
*bump* i realy want to get
*bump*
i realy want to get it working!
I can't help much more here.
I can't help much more here. I don't use the contemplate.modue except to look at what options I have. I use it to build my .tpl.php files.
I asked in a previous comment for you to put your tpl.php on pastebin so that the code could be reviewed. You've not done so.