By okkhalid on Wednesday, 11 April 2018
Posted in General Issues
Likes 0
Views 531
Votes 0
Ok I'm going crazy here. I have been helped by you guys to resolve this issue: https://stackideas.com/forums/email-template-help

So I updated easyblog to:Installed Version: 5.2.3


then I copy an paste the following codes to post.php


$fieldsOutput = '';

if ($this->getCustomFields()) {
$themes = EB::themes();

$themes->set('fields', $this->getCustomFields());
$themes->set('post', $this);

$fieldsOutput = $themes->output('site/blogs/entry/fields');
}


then under: $data = array(

I added:

'fieldsOutput' => $fieldsOutput

please see attached, screen, now I'm getting: 0 syntax error, unexpected ''fieldsOutput'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'


I attached the new file that I edited and the one done by mark. called mark post.php

not sure why I'm getting the error.

please help
It seems like the array part missing one of the comma when you added new variable inside the array.
·
Wednesday, 11 April 2018 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, go it, thank you so much
·
Wednesday, 11 April 2018 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 11 April 2018 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post