Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 12:36 pm EST
Geeklog Forums
noob to this whole thing, topic/page help!!
Dukey
Dirk
bye, Dirk
Dukey
The link itself is obvious, I guess - just take it from the Topics block. Then have a look at the function CUSTOM_menuEntries in system/lib-custom.php. It contains smaple code that adds two new entries to the menu bar. You need to enable that function (it's commented out) and you need to add an entry called 'custom' to the list of menu items in the Configuration.
bye, Dirk
I un-commented it out (you just remove the {}'s correct?) but now the page won't render. I don't know if it's because of this or if it's just being dumb for awhile. ill check again later.
Dukey
DUKEY
function CUSTOM_menuEntries ()
{
global $_CONF, $_USER;
$myentries = array ();
// Sample link #1: Link to Gallery
$myentries[] = array ('url' => $_CONF['site_url'] . '/gallery/',
'label' => 'Gallery';
// Sample link #2: Link to the Personal Calendar - only visible for
// logged-in users
if (!empty ($_USER['uid']) && ($_USER['uid'] > 1)) {
$myentries[] = array ('url' => $_CONF['site_url']
. '/calendar/index.php?mode=personal',
'label' => 'My Calendar';
}
return $myentries;
}
I know i changed something and I obviously did something wrong, if anyone can help me either change it back or have it set so i can do the whole pages that show the stories under each the topic thing that would be awesome!
Dukey
Dukey
you need to add an entry called 'custom' to the list of menu items in the Configuration.
Dukey
Okay, I believe I have everything fixed, the only thing i"m not sure how to do is this part:
you need to add an entry called 'custom' to the list of menu items in the Configuration.
Did you mean Menu Elements? If so I have done that as of now, so now what do I do?
Dukey
Yes, I meant the Menu Elements, sorry. So add an entry "custom" there.
What other problem(s) do you have at this point?
bye, Dirk
I don't know how to make the page with all the stories from the topic show up, like I don't really know what to link to.
Dirk
To link to all stories from the "Summer of Code" topic here on geeklog.net, you would use http://www.geeklog.net/index.php?topic=GSoC
bye, Dirk
Dukey
As I said above: Take the link from the Topics block.
To link to all stories from the "Summer of Code" topic here on geeklog.net, you would use http://www.geeklog.net/index.php?topic=GSoC
bye, Dirk
Holy shit.. I think I love you... Thank you SO much dude! You're a god among men!
- 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