121
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/8/31 17:29

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


=> Version 2.1 RC (2008-08-31)
- Improved: 'css' folder removed and 'menus' folder added, new menus are now added as folders containing the style.css and the necessary images.
- Fixed: Css conflicts. Css files and templates were changed, some IDs turned into Classes and were renamed.
- Added: Five new menus added.

You can see a demo at http://www.xuups.com

(A bug was reported for sites using lots of usergroups were the admin wants to set them all. Changes must be done in database to accommodate the extra size of it. Also I want to get a new logo for mytabs because Mamba did not like the one I did, lol. Comming soon.

122
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/8/31 22:55

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


RC is now available, please read the readme file before updating. Thanks!

http://code.google.com/p/xuups/downloads/list

123
zorro87
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 9:39

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Hi trabis,

Nice new logo! (I hope Mamba will approve it!)

Thank you for the new CSS!

Slate CSS and time4bed CSS:
In this two CSS, it seems that blocks can’t be in the left side of the screen.
A left block or a middle block appears from the middle of the screen to the right.

with 3 blocks (left, center, right)
The 3 blocks appears in 3 columns but from the middle of the screen to the right…

***

In the examples in xuups
It looks like there is 5 Mytabs in 5 blocks of Mytabs
How did you make it?


@+
Z

124
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 9:46

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

zorro87 wrote:
In the examples in xuups
It looks like there is 5 Mytabs in 5 blocks of Mytabs
How did you make it?


I made a page with 5 tabs, each tab with a false reveal ID so they could display even if having no content.

Then I made 5 clones of mytabs block and set each one with a diferent class but the same page I have made.

Today I made a dummy module to accommodate the demos, so I moved the blocks to the dummy block (named demos).

About the those 2 css. I will look into it, thanks!

125
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 10:14

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

zorro87 wrote:
Slate CSS and time4bed CSS:
In this two CSS, it seems that blocks can’t be in the left side of the screen.
A left block or a middle block appears from the middle of the screen to the right.


I can´t reproduce this, what theme are you using?
Do you have any other block in that tab that is set to off?

Make sure you have the new files and you have cleaned your templates_c folder and browser cache.

Also it would be nice to see a picture.

126
zorro87
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 11:47

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


It works in default theme!

It happens in theme defaultsimple and zetagenesis (the one you use! ?)


I have not tried in others themes…

Here is a screen shot with zetagenesis theme: (Have a look at the tab text colors…)
Resized Image


@+
Z

127
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 12:40

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


.slate-content{margin-top:10px;display:none;}

needs some margin. Some menus are not looking good in Zetagenesis are they...

128
zorro87
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 13:28

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Quote:
…each tab with a false reveal ID so they could display even if having no content.
Good to know
Thank you!

I was thinking you had put a mytabs inside a mytabs block… but you didn’t

That gave me an idea…

Do you think it could be possible to add to the blocks list?
(in: Create a new block) Mytabs blocks list?

This way:

Mytabs --> My Tab Block
Mytabs --> Tab1
Mytabs --> Clone1
Mytabs --> Clone2
Mytabs --> Clone3
Mytabs --> Clone4
Mytabs --> Clone5

Can you imagine what we could do with that!!!

An other method could be to show a Mytabs block only when you mouseover a tab of an other Mytabs.
For that maybe we have to add a div in the second Mytabs, but were?
<div id="tab02" style="display:none;">{the second Mytabs is included here}div>

With the Reveal ID tab02 in the first tab.

Do you think I’m crazy?

@+
Z

129
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 15:00

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


HI zorro I have found a bug when using internet explorer and click instead of mouseover. That is fixed. Css are fixed to. They now look the same in zetagenesis.

Now, I do not think you are crazy.

You can edit mytabs class/pageblock.php
function getAllBlocks() {
        
$ret = array();
        if (
mytabs_getcms() != 'XOOPS22') {
            
$result $this->db->query("SELECT bid, b.name as name, b.title as title, m.name as modname  FROM ".$this->db->prefix("newblocks")." b, ".$this->db->prefix("modules")." m WHERE (b.mid=m.mid) ORDER BY modname, name"); //AND b.mid != ".$GLOBALS['xoopsModule']->getVar('mid')."
        
} else {
            
$result $this->db->query("SELECT b.bid as id, n.name as name, b.title as title, m.name as modname  FROM ".$this->db->prefix("block_instance")." b, ".$this->db->prefix("newblocks")." n, ".$this->db->prefix("modules")." m WHERE (m.mid=n.mid) AND (b.bid=n.bid) ORDER BY modname, name");   //AND m.mid != ".$GLOBALS['xoopsModule']->getVar('mid')."
        
}
        while (list(
$id$name$title$modname) = $this->db->fetchRow($result)) {
            
$ret[$id] = $modname.' --> '.$title.' ('.$name.')';
        }
        return 
$ret;


It works but it has a but.
I have to make a fool proof system to prevent a user to use a page that contains block1 inside block1.
As you can imagine this would create an infinite loop and would only stop when php reach the memory limit or execution time limit.

About the option to set hide the entire mytabs block I think it can be done.

130
zorro87
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/1 17:31

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Yes it works!

It seems that nothing is impossible to you!

Thank you trabis!!!!!


@+
Z

Login

Who's Online

429 user(s) are online (339 user(s) are browsing Support Forums)


Members: 0


Guests: 429


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits