Tomasz

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: sidebar right customization #1809
    Tomasz
    Participant

    Thank you for move topic to right place.

    Ok, now I will try to explain it more clearly.
    I installed kindergarten theme on my site.
    This theme allows to put sidebar (which is called sidebar_right) and it display a submenu.

    Now, on few pages I would like to have a submenu1, on next few pages I would like to display submenu2.
    Submenus I created from admins panel.

    I thought that I will put a switch or if condition, but at the code function displaying submenus is:

    Code:

    And now I have no idea how to resolve problem. All names of submenus starts with “right” + “String”. I suppose it should be something like:

    Code:
    switch ($page) {
    case “one”: echo $rightX;
    break;
    case “two”: echo $rightY;
    break;
    }

    but what I should write as a “$right…” cause I have (ucfirst($mpostion[0])) which is not saying me nothing….

    Can you help me with it?

Viewing 1 post (of 1 total)