Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:39 am EST
Geeklog Forums
small changes and menu plugins
Status: offline
roc97007
Forum User
Junior
Registered: 12/25/05
Posts: 32
I'm currently working on a site that requires a gallery. What's required is a link on the left side that takes the user to the gallery. "Gallery 2" shows up in the user menu, but you have to be logged in to see the user menu, and this doesn't meet the requirements.
Adding a gallery link to the horizontal menu on the top of the page is easy enough, but the users really want it on the left up by "topics".
In previous versions of geeklog, I did this with the menu plugin from pigsyte.net. It doesn't want to install on geeklog 1.4.1. Before I start digging into the code, I wanted to see if there was something new out there that would do the same thing.
I came across GLmenu, but (a) GLmenu is way Way WAY overkill for what I'm trying to do, and (b) this is supposed to be a nonprofit site, and the cost of GLmenu is greater than all total expenditures so far.
Are there any other solutions? It's such a simple thing, just one more link on the left, that I'm tempted to hack the code to add it. Or backrev gallery so I can use the pigsyte menu plugin as currently written.
I'll read the answers here before committing to a strategy. If I end up porting the old menu plugin to 1.4.1, I'll post a link to the code in the forum, so people who don't need all the features of GLmenu will have a simpler alternative.
Ron
Adding a gallery link to the horizontal menu on the top of the page is easy enough, but the users really want it on the left up by "topics".
In previous versions of geeklog, I did this with the menu plugin from pigsyte.net. It doesn't want to install on geeklog 1.4.1. Before I start digging into the code, I wanted to see if there was something new out there that would do the same thing.
I came across GLmenu, but (a) GLmenu is way Way WAY overkill for what I'm trying to do, and (b) this is supposed to be a nonprofit site, and the cost of GLmenu is greater than all total expenditures so far.
Are there any other solutions? It's such a simple thing, just one more link on the left, that I'm tempted to hack the code to add it. Or backrev gallery so I can use the pigsyte menu plugin as currently written.
I'll read the answers here before committing to a strategy. If I end up porting the old menu plugin to 1.4.1, I'll post a link to the code in the forum, so people who don't need all the features of GLmenu will have a simpler alternative.
Ron
4
7
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Go to blocks in your admin menu. Create a new block. In the block's content area, create the HTML for the link you want to add. Name the block appropriately. Save the block. Move it in the block order so it is near Topics.
6
4
Quote
ironmax
Anonymous
You may also want to look in the lib-custom.php file for custom menu items. In there you'll find a few examples on how to implement it.
Michael
Michael
5
5
Quote
Ron
Anonymous
Thanks for your responses. Both suggestions are good. I didn't think of creating a new block. Will look into that. I also like the idea of making the changes in lib-custom.php. Will research both.
Ron
Ron
4
4
Quote
Status: offline
roc97007
Forum User
Junior
Registered: 12/25/05
Posts: 32
Creating a new block to create a menu works fine, but it bothered me that the menu plugin on pigsty.net wasn't working, so I did some additional digging.
I was assuming that the problem was that the plugin wasn't working with this version of geeklog. Turns out it was the version of PHP that was at issue, and in fact, I had solved this problem once before in December 2005. The solution is in the very last entry in this thread:
http://gplugs.pigstye.net/forum/viewtopic.php?forum=6&showtopic=1007
But still, this was a good learning experience. I discovered things about blocks that I didn't know about.
Ron
I was assuming that the problem was that the plugin wasn't working with this version of geeklog. Turns out it was the version of PHP that was at issue, and in fact, I had solved this problem once before in December 2005. The solution is in the very last entry in this thread:
http://gplugs.pigstye.net/forum/viewtopic.php?forum=6&showtopic=1007
But still, this was a good learning experience. I discovered things about blocks that I didn't know about.
Ron
6
5
Quote
All times are EST. The time is now 03:39 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