Welcome Guest, Not a member yet? Register   Sign In
newbie question: using templates
#5

[eluser]aligator[/eluser]
Hello,
Thx for all replies. i took all the steps from the begining and found my mistake. In autoload.php file i added to the array of models something stupid: "includes/" thinking of the templates. i deleted this row and it worked.

Data was passed in both situations(one or another):
Code:
<?php $this->load->view('includes/quoteBox'); ?>
<?php $this->load->view('includes/quoteBox', array('quote' => $quote)); ?>

Thank you for the tips, will take them in account. Smile


Messages In This Thread
newbie question: using templates - by El Forum - 10-31-2010, 10:40 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:04 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:12 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:18 AM
newbie question: using templates - by El Forum - 10-31-2010, 11:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB