Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:07 pm EST
Geeklog Forums
Creating custom blocks
I just recently installed Geeklog onto my server. I love it. My only question is, can someone help me figure out how to make a new PHP block for links? I do not quite understand the whole concept of making custom PHP blocks.
5
11
Quote
JoniMueller
Anonymous
I just started using it myself, and I don't know if it's because this time around, I know more about what I'm doing (that always helps!) or a lightbulb just came on in my head this time, but I've been able to create just about every feature that I want on my site using either blocks or static pages.
If you want links, all you need to do is create a block which serves as a category for those links. For example, if you have a bunch of administrative stuff, you create a block -- I called mine "Home" -- mine has a link to Contact Us (which points to a static page), About Us (which points to another static page), Legal Notices (which points to a static page). I have created another block that contains links to causes we support and also our Amazon Wish List link, a link to our Allposters.com store (a static page), and a click thru to PayPal.
You can view it all here (I'm working on it as we speak). If you have any questions, just hit the "Contact" button!
My New Geeklog Site
When you create your static pages, you can pretty much drop the code in from an existing HTML/PHP page if you already have it. My old pages were *.html pages. I don't know enough about PHP to really advise you there.
When you create the static page, you'll see that Geeklog assigns it a unique URL. Use that URL in your block when referring to that static page. When you start creating your static pages, it should all start making sense.
Hope this helps!
Joni
If you want links, all you need to do is create a block which serves as a category for those links. For example, if you have a bunch of administrative stuff, you create a block -- I called mine "Home" -- mine has a link to Contact Us (which points to a static page), About Us (which points to another static page), Legal Notices (which points to a static page). I have created another block that contains links to causes we support and also our Amazon Wish List link, a link to our Allposters.com store (a static page), and a click thru to PayPal.
You can view it all here (I'm working on it as we speak). If you have any questions, just hit the "Contact" button!
My New Geeklog Site
When you create your static pages, you can pretty much drop the code in from an existing HTML/PHP page if you already have it. My old pages were *.html pages. I don't know enough about PHP to really advise you there.
When you create the static page, you'll see that Geeklog assigns it a unique URL. Use that URL in your block when referring to that static page. When you start creating your static pages, it should all start making sense.
Hope this helps!
Joni
9
10
Quote
All times are EST. The time is now 08:07 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