Welcome to Geeklog Tuesday, January 25 2022 @ 03:35 am EST

Geeklog Forums

How to activate a new Block


Status: offline

Turker

Forum User
Newbie
Registered: 01/11/05
Posts: 4
Hi,

I am planning to migrate my web site from Mambo to GeekLog and using the theme professional. I added a new row in table gl_blocks in my geeklog test database, to define a new block. How can I get it activated (displayed at the front page) and preferebly get it listed in left column right after the first block,

Many Thanks,
Turker
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 26/05/03
Posts: 329
Hi, this can easily been done under the admin - blocks section. No need to mess with the database directly.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: offline

Turker

Forum User
Newbie
Registered: 01/11/05
Posts: 4
Yep, I realized that.. However, my question is how to get this new block listed. I defined it as gldefault and I expected it to be shown in the left column (left enabled), but it is not.

Should I write a php code for the new block or will GL handle it for me in someway.

If I get it listed I can add new topics too.

Turker
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 26/05/03
Posts: 329
what kind of block are you wanting to add?
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: offline

Turker

Forum User
Newbie
Registered: 01/11/05
Posts: 4
OK. We are a group of people and each one will contribute to their own selected topics.

So, kind of group of writers and each one has their own list of articles.

Block (say named Authors) will show the list of people (authors) which are then links to their own articles.

Thanks,
Turker
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 26/05/03
Posts: 329
Ok, all you should have to do is create the html for the block, plug it into the "Normal Block Options" section, feed the cat and call it a night. Don't mess with the database.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

mach

Anonymous
Quote by Turker: how to get this new block listed. ... ... I expected it to be shown in the left column (left enabled), but it is not.
Vadertech is right on the money, don't mess with the db when the UI already handles this.

Keep in mind that no matter what you do to the db, if you have not created any content then no block will be displayed whether that content is html stored in the db or a named php function drawing content from wherever.
 Quote

Status: offline

Turker

Forum User
Newbie
Registered: 01/11/05
Posts: 4
Thanks for the replies. Appreciated.
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?

I am planning to migrate my web site from Mambo to GeekLog


That's something we appreciate, one of the best decisions you can make.... Razz
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

jetshack

Forum User
Full Member
Registered: 29/06/04
Posts: 122
Location:Texas
I'm sure we're all biased here, but I have a hard time figuring out why GL doesn't have the user base like the Nukes and Mambo/Limbo/Joomla/whatever... I'm constantly installing and uninstalling all the other packages when they provide a new release... but I'm just never that impressed.

GL is such a great package I just don't understand why everyone else doesn't see it...
 Quote

All times are EST. The time is now 03:35 am.

  • 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