Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 12:46 pm EDT

Geeklog Forums

Toggle Blocks


Status: offline

DeeEmm

Forum User
Newbie
Registered: 09/26/06
Posts: 13
On the french geeklog site - http://www.geeklog.fr/cms/index.php there is an excellent little hack / plugin that allows you to hide the left block, I would like to use this on the site that I am updating, only problem is - I cannot find it anywhere

(yeah I know it's probably a custom piece of code).

Anyhows...

A search here found a hack called toggle block - http://www.geeklog.net/forum/viewtopic.php?showtopic=58195 but the download link is dead.

Does anyone have a copy? or know of something similar?

Any help greatly appreciated.

Thanks in advance.

DM.
http://www.deeemm.com - Home of DM CMS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I think that feature comes from Blaine's general direction. Can't remember if it was part of one of his plugins or some stand-alone add-on.

bye, Dirk
 Quote

Status: offline

DeeEmm

Forum User
Newbie
Registered: 09/26/06
Posts: 13
Cheers for the reply Dirk.

Does Blane still frequent these forums or should I ask this question elsewhere?

DM.
http://www.deeemm.com - Home of DM CMS
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
I put the old toggle blocks up for you, its outdated and could use some updating.

-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

DeeEmm

Forum User
Newbie
Registered: 09/26/06
Posts: 13
Smile

Cheers. I'll keep you posted on how I get on Wink

DM
http://www.deeemm.com - Home of DM CMS
 Quote

Status: offline

DeeEmm

Forum User
Newbie
Registered: 09/26/06
Posts: 13
Update...

I manually installed the plugin following the included instructions - I renamed the included theme beforehand (just in case). with the exception of one or two blocks it all works. There are a few small issues with the layout (looks like css issues - probably nothing too drastic to fix).

off to a good start Smile
http://www.deeemm.com - Home of DM CMS
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
with the exception of one or two blocks it all works.


The unique elementId's are generated by the {block_title} - so if the block title has an apostrophe or other special character it breaks the script.( a simple character replace script could fix this issue)
So "Who's online" should be "Who is online" ...

It contained a complete professional theme for gl 1.3.xx so if you follow the theme upgrade docs, all should be fine.

-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

DeeEmm

Forum User
Newbie
Registered: 09/26/06
Posts: 13
Quote by: suprsidr


The unique elementId's are generated by the {block_title} - so if the block title has an apostrophe or other special character it breaks the script.( a simple character replace script could fix this issue)
So "Who's online" should be "Who is online" ...
-s



Yup - this fixed the problem. Smile

------------------------------------------------------------------------------------------------

Another Update.... Wink

I've managed to mod the 1.4 professional theme to do what I need (which is only to show / hide the complete right or left column this just required modifications to header.thtml + footer.thtml + leftblocks.thtml + rightblocks.thtml - I have these files if anyone wants them - simply use them in your 1.4 professional theme in place of the complete 1.3 theme supplied with the mod. (I would post them here but there's no way to do so).

Whilst the 1.3 theme included appears to generally work, ideally the mods for showing / hiding each individual block need to be carried over to the current professional theme as there are some css issues + a brief look through the theme files shows some extensive changes between 1.3 - 1.4 themes

DM
http://www.deeemm.com - Home of DM CMS
 Quote

All times are EDT. The time is now 12:46 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content