Comments (10)
Hi, sorry just noticed the mail. Family medical emergency this week has the schedule all messed up.
I'm not sure it $result should be the generated template. I'm assuming that you have confirmed the template contents is valid. Did you dd the $result and see what it creates?
from stringbladecompiler.
Yes, I tried the exact line of code in a regular controller and it worked
fine.
The result had the template, but with the {{ $unsubscribe }} wasn't
interpolated.
It's nothing time-critical, take the time you need for the family
emergency. Family comes first. Thanks,
Brent
On Thu, Nov 10, 2016 at 6:57 PM, Terre Porter [email protected]
wrote:
Hi, sorry just noticed the mail. Family medical emergency this week has
the schedule all messed up.I'm not sure it $result should be the generated template. I'm assuming
that you have confirmed the template contents is valid. Did you dd the
$result and see what it creates?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADpAr4yysIpEXeeosNo3X30k_MtdZ13Sks5q869sgaJpZM4KuxVT
.
from stringbladecompiler.
@ibrentlam Sorry it has taken me so long to get a chance to back to this. Did you get it figured out ?
from stringbladecompiler.
from stringbladecompiler.
@ibrentlam The way they have the mailer set it checks for a string name of a view so it fails when trying to send a full stringview object or even an array.
However, I was able to get this to work.
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->view(
[
'html' => ['template' => ' {{ $token }} html version'],
'text' => ['template' => ' {{ $token }} plain version']
],
[
'token' => 'test 1 : '. time()
]
);
}
It should also work even if your not passing the template data as part of the view statement.
Give it a shot and let me know how it goes.
from stringbladecompiler.
@ibrentlam just checking to see if that worked for you ?
from stringbladecompiler.
from stringbladecompiler.
@TerrePorter I tried this and it works.
Offtop: Why are there still not released version 3.4?
from stringbladecompiler.
@dimsanchuk Glad it worked. I've released a version for 3.4. I was just behind in everything.
from stringbladecompiler.
Thanks.
from stringbladecompiler.
Related Issues (20)
- Is it possible use package in Lumen? HOT 1
- Extending string layout HOT 1
- Support Laravel 6 HOT 3
- Can't install in laravel 6.4 HOT 2
- Can I use this in a resource to parse custom directives? HOT 1
- Works in Laravel 7 HOT 9
- How do I run the tests? HOT 1
- Problem getting it to autload in Laravel 7 HOT 5
- Facade folder should be Facades PSR-0 HOT 1
- [5.0.1] Segmentation fault (core dumped) / Maximum function nesting level of '512' reached, aborting! HOT 4
- Laravel 6 version 4 fresh install results in: strpos() expects parameter 1 to be string, array given HOT 1
- Method Wpb\String_Blade_Compiler\StringView::execute does not exist. HOT 1
- [Version 4.0] Requires restrictive version of Laravel 6.x HOT 1
- Breaks other packages that contain custom blade directives HOT 3
- Laravel 8 support HOT 1
- Composer 2 support HOT 1
- Compiler not working in queues HOT 1
- Livewire support HOT 1
- Engine [stringblade] not found. HOT 1
- laravel 9 support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stringbladecompiler.