Jest to dość dziwne połączenie. Pytałem na innych forach (joomla, smarty) ale nikt nie potrafi odpowiedzieć.
Jak połączyć model MVC z Joomla używając smarty? Udało mi się ogolnie odpalić Smarty w Joomla, ale wersja 1.5 używa MVC. Wiem że jest dużo przeciw ale mimo wszystko lubie uzywac smarty

Przykladowy controler z joomla:
<?php // no direct access jimport('joomla.application.component.controller'); /** * Greetings Component Controller */ class GreetingsController extends JController { /** * Method to display the view * * @access public */ function display() { $viewName= JRequest::getVar( 'view', 'list' ); //This sets the default view (second argument) $viewLayout= JRequest::getVar( 'layout', 'listlayout' ); //This sets the default layout/template for the view $view = & $this->getView($viewName); // Get/Create the model if ($model = & $this->getModel(‘greetings’)) { // Push the model into the view (as default) $view->setModel($model, true); } $view->setLayout($viewLayout); $view->display(); } } ?>
tutaj jest tutorial http://www.joomladevuser.com/tutorials/com...-i-the-frontend
Dzieki za wszelka pomoc!