WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • menu prefix question
  • Print
Pages: [1]   Go Down

Author Topic: menu prefix question  (Read 3931 times)

snark

  • Guest
menu prefix question
« on: March 19, 2009, 12:35:22 AM »
Is it possible to define a character as menu prefix

for instance if I want » before each meu item


Telling me that it should me added to the pagename is no answer
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: menu prefix question
« Reply #1 on: March 19, 2009, 01:01:42 AM »
Hello.

Yes, tis is possible using show_menu2.

Please read the sm2 docu.

You will need to add this into your sm2 call:
Code: [Select]
$aItemOpen      = '[li]<a href="[url]">&raquo; [menu_title]</a>',

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline marathoner

  • Posts: 495
Re: menu prefix question
« Reply #2 on: March 19, 2009, 01:26:38 AM »
You could also simply style the <li> bullet to use that character with you CSS. Here's an example:
http://www.alistapart.com/articles/taminglists/
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • menu prefix question
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2