Edit disable primary links

In this example you will learn how and where to modify the 'Edit primary links' on a new Drupal install On new sites you have this link in the upper right hand corner that says Edit primary links To add an item to the Primary links menu

1. Click on Edit primary links. This takes you directly to the menu page. You can see the navigation path on the left Administrator > Site building > Menus

Edit primary Inks

Test Site Cool sample slogan here

admin

rv'enus ajJll iyihíiu Add nwiu cam Soufras

Crc-atc ran tent

My ¿CCúuftE

Hcnus are a cufccbar* of Nnlcs- (ktu items) used to nam pote a wcbHte. The fcstls> below dsptay the currenBv i-afable menus afanfl wfli tfwir menu terns. 5el«t an operatic^ from the 1st to mañane each

111+T P.I or ñWRi rlnm.

Contait management Stcbuklng D Setto

1 MmîJcï Themes

Ch*l|>—1

Prirnary links

* Adtfram

St* OSrAgur^kn

Mitíiu Hem Expanded Operations.

c management

E Lags

fe manu eem: tfatafed.

c- Heb

"j ¿rfdfeem

2. Under the Primary links menu, click on Add item link. This will take you to the Add menu item window.

3. Enter the Title, Description (you see this on hover) and Path. For this example we'll use node/3 which is one of the test posts you created earlier if you were following the examples.

Menus List Add menu

Title:

Add menu Item

Settings

Test inenu item

Tha na^ro of fcha mo nu itarn,

Description:

Trrit rnrnii item

Thv dïiL'ipiion d vvhwn havarin^ aw ■ n»nu

1 bin.

Pdlli :

node/3

The path this rn^ni.. item linicj to- Tills CBn Di an Internal Dr.ipijl n-?t"i Klrh as n&jt/sdif -QT fn external URL ■ueh m fitip.'//dmpjF.org. Er£»r <frwii> io link ba ih« (rent

The path this rn^ni.. item linicj to- Tills CBn Di an Internal Dr.ipijl n-?t"i Klrh as n&jt/sdif -QT fn external URL ■ueh m fitip.'//dmpjF.org. Er£»r <frwii> io link ba ih« (rent

U Expanded

]r fclociAd and thlj menu itt v has dit^. tv: ftmimj vJll »Ihqvx appear ¿xpandad Parent its in:

Pnfïiarv links Weight;

Optional. En thw :nanu "hu hwriviwr ibufnä nil fcifik Aftd Lhw liqïibAi1 ifcu-m ml bu pobilianvd niïAivr thw Eôp-

4. Select Submit. You should see something like this.

Test Site Cool sample slogan here

Bdmin

Cr«ate contant Hy account

AdTinrttHf

Content rnanaacfncnt ~ Eita building " docks MnnuB Modules ö TTtem&s Sita configuration User management Legs,

Menus _ Arid menti ftdrt mpnu rem Hinting:

Hems are a coltrtbn aF links (menu items} used tn- navioate a website, ihe listfs) bdorv display the currently available menus alcnn with their menu items, SelMC Gpiraton tr&m pie let to m^nag* egtf* migiiu Oí mçrtu item.

[mcM

Uptri I

ri it drïjlilfl delata

5. If you click on Test menu item you will go to that contents page.

To disable Edit primary links

1. Choose the Settings tab, you should this page.

M&fiuS list Add menu Add menu item

Primary and secondary links setting?

Piimary and aMoodary l.iks provide a iiawiQatiartal meriu system «filch usually (difjendirtj an your theme) appear; at the top-right of the browser Viindow. The links displayed can be generated either ¡rein a custom list created via the menu administration page or from a built-in list of menu items such as the navigabon menu links.

Mimhi rtHLlrfiniiiij firim^ry [irk1.: Primary lirk^ t

Mhliiu LiNilrfiniiuj '.iii.uriiliiry ]Enk%:

Primary linfcs I*

J1 /uiwIhl'. ihw id niy nv nu Jh ji Tdiv links L"i*n kuuirüdiv ! :iki will dih|:l^ icvdl at fiiiif hidrarthy.

extern .1 uLl mr ii iej form set* nkju

The menu module allows pn-the-Uv creation of menu linfcs in th£ content authoring forms. The following option "nines the menus in which a new link may be added. E.g., this can be used to force ne^ menu items to b e created in the primary lints menu or to hide adnwi menu items,

Kestrict |ii rent items to;

Show all mtenus

Choose the t-col to fcc ii^adc available In the cnotcrt auPio'lr-n form. Onlytfil:; i^cnu item an J Its tlMd »n nil fc-. lltMt,

I Save configuration I I Keset to defai^ts

2. Menu settings tab

Menus List Add menu

Title:

Settings

Title:

Test menu item

Tha nai*r«e af Ehs mo-iu ¡tarn.

Description:

TrsT mm ii it^rn

Thv d«ir.-ip!icn diapl*v*d vvhwn havarin^ avt" ■

i"""

i it« m.

Path:

nodq/3

Th# Dqth hhn mull! Item lir^s ~r,. Till; can be n internal Dr.ir-sl pjht-i 1--Jr!-. nr fn external URL

til rh bi nlic //'iiiCJii iij. tr:*: d> in link to " h« front rpB-3*-.

]r ftlgcied and thij mtiiij itc v hid drto. H14 m«nu v^ll alrayx appear ixpandad

Th# Dqth hhn mull! Item lir^s ~r,. Till; can be n internal Dr.ir-sl pjht-i 1--Jr!-. nr fn external URL

til rh bi nlic //'iiiCJii iij. tr:*: d> in link to " h« front rpB-3*-.

]r ftlgcied and thij mtiiij itc v hid drto. H14 m«nu v^ll alrayx appear ixpandad

Parent item:

Pnmary links

Weight:

Op«i&n*l. En fchw AUAur ".Ku hvriviwr iLm-n* nil ¿ink and ihu liqhUir itu-rn rail bu pohiiianwdi nvaiwr thv itsp-

3. In Menu containing primary links select No primary links and submit. That will disable it.

+1 0

Responses

  • ulla-maj nurmela
    How to disable link of primary navigation in drupal?
    7 years ago

Post a comment