PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, March 7, 2022

[FIXED] how to integrate hebo html template into yii framework

 March 07, 2022     web-applications, yii     No comments   

Issue

I am new to using yii framework. I do not have much time to learn it thoroughly. I have found one html5 web application template for yii named hebo. But i am not able to make it work by copying that template into yii folder.

Please anyone instruct me with the steps to integrate any external (not created using yiic) html templates into yii.


Solution

  • Create a new yii project

  • Copy the hebo folder into webroot/themes and in your configuration file you have to set the param theme to hebo

here is an example from one of my project:

return array(
   'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
    'name' => 'myProject',
    'theme' => 'version_3',//so in webroot/themes I have a folder named "version_3"
    'language' => 'fr',
  • Then you'll have to put your view in the theme folder ( WebRoot/themes/hebo/views)


Answered By - darkheir
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing