AsgardCms / Platform

A modular multilingual CMS built with Laravel 5.
https://asgardcms.com/
MIT License
781 stars 241 forks source link

Variables not rendered in widget blade templates #666

Open karneaud opened 5 years ago

karneaud commented 5 years ago

Summary of issue

Using blade syntax {{ $foo }} in widget templates do not render. However <?php echo $foo; ?> would.

Steps to reproduce

  1. Create widget class
  2. Create widget blade
  3. add widget to dashboard.

System Details

ptonev commented 5 years ago

Hi, this is a very strange... How you are supply data to template?

karneaud commented 5 years ago

@ptonev similar to how the official blog modules does it

ptonev commented 5 years ago

Strange I haven't similar problem. All work fine.