Comments (7)
"add an article"?
And, are you inserting a title? ;-)
from pyrocms.
Apologies for any ambiguity,.....if I add a widget instance (e.g. RSS Feed or Twitter feed) and I DO complete the title field, the form validation comes back saying 'Title field is required'. If I comment out ln272 in application\modules\widgets\libraries\Widgets.php to not return form validation then form submits OK.
Also, feeds and tweets are not showing for me (tried BBC World Cup feed) but this could be a local configuration issue that my localhost can't retrieve feeds maybe?)
from pyrocms.
Looking in to this further (I am fairly new to CodeIgniter and very new to PyroCMS) it looks like you are unsetting some values (including title) from $options on ln86 of modules\widgets\controllers\ajax.php.
Not sure why you are unsetting these values but $options is then passed through to form validation and title has now been unset so looks like this is why failing form validation.
Not sure what appropriate solution is - maybe not to unset title from $options? Not sure why anything is being unset from it.
Rich
from pyrocms.
just installed PyroCMS, and was following the video tutorial, but I alos keep getting the 'title field is required" error. The title field is reset to blank, and all other field data remains intact.
from pyrocms.
As a work around solution you can comment out ln86 of modules\widgets\controllers\ajax.php. I am not sure if that is the desirable long term solution.
Even though I have done that, I am not getting any Twitter feeds showing through for me but have raised that as a separate issue
from pyrocms.
I second that fix, it works for me. (commenting line 86)
also, if you have widgets... you cannot select text anymore if that line is not commented out. trying to copy the widget code and it starts dragging the widget around. leaving line 86 commented lets me copy that text now.
fyi - editing widgets now fails because of the commented out line. it gives the same error just on editing the widget instead.
from pyrocms.
Fixed in v0.9.9.5.
Drag and drop is nothing to do with server side validation pgarman, stop being a crazy person :)
from pyrocms.
Related Issues (20)
- Uninstalling Addons Error
- [accelerant-theme] Page versions can't be selected
- Addon for SASS compilers/filters HOT 2
- Authorizer error after deleting a stream HOT 1
- Abandoned packages HOT 1
- [Files-Module]: Install/Uninstall Migration Errors HOT 2
- [search-module]: FULLTEXT not supported on sqlite HOT 1
- USA-style Date Format in Control Panel HOT 1
- Docs, Forums HOT 1
- BUG: php artisan install does not install properly HOT 2
- array_keys() expects parameter 1 to be array, null given in per HOT 2
- [users-module]: Install error on DROP INDEX HOT 2
- Filesystem Index (Stream) Required
- Class encrypter does not exist HOT 5
- Some news about PyroCMS? HOT 2
- Some css files are corrupting when calling file with "asset_add()".
- Trying to get in touch regarding a security issue HOT 1
- MS Sql database installation error HOT 1
- pyrocms 3 infinity loop HOT 1
- Slug changed from arabic to english
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 pyrocms.