Comments (15)
Hi, sry for late reply.
I can confirm, with the last update everything works like a charme
Thank you again.
from laravel-widgetize.
Are all the other widgets ok in your project except this one ?!
Or you have this kind of error for any widget you create ?
I can not reproduce it.
from laravel-widgetize.
Hi, thank you for your reply.
It happens for all the widgets, but luckly I've just solved the issue moving the generated views in the view folder and explicitly binding them using $template, eg. public $template = 'widgets.AlunniChartWidgetView';
(I had also use $contextAs to get rid of the laravel section start error)
from laravel-widgetize.
It is kinda strange.
Please note the exact version of widgetize package and OS you are using.
composer show
will help you see the installed versions
from laravel-widgetize.
widgetize: v1.9.2
windows: 10 home 64bit v1803
from laravel-widgetize.
what if you completely remove public $template = 'widgets.AlunniChartWidgetView';
from your widget ?
and not setting it public $template = '';
if you have had done it.
from laravel-widgetize.
Well I followed the instructions (without setting the $template, $contextAs) and
I have the laravel error: can't find the view
The same error rises with $template not set and $template=''
from laravel-widgetize.
and you are using laravel 5.8 right ?
i have to investigate the possible root cause of that.
from laravel-widgetize.
yes, laravel 5.8.16.
I think "an easy fix" could be:
once u run the make:widget , in your generated files u should create a folder in views (eg a widget folder) in which you save the view as u do, and in the widgetname.php u write the $template= "widgets/widgetview"
let me know as soon as u find a solution and thanx again for this useful package
from laravel-widgetize.
but I ran the exact same command on my windows 10 machine and laravel 5.8.
and everything was ok.
I do not know how it is not working for you !
from laravel-widgetize.
I really don't know, i'm sry i can't help., but at least there is a fix.
from laravel-widgetize.
@spawn81 Ahaaa I now get it
You may have renamed the app
folder to webSPV
.
So you do not have any app
folder. right ?
from laravel-widgetize.
from laravel-widgetize.
Could you please try the latest v1.9.5 ?
and report me if you have any issues.
from laravel-widgetize.
if you have done something like this in your composer file :
"psr-4": {
"webSPV\\": "app/"
},
you are right, and this was a bug.
which is fixed.
thanks for reporting .
from laravel-widgetize.
Related Issues (18)
- widget image
- 1.4.5 causes error HOT 3
- cannot generate widget using artisan HOT 3
- Cannot end a section without first starting one HOT 4
- Internet explorer directives Issue HOT 2
- I need something like WidgetWhen(Condition,WidgetView) HOT 4
- Environment variables return null HOT 2
- how can i set key for extraCacheKeyDependency from params HOT 3
- (Possibly) Not working in Laravel 5.8 HOT 4
- Not working in Laravel 6.0 HOT 2
- Laravel 6.1 compatibility issue HOT 5
- Seems to break Debugbar after composer require HOT 5
- Technique of storing widgets configuration per instance? HOT 2
- Route Set To IP ,Not Domain HOT 8
- cacheView is true on laravel debugger when cache is false HOT 1
- component directive bug HOT 1
- Call to undefined function Imanghafoori\Widgets\Utils\starts_with() HOT 1
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 laravel-widgetize.