asgardcms / block Goto Github PK
View Code? Open in Web Editor NEWA blocks module
License: Other
A blocks module
License: Other
I am trying to use my block in the Page but it gets converted to html entity.
can you please let me know how can i do this?
How to access the block module, I just cloned that module inside existing module but unable to access the block module even tables are not getting created, please help me out. New to larval no idea how to proceed further.
Using version ^1.13 for asgardcms/block
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- asgardcms/core-module 1.0.x-dev requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.9.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.8.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.7.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.6.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.5.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.4.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.3.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.24.3 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.24.2 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.24.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.24.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.23.2 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.23.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.23.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.22.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.21.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.20.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.2.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.19.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.18.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.18.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.17.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.16.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.16.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.15.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.14.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.13.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.12.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.12.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.11.2 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.11.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.11.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.10.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.1.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.9 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.8 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.7 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.6 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.5 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.4 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.3 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.2 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.12 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.11 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.10 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.1 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/core-module 1.0.0 requires pingpong/modules dev-feature/5.1 -> no matching package found.
- asgardcms/block 1.13.0 requires asgardcms/core-module ~1.0 -> satisfiable by asgardcms/core-module[1.0.0, 1.0.1, 1.0.10, 1.0.11, 1.0.12, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.16.1, 1.17.0, 1.18.0, 1.18.1, 1.19.0, 1.2.0, 1.20.0, 1.21.0, 1.22.0, 1.23.0, 1.23.1, 1.23.2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.0.x-dev].
- Installation request for asgardcms/block ^1.13 -> satisfiable by asgardcms/block[1.13.0].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
I have "minimum-stability": "dev"
in composer.json
Hi, where am I supposed to add the {!! Block::get('block-name') !!} ? is it in the ckeditor? when I do it in the ckeditor it doesnt work, just comes out as {!! Block::get('block-name') !!}
Note: im trying it out on the demo site of asgard
How to embed in a twig tag block for example the recursive call of another block
In block {!! Block :: get ('slider') !!} put {!! Block :: get ('test') !!}
i add ckeeditor
config.protectedSource.push( /{!![\s\S]*?!!}/g ); // Freemarker
template return text value '{!! Block::get('test') !!}'
Thank you for good work
How can I use {!! Block::get('main-slider') !!} in the ckeditor it becomes that {!! Block::get( 9;main-slider&# 39;) !!} when I save the page
There doesn't seem to be a way to create a new block type - only the standard name
, body
, online
fields.
how to get data from database in block
Can you create tag for asgardcms version 2?
Hi
I am unable to create an issue for the menu module, so I ma doing it here,
Please help me out how to get the newly created field (description) in "menuitems_translation", when I did log what field I am getting the items list looks like this, even I created a getter for the new field but unable to get the value, please help me out in this.
Pingpong\Menus\MenuItem Object
(
[properties:protected] => Array
(
[title] => Travel Insurence
[order] => 0
[attributes] => Array
(
[target] => _self
)
[icon] =>
)
[childs:protected] => Array
(
[0] => Pingpong\Menus\MenuItem Object
(
[properties:protected] => Array
(
[url] => conatct
[title] => Health Insurence
[order] => 0
[attributes] => Array
(
[target] => _self
)
[icon] =>
)
[childs:protected] => Array
(
)
[fillable:protected] => Array
(
[0] => url
[1] => route
[2] => title
[3] => name
[4] => icon
[5] => parent
[6] => attributes
[7] => active
[8] => order
[9] => hideWhen
[10] => description
)
[hideWhen:protected] =>
[url] => conatct
[title] => Health Insurence
[order] => 0
[attributes] => Array
(
[target] => _self
)
[icon] =>
)
)
[fillable:protected] => Array
(
[0] => url
[1] => route
[2] => title
[3] => name
[4] => icon
[5] => parent
[6] => attributes
[7] => active
[8] => order
[9] => hideWhen
[10] => description
)
[hideWhen:protected] =>
[title] => Travel Insurence
[order] => 0
[attributes] => Array
(
[target] => _self
)
[icon] =>
)
why block modules not support for php < 7 ? always got this
Problem 1
- idavoll/core-module 3.0.x-dev requires php >=7.0.0 -> your PHP version (5.6.27) does not satisfy that requirement.
- idavoll/core-module 3.0.x-dev requires php >=7.0.0 -> your PHP version (5.6.27) does not satisfy that requirement.
- asgardcms/block 3.0.0 requires idavoll/core-module ~3.0 -> satisfiable by idavoll/core-module[3.0.x-dev].
- Installation request for asgardcms/block ^3.0 -> satisfiable by asgardcms/block[3.0.0].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.