Yii Framework Forum: Joomla Template In Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Joomla Template In Yii using joomla template in yii Rate Topic: -----

#1 User is offline   rynd75 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 12-January 13

Posted 11 February 2013 - 06:53 AM

is it possible to use any kind of joomla template under yii framework structure?

while it possible?any kind of requirement to be needed in condition?


anyone have idea?
thx before,


my regards :)
0

#2 User is offline   fouss 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 385
  • Joined: 05-October 10
  • Location:Bamako Mali

Posted 11 February 2013 - 06:19 PM

using-a-theme
Posted Image
0

#3 User is offline   KonApaz 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,311
  • Joined: 21-February 11
  • Location:Greece

Posted 23 February 2013 - 04:40 PM

You have to modify the joomla template to make it combatible with yii

for example you have to replace the

<jdoc:include type="modules" name="any-position" /> or
<jdoc:include type="component" />



with $content variable and widgets

$this->beginWidget('path.to.WidgetClass');
...
$this->endWidget();


or

$this->widget('path.to.WidgetClass');


or

echo $content;

Yii is the best php framework in the world!
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users