Welcome Guest, Not a member yet? Register   Sign In
Ocular Layout Library version 0.20 Released
#21

[eluser]daweb[/eluser]
Ops...

I think I solved it.

First I have to declare this:
Code:
$this->ocular->set_view_data('body_id', 'page_vendita');

in my method and not in the _remap function

Second, I think this is the right code to your Ocular.php library:

Code:
/* BODY ID */
    if (empty($this->_view_data['body_id'])) {
        $this->_view_data['body_id'] = ' id="' . $cont . '" ';
    } else {
         $this->_view_data['body_id'] = ' id="' . $this->_view_data['body_id'] . '"';
    }

Hope it helps.

Regards
#22

[eluser]bugboy[/eluser]
i don't get how you can use this with matchbox. I mean i have all my views in the view folder but actually for each matchbox module i would like the my content views in the module view folder instead.

I've turned on the module part in the in the config file.

i just don't get it i may be stupid.
#23

[eluser]Référencement Google[/eluser]
Is this library PHP4 or PHP5 ?
Is it compatible with CodeIgniter 1.6.2 ?
#24

[eluser]kilishan[/eluser]
[quote author="Too Pixel" date="1212809286"]Is this library PHP4 or PHP5 ?
Is it compatible with CodeIgniter 1.6.2 ?[/quote]

It is compatible with both PHP4 and PHP5 (though it's been a while since I've tested on 4). And runs just fine in CI 1.6.2 and 1.6.3.




Theme © iAndrew 2016 - Forum software by © MyBB