Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 09:55 am EDT

Geeklog Forums

Reorganize links


Status: offline

uyghurmen

Forum User
Chatty
Registered: 02/16/11
Posts: 56
I want some changes for top of the links like: Contribute Support Downloads Forum Links Polls Directory etc. Some currently not use, and I need to add some others. How to manage about those?
Thanks everyone.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Configuration > Geeklog > Theme > Theme > Menu Elements

Klick on the "+" button to see and edit the entries. For more information, also see How do I change the menu?

bye, Dirk
 Quote

Status: offline

uyghurmen

Forum User
Chatty
Registered: 02/16/11
Posts: 56
Quote by: Dirk

Configuration > Geeklog > Theme > Theme > Menu Elements

Klick on the "+" button to see and edit the entries. For more information, also see How do I change the menu?

bye, Dirk


Hi Dirk, Thanks, I find and done. www.eynek.biz/Sinaq
But there are other problems about the top menu links: In configuration not able to make new links, or links URL. I want make Link to my old online store, and there disappear forum link too.
But what's wrong with you? You or other people no want to answer about my Forum text align question. Main page I done, but Forum index page and article still left side. I have to do this right align.
Can you help Sir?
Thanks again
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: uyghurmen

But there are other problems about the top menu links: In configuration not able to make new links, or links URL. I want make Link to my old online store, and there disappear forum link too.


That's what the "Custom Entries" link is for. You need to write a small piece of code to provide the link for that. Sample code is in function CUSTOM_menuEntries in system/lib-custom.php (note that the function is commented out).


Quote by: uyghurmen

But what's wrong with you? You or other people no want to answer about my Forum text align question. Main page I done, but Forum index page and article still left side. I have to do this right align.
Can you help Sir?


I don't have any experience with setting up the forum for RTL languages and already said so over here. Unfortunately, there is no current maintainer for the Forum plugin. We're only trying to provide some basic support for it here. If that's not enough for you, you may want to get Paid Support.

bye, Dirk
 Quote

Status: offline

uyghurmen

Forum User
Chatty
Registered: 02/16/11
Posts: 56
[That's what the "Custom Entries" link is for. You need to write a small piece of code to provide the link for that. Sample code is in function CUSTOM_menuEntries in system/lib-custom.php (note that the function is commented out). bye, Dirk[/p][/QUOTE]

About the Forum text direction, that's enough, and apologize too much bothering you.
About links can you give little more details, Dirk? About simple code to give at least a example. And how to linked to desired URL? I found line: function CUSTOM_menuEntries ()
How to do with this?
Thanks
 Quote

Status: offline

Roccivic

Forum User
Moderator
Registered: 05/19/10
Posts: 136
change this:
Text Formatted Code
/**
* This is an example of a function that returns menu entries to be used for
* the 'custom' entry in $_CONF['menu_elements'] (see configuration).
*
*/
/*
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;
}
*/


to this:
Text Formatted Code
/**
* This is an example of a function that returns menu entries to be used for
* the 'custom' entry in $_CONF['menu_elements'] (see configuration).
*
*/
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;
}
 


And you will get 2 examples Smile
 Quote

Status: offline

uyghurmen

Forum User
Chatty
Registered: 02/16/11
Posts: 56
And you will get 2 examples Smile[/p][/QUOTE]

Above code you gave me I changed. But page not open! So I return back (copy source file again). After that, I compared those two parts code, and didn't see any difference (exept some words underline). This is I confusing me and your last words:
Get two examples? Not very clear,
Can you tell me clearlier?
Thanks
 Quote

All times are EDT. The time is now 09:55 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