i have downloaded jqueryui from the site and pasted javascript files in js
folder and css files in css folder next i have created a folder called
"article" in View and their i created index.php with the following code.
<?php
$javascript->link('jquery-ui-1.8.21.custom.min.js', false);
$javascript->link('jquery.ui.tabs.js', false);
?>
<link rel="stylesheet" href="<?php //echo $this->webroot . 'css/';
?>/jquery-ui-1.8.21.custom.css" type="text/css" media="screen" />
<script type="text/javascript">
$(function() {
$("#tabs").tabs();
});
</script>
<div id="tabs" class="ui-tabs-nav">
<ul>
<li><a href="#tabs-1">tabs-1</a></li>
<li><a href="#tabs-2">tabs-2</a></li>
<li><a href="#tabs-3">tabs-3</a></li>
</ul>
<div id="tabs-1">
<p>Tab 1. This is demo text. This is demo text.This is demo
text.This is demo text.This is demo text.This is demo text.This is demo
text.This is demo text.This is demo text.</p>
</div>
<div id="tabs-2">
<p>Tab 2. This is demo text.This is demo text.This is demo
text.This is demo text.This is demo text.This is demo text.This is demo
text.This is demo text.This is demo text.</p>
</div>
<div id="tabs-3">
<p>Tab 3.This is demo text.This is demo text.This is demo text.This
is demo text.This is demo text.This is demo text.This is demo text.This is
demo text.This is demo text.</p>
</div>
</div>
when i run this i am getting the following error:
Missing Helper
*Error: * *JavascriptHelper* could not be found.
*Error: * Create the class *JavascriptHelper* below in file:
app\View\Helper\JavascriptHelper.php
<?php
class JavascriptHelper extends AppHelper {
}
*Notice: * If you want to customize this error message, create
app\View\Errors\missing_helper.ctp
Stack Trace
- CORE\Cake\View\View.php line 850 <http://localhost/cake/articles#> →
HelperCollection->load(string,
array) <http://localhost/cake/articles#>
- CORE\Cake\View\View.php line 456 <http://localhost/cake/articles#> →
View->loadHelpers() <http://localhost/cake/articles#>
- CORE\Cake\Controller\Controller.php line
959<http://localhost/cake/articles#>→ View->render(null,
null) <http://localhost/cake/articles#>
- CORE\Cake\Routing\Dispatcher.php line
110<http://localhost/cake/articles#>→
Controller->render() <http://localhost/cake/articles#>
- CORE\Cake\Routing\Dispatcher.php line 85<http://localhost/cake/articles#>→
Dispatcher->_invoke(ArticlesController,
CakeRequest, CakeResponse) <http://localhost/cake/articles#>
- APP\webroot\index.php line 96 <http://localhost/cake/articles#> →
Dispatcher->dispatch(CakeRequest,
CakeResponse) <http://localhost/cake/articles#>
what i have to do. please tell me.
On Thursday, 21 June 2012 18:37:43 UTC+5:30, Raj Dudi wrote:
>
> @Shamsuddin : Posting a tutorial is not possible....please specify, what
> you have done and where you are getting problem
>
> On Thursday, 21 June 2012 06:53:39 UTC+2, shamsuddin mohammed wrote:
>>
>> hi all i am new to cakephp, i am getting an error while using jqueryui
>> tabs. could any one please tell me how to use jqueryui tabs in cakephp.
>>
>>
>>
>>
>> Thanks in advance.
>> --shamsuddin
>>
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php