Collapsable Nav Mod

Mods etc.

Moderator: Integra Moderator

Collapsable Nav Mod

PostAuthor: Dioncecht » Tue Apr 18, 2006 8:12 am

My first contribution to the project! Hopefully this is a useful mod to more people than just me.

This adds an Open/Close button to the blocks on the portal page and the Nav blocks on the left side. You can choose enable/disable this function for every block on the page via the IM Portal Blocks Management in the ACP when creating or editing the blocks. Also, users preferred settings are stored as a cookie.

Currently, I cannot get the calender to work, but hopefully someone who is more proficient with IM/PHP can help me figure it out. I have a couple changes planned for another release (thanks adrian...) as soon as I get a little more free time to work with it.

[url=http]Download Nav Collapse[/url]
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Tue Apr 18, 2006 8:15 am

Dioncecht do you have a link to a demo? Mike
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: Dioncecht » Tue Apr 18, 2006 8:21 am

"Michaelo";p="2151" wrote:Dioncecht do you have a link to a demo? Mike


yup.. just follow the link in my sig....
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: ayasha » Tue Apr 18, 2006 8:23 am

nice Dioncecht, could not get the calender block to close though, but all the other ones worked fine.
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Apr 18, 2006 8:27 am

"cleo";p="2158" wrote:nice Dioncecht, could not get the calender block to close though, but all the other ones worked fine.


Thanks. Haven't quite been able to figure out how to get the calandar one to work yet. Not quite sure how that particular block works and with finals coming up in my classes, I haven't really had to look at it much
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Simon N » Tue Apr 18, 2006 11:23 am

I used the basics of your code to make my left blocks (sounds dodgy) collapse. Still workign on the right when time permits.

I personally did not like adding extra images since IM is very image intensive already. Thats the only reason really <img>
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Apr 18, 2006 12:08 pm

I see how you are! Butchering the code I butchered! MM HM! Thats it, I want the chocolate Easter Bunny I sent you back!!


j/k.. hehehe
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Simon N » Tue Apr 18, 2006 1:01 pm

It melted in the post anyway <img>
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue Apr 18, 2006 2:26 pm

To those not familiar with this the original thread on integramod.com ( http://integramod.com/home/viewtopic.php?t=10458 ) Helterskelter made more universal images http://www.fidesignteam.com/IntegraMOD_LT/portal.php

If in the future we can develop this an idea I had was to place it in the top right corner of the block, improving on the usage of space. The only major issue is if the titlebar is not shown.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Collapsable Nav Mod

PostAuthor: Dioncecht » Wed Apr 19, 2006 5:00 am

Yes, the titlebar seems a pretty logical place to put this. After classes I can work on this a bit more, but until then I really can't do much with it.
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Eon » Wed Apr 19, 2006 5:33 am

I actually, like Simons way. Nice and invisible. yet your users won't know about it unless you tell them.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: Simon N » Wed Apr 19, 2006 5:35 am

Yes I had thought of that....Could always update the titles of the blocks hence:

Navigation becomes + Navigation -

?????
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Wed Apr 19, 2006 5:41 am

Of course one of the real winners would be collapsible columns to make a whole side move and let the centre fill the remaining space <img> But thats another topic! lol

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Simon N » Wed Apr 19, 2006 5:45 am

Its going collapsable mad...what next a collapsable browser that hides away and makes you go into the real world.noooooooooo!!!
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Wed Apr 19, 2006 5:54 am

"Simon N";p="2272" wrote:Its going collapsable mad...what next a collapsable browser that hides away and makes you go into the real world.noooooooooo!!!
Great answer [flash=,:1wllwn42]http://integramod.com/home/images/icon/icon14.gif[/flash:1wllwn42]

But there isn't a real world out there any way is there?

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Simon N » Wed Apr 19, 2006 6:00 am

Nah there is not. Its all old school and analogue...everyone knows digital is the way ahead. I mean who sends information on waves these days?
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Wed Apr 19, 2006 1:25 pm

I must admit I like the collapsible mod installed [url=http]here![/url] click on the hide Quick Links Hide and it disappears but places an image on the left to unhide.

The problem with leaving the header is when you hide several you still waste space. One option might be to use a right click to unhide block form a selection of hidden blocksà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

Mike
Last edited by Michaelo on Wed Apr 19, 2006 1:47 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: Adrian Rea » Wed Apr 19, 2006 1:36 pm

Good point Mike. I was thinking along the lines of another portal that eludes me. Especially where users still have 600/800 res screens or less!

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: chucklehead » Mon May 01, 2006 6:22 am

~ Any chance of getting premodded files attached for a clean install?
Last edited by chucklehead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

chucklehead
Members
Members
 
Posts: 57
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 25, 2006 6:32 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Mon May 01, 2006 8:55 am

Sorry chucklehead, I got sidetracked with development and bug fixes. I did intend to add this feature later on in the form of a separate test release so we can examine it before including in beta... I think we will keep it separate, as it will require slight mod to the templates.

Everyone seems to like this approach so it would be a shame to drop it <img>
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland


Return to IntegraMOD Modifications

Who is online

Registered users: App360MonitorBot