Hey guys!
I do a one custom listing but i dont where i can add my code JS and my css, where i can add this?
I do a one custom listing but i dont where i can add my code JS and my css, where i can add this?
Hi Popkorn,
In CCv4 I did it like this (I imagine that v5 is the same). In the Custom Header box use code:
Bob
In CCv4 I did it like this (I imagine that v5 is the same). In the Custom Header box use code:
<?php
$doc = JFactory::getDocument();
$script = "
// add your JS here
";
$doc->addScriptDeclaration($script);
$style= "
// add your CSS here
";
$doc->addStyleDeclaration($style);
?>
Bob
Thanks for reply bob!
But one more question, i have 3 records with js.. i can add all this records in this code?
But one more question, i have 3 records with js.. i can add all this records in this code?
Hi bob,
Not a simple archive with JS i have 3 archives with code JS. I can put the 3 archives in the same line?
Sorry for my english!
Not a simple archive with JS i have 3 archives with code JS. I can put the 3 archives in the same line?
Sorry for my english!
Hi Popkorn,
If you need to load files then you can use this code
Bob
If you need to load files then you can use this code
<?php
$doc = JFactory::getDocument();
$doc->addScript(JUri::root().'some/file/url/file_name.js');
$doc->addStylesheet(JUri::root().'some/file/url/file_name.css');
?>repeat the $doc->add . . . for each file.
Bob
I dont know why dont work for me..I'll be doing something wrong
And the last question.. The custom list is this http://www.datatables.net/examples/api/multi_filter.html
This model work on ccv4?
And the last question.. The custom list is this http://www.datatables.net/examples/api/multi_filter.html
This model work on ccv4?
Hi PopKorn.
Sorry, I've never see datatables.net before and I have no idea if you can get it to work with ChronoForms.
Bob
Sorry, I've never see datatables.net before and I have no idea if you can get it to work with ChronoForms.
Bob
This topic is locked and no more replies can be posted.
