Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 4:53 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2  Next
Author Message
Posted: Fri Mar 03, 2006 1:15 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Is there a possibility to manage "Article Index page" position in main body content and "template" of the Article Index  ???


Last edited by eGulp on Fri Mar 03, 2006 8:46 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Fri Mar 03, 2006 8:45 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
I find a solution, but not able to do it.

How to insert a tab in content ( http://webfx.eae.net/dhtml/tabpane/tabpane.html )
as done here on http://www.joomlaitalia.com/component/o ... ,32/&nbsp; ???

Please, anyone done it and/or can help me giving instructions ?

Many Thanks 


Top
  E-mail  
 
Posted: Sun Mar 05, 2006 3:01 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Please, Can anyone help me to make a tab as I wrote ?

if I wrong to post in this forum  ??? I ask to moderator to move this one and/or tell me where I have to post

Many Thanks 


Top
  E-mail  
 
Posted: Sun Mar 05, 2006 3:17 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Mon Aug 29, 2005 10:17 am
Posts: 7140
Location: Netherlands/S'pore/Bali/North America
this below speaks for itself:
Quote:
Sono state aggiornate le seguenti librerie di sviluppo:
  • patTemplate (questa versione supporta ora i short tag modifiers)
  • Overlib
  • TinyMCE
  • Walter Zorn tooltips
  • JSCookMenu
  • DOMIT!
  • DOMIT! RSS


has this as HTML

Quote:
Sono state aggiornate le seguenti librerie di sviluppo:



  • patTemplate (questa versione supporta ora i short tag modifiers)


  • Overlib


  • TinyMCE


  • Walter Zorn tooltips


  • JSCookMenu


  • DOMIT!


  • DOMIT! RSS




Look at the JoomlaItalia site on the Frontpage I copied the HTML- code. I assume that is what you mean? So just emulate this in editor html-mode?

Hope this helps?

Leo

_________________
For Specialized & Individual Support:: http://gws-desk.com
Professional Joomla Web-Development:: http://gws-studio.com
Joomla Specialized Shared & Reseller Hosting at gws-host.com


Last edited by leolam on Sun Mar 05, 2006 3:20 pm, edited 1 time in total.

Top
   
 
Posted: Sun Mar 05, 2006 3:43 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Hi leolam,
we are again here  :)

I don't understood you, I think I haven't explained well what I want. My question is:

doctorlife wrote:
How to insert tabs (as "luna template", you find here http://webfx.eae.net/dhtml/tabpane/tabpane.html)
and put them into normal content body  ???

This tabs are used in CB for example
and I found here on http://www.joomlaitalia.com/component/o ... Itemid,32/
their using into a content body as I want


I tried, but don't runs, may be I'm missing something ...

hoping I'm been more understable, Many Thanks  :)


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 8:43 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Please please please,

Please, Can anyone help me  ???


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 10:51 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 10:32 am
Posts: 681
Location: South Africa
This gets tricky with any of the content editors, as none support php tags, and tabs are best done using the mosTabs() class.

That said, if you use the 'no wysiwyg editor' option, you do it like this:

Code:
<?php
$tabs = new mosTabs(0);
$tabs->startPane('somePane');
$tabs->startTab('Title','some_tab');
?>
Then you put the stuff to go into the tab here.
<?php
$tabs->endTab();
$tabs->startTab('Title2', 'another_tab');
?>
More stuff for the second tab.
<?php
$tabs->enTab();
$tabs->endPane();
?>


No idea if this will work in a content item as I haven't tried it.

But....TinyMCE has a tabs class, maybe I could do something with that....(and not need php).

_________________
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org


Top
   
 
Posted: Mon Mar 06, 2006 11:35 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
I tryed ... and I found that can run if I set as you suggest 'no wysiwyg editor' and put this code

Code:
<html>
<head>
<script type="text/javascript" src="http://www.............tabpane/js/tabpane.js"></script>
<link type="text/css" rel="StyleSheet" href="http://www.............../tabpane/css/luna/tab.css"/>
</head>
<body>
<div class="tab-pane" id="tab-pane-1">

<script type="text/javascript">
var tabPane1 = new WebFXTabPane( document.getElementByid( "tab-pane-1" ) );
</script>

   <div class="tab-page" id="tab-page-1">
      <h2 class="tab">General</h2>

      <script type="text/javascript">
      tabPane1.addTabPage( document.getElementByid( "tab-page-1" ) );
      </script>
           
      This is text of tab 1. This is text of tab 1.
      This is text of tab 1. This is text of tab 1.
           
   </div>

   <div class="tab-page" id="tab-page-2">
      <h2 class="tab">Privacy</h2>
           
      <script type="text/javascript">
      tabPane1.addTabPage( document.getElementByid( "tab-page-2" ) );
      </script>
     
      This is text of tab 2. This is text of tab 2.
      This is text of tab 2. This is text of tab 2.
           
   </div>
</div>
</body>
</html>


but after that if I want manage the body I cannot replace the MCE Editor and use it because tabs are erased ...

Please, Is there a solution for that ?
Can't this tab a JCE plugin ?


Last edited by eGulp on Mon Mar 06, 2006 11:37 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Mar 06, 2006 11:49 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 10:32 am
Posts: 681
Location: South Africa
Actually, you should be able to do this in JCE, provided that:

1) You use the HTML view to add the content as you have posted
2) You have the Script Elements Extension plugin published
3) You add div[*] to the extended elements section of the JCE Editor Mambot parameters.

_________________
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org


Top
   
 
Posted: Mon Mar 06, 2006 12:32 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
I have JCE 1.0.1 installed on Joomla 1.0.7

1) I tryed before to post, but:
after saved a lot of code lines are loose and the script don't run.
Also, Is it normal html editor show all code in one line ?
2) I have installe and published all plugins you released  :D
3) I don't understood  ???


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 12:41 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 10:32 am
Posts: 681
Location: South Africa
First, you need to download and install the JCE Script Elements Extension plugin

Then Go to Mambots->Site Mambots and click on JCE Editor Mambot to edit it's parameters.

In the Extended Elements section add
Code:
div[*]
as in the image below.

Use the HTML view to add your tab code.

The HTML view will have basic formatting in the next release. Use the Word Wrap feature to wrap the code into multiple lines.


You do not have the required permissions to view the files attached to this post.

_________________
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org


Top
   
 
Posted: Mon Mar 06, 2006 12:52 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Ok, I done all and tryed, but:

word wrap selection in html window isn't saved if I close and re-open html windoe, is it right ?
lines are showed "not organized" as I insert. Is it right ?

and, don't run, when I save all this code is loose:

Code:
<html>
<head>
<script type="text/javascript" src="http://www.doctorlife.org/templates/tabpane/js/tabpane.js"></script>
<link type="text/css" rel="StyleSheet" href="http://www.doctorlife.org/templates/tabpane/css/luna/tab.css"/>
</head>
<body>

......... all this content is INCLUDED till

</body>
</html>


Are we forgiven something  ???


Last edited by eGulp on Mon Mar 06, 2006 1:07 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Mar 06, 2006 12:57 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 10:32 am
Posts: 681
Location: South Africa
See image


You do not have the required permissions to view the files attached to this post.

_________________
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org


Top
   
 
Posted: Mon Mar 06, 2006 1:09 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Sorry huh?,

instead you were posting me, I was modifieng reply because I found and tryed ... sorry, please read my previous reply, it's changed

Many Thanks  :-[


Last edited by eGulp on Mon Mar 06, 2006 1:11 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Mar 06, 2006 1:14 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 10:32 am
Posts: 681
Location: South Africa
Oh...right.

Sorry, I didn't even notice that.

Only everything between the body tags will be included, so you will have to place the script link within that.

In other words this is what you should paste into the html view:

Code:
<script type="text/javascript" src="http://www.............tabpane/js/tabpane.js"></script>
<link type="text/css" rel="StyleSheet" href="http://www.............../tabpane/css/luna/tab.css"/>
<div class="tab-pane" id="tab-pane-1">
<script type="text/javascript">
var tabPane1 = new WebFXTabPane( document.getElementByid( "tab-pane-1" ) );
</script>

   <div class="tab-page" id="tab-page-1">
      <h2 class="tab">General</h2>

      <script type="text/javascript">
      tabPane1.addTabPage( document.getElementByid( "tab-page-1" ) );
      </script>
           
      This is text of tab 1. This is text of tab 1.
      This is text of tab 1. This is text of tab 1.
           
   </div>

   <div class="tab-page" id="tab-page-2">
      <h2 class="tab">Privacy</h2>
           
      <script type="text/javascript">
      tabPane1.addTabPage( document.getElementByid( "tab-page-2" ) );
      </script>
     
      This is text of tab 2. This is text of tab 2.
      This is text of tab 2. This is text of tab 2.
           
   </div>
</div>

_________________
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org


Top
   
 
Posted: Mon Mar 06, 2006 1:27 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
This initial part of code till isn't saved  :o

Code:
<script type="text/javascript" src="http://www.............tabpane/js/tabpane.js"></script>
<link type="text/css" rel="StyleSheet" href="http://www.............../tabpane/css/luna/tab.css"/>
<div class="tab-pane" id="tab-pane-1">
<script type="text/javascript">
var tabPane1 = new WebFXTabPane( document.getElementByid( "tab-pane-1" ) );
</script>


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 6:17 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
:'( :'( :'(

Not being able to solve this with html editors, and don't having suggestions I tried:

I set 'no wysiwyg editor'
I built my page in html with dreamweaver
I past code as I wrote before

But ... I used mosimage to add an image, it seem been loaded, but it isn't showed  :o

Anyone can help me  ???

:'( :'( :'(


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 6:39 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
Interested in this tab thingy too, why not ask www.joomlaitalia.com how they have done it.

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 6:50 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
I asked him in Italian Forum (Vamba moderator is the owner), but at the moment he is busy and has no time  :'(


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 10:32 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Working with 'no wysiwyg editor'

As I wrote before with code I yet pasted
image (mosimage) isn't showed, tables are right into "Main Body", and too slow download page

with this code I add now
image (mosimage) is showed, tables are bigger, over "Main Body", and download is good

Code:
<table width="100%" border="0" ><tr><td>
<link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="http://www...../tabpane/css/luna/tab.css" /><script type="text/javascript" src="http://www...../tabpane/js/tabpane.js"></script><div class="tab-page" id="help"><script type="text/javascript">
   var tabPane1 = new WebFXTabPane( document.getElementById( "help" ), 0 )
</script>
<div class="tab-page" id="menu-page"><h2 class="tab">Menu</h2><script type="text/javascript">
  tabPane1.addTabPage( document.getElementById( "menu-page" ) );</script>
<table width="100%" border="0" ><tr><td>

<div>
<p align="left"> </p>
{mosimage}
<p> TEXT etc.</p>
</div>

</tr></td></table>

</div><div class="tab-page" id="voci-page"><h2 class="tab">Voci menu</h2><script type="text/javascript">
  tabPane1.addTabPage( document.getElementById( "voci-page" ) );</script>
<table width="100%" border="0" ><tr><td>

<div>
<p> TEXT etc. </p>
{mosimage}
<p> TEXT etc. </p>
</div>

</tr></td></table>
</tr></td></table>


Please, what am I missing  ???  ???  ???


Top
  E-mail  
 
Posted: Tue Mar 07, 2006 1:02 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun Sep 18, 2005 8:28 pm
Posts: 1222
Location: Scotland
Actaully i thought i've seen it somewhere before, maybe it was Facile form. A component for creating web forms and i think it also allows you to create multiple page forms with tabs: http://www.facileforms.biz/

There were samples that came along with it after installing it and i think one of the example was using tabs to browse thru your page on the forms.

--- EDITED ---

Yep! i think i was right, here's an example: http://www.facileforms.biz/component/op ... Itemid,48/ from the facile forms site. The tabs don't look too good but you can add css to style it to the way you want.

I hope that finally resolves how it was achieved.  ;)

_________________
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com


Last edited by Anonymous on Tue Mar 07, 2006 1:06 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Mar 07, 2006 1:54 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun Sep 18, 2005 8:28 pm
Posts: 1222
Location: Scotland
doctorlife wrote:
Working with 'no wysiwyg editor'

As I wrote before with code I yet pasted
image (mosimage) isn't showed, tables are right into "Main Body", and too slow download page

with this code I add now
image (mosimage) is showed, tables are bigger, over "Main Body", and download is good

Please, what am I missing  ???  ???  ???


Not sure what you are asking about sorry. Is it working? If not maybe you have forgotten to add these lines in your head document of your the template:


















In the above example (taken from tabpane.html), all the files for the tab pane are kept in the template folder called sunburst. I have tried it out and it is working (using no editor to insert the rest of the other codes from tabpane.html into content item).



 

_________________
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com


Top
  E-mail  
 
Posted: Tue Mar 07, 2006 11:33 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Feb 01, 2006 1:20 pm
Posts: 90
YES!
It works for me! Great help al of you guys!
Just managed to emulate tabpane.html example...will try to "evolve" from it :)
Added immages successfully also.

thanks to everyone.
If I can be of any help (even if others know much more)...


Top
   
 
Posted: Tue Mar 07, 2006 11:50 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Feb 01, 2006 1:20 pm
Posts: 90
--SOLVED--
Just one comment..
when using the tab content, the right column modules are shifted to the bottom, as if the weren't room (div template).
I tried to narrow down the tab's width through its css but nothing happens.
Any idea about how to control such a thing?

-- if it can be of any help: it was the tabs row (invisible in the "luna" css) that was to large:
I narrowed:
dynamic-tab-pane-control .tab-page
and
.dynamic-tab-pane-control.tab-pane

in the header of the index file of my template


Last edited by luxxx on Tue Mar 07, 2006 11:57 am, edited 1 time in total.

Top
   
 
Posted: Tue Mar 07, 2006 8:59 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
I'm trying but not run, I'm loosing something  ???

and don't understand what are differents from these two code suggestions:

http://forum.joomla.org/index.php/topic,41310.0.html
http://forum.joomla.org/index.php/topic,42954.0.html

Can anyone help me to understand ...  ???


Top
  E-mail  
 
Posted: Tue Mar 07, 2006 9:46 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun Sep 18, 2005 8:28 pm
Posts: 1222
Location: Scotland
doctorlife wrote:
I'm trying but not run, I'm loosing something  ???

and don't understand what are differents from these two code suggestions:

http://forum.joomla.org/index.php/topic,41310.0.html
http://forum.joomla.org/index.php/topic,42954.0.html

Can anyone help me to understand ...  ???


I'm not sure either, all i know is that- instead of using the overlib.js as default, they are now using TabPane as the default to display there tabs differently. I think it would help Doctorlife to understand better if someone can kindly show Doctorlife a working example on your site (maybe PM each other).

Thanks,

Sunburst

_________________
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com


Top
  E-mail  
 
Posted: Tue Mar 07, 2006 10:01 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
Really I don't understood, may be can help anyone to explein me better if I repeat that what Im looking for is to insert the "tab luna template" ( http://webfx.eae.net/dhtml/tabpane/tabpane.html ) in content item, as done here on http://www.joomlaitalia.com/component/o ... Itemid,32/

I don't know if there is only one way or more ... and I don't know what are technical differents ... only thing I know is that I'm not yet a programmer, so what I need to understand is like a guide step by step ...

I'm not pretending, just hope to explaining better giving someone possibility to reply/answer and really just: many thanks  :) if someone can help me/us (noted that is a too requested feature here around forum) 


Top
  E-mail  
 
Posted: Wed Mar 08, 2006 2:20 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 02, 2006 2:49 am
Posts: 33
Luna Style Solution

http://www.maxmzone.com/content/blogsection/11/123/

Thank for bringing up this tab idea, I forgot about it long ago and it's quite useful. (That was easy)


Last edited by mmzmaster on Wed Mar 08, 2006 2:22 am, edited 1 time in total.

Top
   
 
Posted: Wed Mar 08, 2006 3:04 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 8:53 am
Posts: 803
Location: Italy
@ sunburst and other friends
following your instructions (put all code into the head of index) the tab run, but:
Code:
<style type="text/css">

.dynamic-tab-pane-control .tab-page {
   height:      500px;
   width:      558px;
   overflow:   auto;
}.........................................etc.
</style>

If I understood this isn't needed, Isn't this work done from the CSS file we are calling  ???
What's its Job ???

The same, What's Job of : ???
Code:
<script type="text/javascript">
//<![CDATA[

var tabPane;

function showArticleTab( sName ) {
   if (typeof tabPane != "undefined" ) {
.........................................................etc.
// help tips
htDom = "Document Object Model 1 is a standard developed by the W3C.<br />" +
      "<a href=\"http://www.w3.org/DOM/\" target=\"_blank\">http://www.w3.org/DOM/</a>";

//]]>
</script>

Is this needed  ???

I tried also removing these two parts of code from the index and tabs run following the CSS file, only thing doesn't work is the mosimage that are under load as it is out from the tab, take a look here:
http://www.doctorlife.org/index.php?opt ... 25&lang=it

Finally, it seem isn't so quickly on the upload, may be Am I loosing anything  ???

Many Thanks


Top
  E-mail  
 
Posted: Wed Mar 08, 2006 3:38 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun Sep 18, 2005 8:28 pm
Posts: 1222
Location: Scotland
Looks like you have got it working :) Well done.

I was only playing about with the contentpane.html file to test it out, so haven't really looked into it in depth.

However, if these parts of code you mentioned was not required and it is working for you, then i'll just comment them out or remove it from your template. As for the image, it seems like it is out of the document flow but i'm just guessing. Have you tried using the tag and actual URL to the image instead of {mosimage} to load the image?

_________________
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2  Next

Quick reply

 



Who is online

Users browsing this forum: tschade and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group