1411
trabis
Re: Modules NOT working with XOOPS 2.3
  • 2008/9/3 20:56

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


That class only exists in XOOPS 2.2.x AFAIK.

The problem must be the version check in blocks admin. It may think it is dealing with 2.2.x series.



1412
trabis
Re: Menu items expansion
  • 2008/9/3 15:29

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


raymia, I noticed that you have created 3 threads to discuss the same thing. How do you expect people to follow you?

If you are using imenu that this hack will not help you.



1413
trabis
Re: Yogurt - news from suico
  • 2008/9/3 15:23

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Good work, thanks!



1414
trabis
Re: Yogurt - news from suico
  • 2008/9/3 14:17

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


It would be fun to see a demo, do you have it?



1415
trabis
Re: Menu items expansion
  • 2008/9/3 14:15

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I don´t know if this will fit your needs but I made a hack today(after reading this post) for mainmenu.

It hides all submenus by default and will only show them if you click in the expand icon.

Please visit this link:
http://www.xuups.com/modules/publisher/article.php?storyid=6

And feel free to submit your hacks!



1416
trabis
Re: Renaming /modules/ can I make this change?
  • 2008/9/3 8:52

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I think you will do fine with a search and replace program.
I never did it but have read somewhere from some one who have.

First rename /modules/ then /modules' then /modules"

This should do it I guess.



1417
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/3 8:42

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


How did I missed that? Oh, well, that is the only one I did not tested. It is fixed now. See if you can find other bug please.

Thanks for your help!



1418
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/9/2 22:57

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


<b><u>=> Version 2.1 RC2 (2008-09-02)</u></b>
- Fixed: Some css were fixed to look alike in IE and Mozilla.
- Fixed: Javascript bug in IE when not using 'on mouse over'
- Fixed: XOOPS 2.2.x bug - Impossible to select menu class in blocks administration.
- Added: Possibilitie to use mytabs blocks inside a mytabs page (use this with caution).
- Improved: Blocks with same 'uniqueid' will not display to avoid conflict.

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

Limitations
========

Although you can use a mytabs block(let´s call it mytabsblock1) inside a mytabspage(let´s call it mytabspage1), using mytabspage1 inside mytabsblock1 is impossible as it results in an endless loop. Because of this, a check was added when rendering the blocks to prevent conflicting blocks to display.

This means that you are able to add conflicting blocks but they are ignored and will not show in your page.

However it can be useful to use a mytabsblock2 that contains a mytabspage2 that contains a mytabsblock3(clone) in the same layout page that contains a mytabsblock3(original).

In a normal situation only one of the mytabsblocks will display because the other will be blocked by mytabs 'fool proof system'.
To bypass this situation you have to edit the original mytabsblock3 and change the 'uniqueid' field.

Yeah, it sounds more like a 'fool system'. I´ll try to make it better.

See a demo inhttp://www.xuups.com (click in about this block)



1419
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.



1420
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...




TopTop
« 1 ... 139 140 141 (142) 143 144 145 ... 190 »



Login

Who's Online

197 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

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

Latest GitHub Commits