This project is not covered by Drupal’s security advisory policy.

Magic Theme module let you can full custom drupal theme output. You can control each line of code, just like the pure HTML original template. Completely separate from the front-end and back-end.

if you want to test, please enabled the sub module "Hunter Test", and use special theme: https://www.drupal.org/project/amazeui

it will have three version:

work with PHPTemplate Engine version of Amaze UI (7.x-1.x)

work with Twig Engine version of Amaze UI(8.x-1.x)

work with Blade Engine version of Amaze UI(8.x-2.x)

Note: I'm not sure if there is a security risk, so ask yourself if it's used in the production environment.

Full Demo : https://www.drupal.org/project/hunter

魔法主题模块让你可以完全的自定义drupal主题定制输出,你可以控制页面的每一行代码,就像嵌套使用纯净的Html原始模板一样, 完全的前后端分离.

如果你想要测试一下,请启用子模块:Hunter Test, 并配合使用特别的主题:Amaze UI

此模块会出三个版本:

配合Amaze UI主题的phptemplate引擎版 (7.x-1.x)

配合Amaze UI主题的Twig模板引擎版 (8.x-1.x)

配合Amaze UI主题的Blade模板引擎版(8.x-2.x)

注意: 我不确定我的方法是否存在安全隐患,所以请自己判断是否用于生产环境。

猎人曰: 此模块是需要与Amaze UI主题配合使用, 它也许是一种非常特别的方法去制作主题,是你前所未见的,就像传统程序套html模板一样简单!我想这是很多中国程序员梦寐以求的,使用drupal强大的后台,以及强大的第三方模块资源来快速方便的做各种功能扩展,同时还能再也不用纠结于drupal的主题机制(html, page, node , region, block, field)这样的分层,可以像我们传统记忆里的那些国产cms、框架一样轻松做模板。

是的,你很幸运,你等到了这一天,由我Drupal猎人亲手为您打造的24k纯帅钛合金版主题开发工具,上吧,骚年,维护宇宙和平的任务就交给你了!相信自己,你就是天命之子!

附:此模块,不会就这样结束,这只是猎人方案的重要的一根线,随后,这根线将串连起本人的所有优秀模块集合, 出一个发行版: HunterCMS

方案创始人:煮不在乎(sosyuki)
https://github.com/sosyuki/drupal7-demo

Made by DrupalHunter: www.drupalhunter.com

史上最强中国风、国际范建站工具( HunterPHP ) : www.hunterphp.com

猎人出品,必属精品!

Project information

Releases