Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:02:10 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: WYSIWYG-tab  (Read 458 times)
jokau

Offline Offline

Posts: 8


« on: January 29, 2011, 03:17:28 PM »

Hi
I cant get this modle to module to work
Below is my index file and the code in the presets file.
Any one who haves any idea whats wrong.


I have installed the module, called the [[jQueryInclude?preset=tectabs]] in a wysiwyg and <h2>Test1</h2>.....
the only things showing is the headers in a vertical raw.

Like this

Test1
Test2

Websitebaker version 2.8.1
jQueryAdmin v2.8
Wysiwyg:tab 1.7.7b


INDEX FILE
<?php
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php page_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
<meta name="description" content="<?php page_description(); ?>"/>
<meta name="keywords" content="<?php page_keywords(); ?>"/>
<meta name="language" content="swedish"/>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo WB_URL; ?>/favicon.ico" />
<link rel="shortcut icon" href="<?php echo WB_URL; ?>/favicon.ico" /> <link rel="icon" type="image/ico" href="<?php echo WB_URL; ?>/favicon.ico" />
<?php
if(function_exists('register_frontend_m odfiles')) {
  register_frontend_m odfiles('css');
  register_frontend_m odfiles('js');
} ?>
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" media="screen" rel="stylesheet" type="text/css"/>

END INDEXFILE

CODE IN PRESETS FILE
<script src="{WB_URL}/modules/jqueryadmin/jquery-ui/ui/jquery.ui.core.min.js" type="text/javascript"></script>
<script src="{WB_URL}/modules/jqueryadmin/jquery-ui/ui/jquery.ui.widget.min.js" type="text/javascript"></script>
<script src="{WB_URL}/modules/jqueryadmin/jquery-ui/ui/jquery.ui.tabs.min.js" type="text/javascript"></script>
<script type="text/javascript">
   $(function() {
      $("#tabs").tabs();
   });
   </script>


<!-- custom -->// ----- insert your custom code here -----
<!-- end custom -->

END CODE IN PRESETS FILE
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #1 on: January 29, 2011, 03:26:48 PM »

have you choose a theme in the preset?
Logged

jokau

Offline Offline

Posts: 8


« Reply #2 on: January 29, 2011, 03:40:36 PM »

No, using defalt settings
Logged
jokau

Offline Offline

Posts: 8


« Reply #3 on: January 29, 2011, 03:45:16 PM »

Solved

The theme dident load correctly, Thank
Logged
ichmusshierweg

Offline Offline

Posts: 23


« Reply #4 on: January 31, 2011, 07:35:18 PM »

Hi Jackou, hi dbs,

I've got exactly the same problem but I can't solve it. It doesn't matter what template I choose, the following code is missing in the code:
Code:
<link rel="stylesheet" type="text/css" href="http://localhost/mediasoulutions/modules/jqueryadmin/jquery-ui/themes/base/jquery-ui.css" media="screen" />

This should be printed before the closing head-tag, right?
Code:
<script src="http://localhost/mediasoulutions/modules/jqueryadmin/jquery-ui/ui/jquery.ui.core.min.js" type="text/javascript"></script>
<script src="http://localhost/mediasoulutions/modules/jqueryadmin/jquery-ui/ui/jquery.ui.widget.min.js" type="text/javascript"></script>

<script src="http://localhost/mediasoulutions/modules/jqueryadmin/jquery-ui/ui/jquery.ui.tabs.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#tabs").tabs();
});
</script>
</head>

It's missing. Even when I'm hardcoding the path to the base/jquery-ui.css in my template it's still not working.

Any succestions?

I really appreciate your help.

Regards
Karsten

PS: Answer in german welcome as well  wink
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #5 on: January 31, 2011, 07:48:50 PM »

PS: Answer in german welcome as well  wink

But NOT in the English section! It will be deleted. You need to decide beforehand WHERE to post a question and accept the language it is posted in!

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!