Jump to content
  • 0

Why Is It Recommended To Do Not Change "blesta.parser_Options" In Blesta.php ?


L3Y

Question

Hi,

 

I would like to change this parameter, in /config/blesta.php

 

Configure::set("Blesta.parser_options", array(
        'VARIABLE_START' => '{',
        'VARIABLE_END' => '}',
));

but just before those lines, it say :

 

// Sets parser options DO NOT MODIFY

 
Why the "do not modify"  exactly?   Is it a bad thing for any reason i can be missing to change this setting?  ...cause this change seems pretty much straight forward, if you also update the variables in the db.
 
I see it seems to be working fine on a test install if i change the old tags everywhere.  It don't seems to cause any problems.
 
Thank you for clarifying this for me :)
 
Cheers!

Carl
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You will have to update all email templates everywhere, including package welcome emails. Also, plugins that create email templates will still create them using the single braces for tags, so you'll always have to update any plugins you install.

 

Also, other things I haven't thought of.

 

You can make the change at your own risk. If you identify any other issues, let us know and we may create a guide on it.

Link to comment
Share on other sites

  • 0

Hi,

 

It would be easier to change if the variables were not changed.

 

I would much prefer to do a search and replace for {{ in the db :)  (that's the original values of the library Blesta is using i think... )

 

Thank you to confirm there won't be any issue doing this.

 

Cheers!

Carl

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...