[support] How to add Link in navigation?

Afan Pasalic afan at afan.net
Fri Apr 13 15:30:25 UTC 2012


Hold on guys. There is no need to fight :-)

Let me try to explain better, exact.

The website I was talking about is http://kesarandcosolicitors.co.uk/.
If you click on Staff link on the top navigation you will see the 
current page (node/4).
I plan to make employees as members and the using View create this page 
better and easier to maintain. But, since I'm novice in Drupal, it will 
take some time.
The owner doesn't like the way it looks like right now and as a 
temporary solution I made http://kesarandcosolicitors.co.uk/staff.php 
page (copied Source code and add php/mysql code, doesn't have anything 
with Drupal) with more/less expander using CSS.

My question is how to add a link "Staff" (instead existing Staff) in top 
navigation and link it to the new page?

Thanks for any help.



On 4/13/2012 8:21 AM, Earnie Boyd wrote:
> On Thu, Apr 12, 2012 at 11:03 PM, Bala Krishnamurthy<bala at ecubeh.com>  wrote:
>> The link I posted early on in the thread describes in some detail the
>> scenario the author was trying to address and the rationale for his hack. No
>> one bothered to read it, I guess.
>>
>> Here is the problem I was trying to address.
>>
>> 1. Single system running httpd daemon (web server), hosting single drupal
>> site along with multiple non-drupal web apps (many built internally, some
>> external FOSS). With the site as the (single) portal, we needed to provide
>> menu links from within the drupal site to these different non-drupal apps
>> running on the same machine.
>>
>> Relative paths would be the way to go, but drupal (6.22) does not allow menu
>> links to non-drupal 'nodes'. The author has presented a screenshot of the
>> drupal error when that is tried. Full URLs are ugly, but I would have tried
>> it if it worked. It does not. Why?
> I don't know why it didn't work for you.
>
>> 2. The drupal site is accessed from many contexts:
>> (a) External: by registered domain name, through public DNS servers
>> translating name to IP
>> (b) External: by IP
>> (c) Internal: LAN: by hostname (this is the way the system, locally running
>> named daemon etc are configured)
>> (d) Internal: by IP (the 192.168 series)
>> (e) Server: localhost
>> (f) Server: 127.0.0.1
>>
>> and so on and on and on...
>>
> I see and understand.  I would have just created a block with contents
> like the following:
>
> <ul class="menu"><li class="leaf first"><a href="/file1.php">File 1</a>
> </li><li class="leaf"><a href="/file2.php">File 2</a>
> </li><li class="leaf last"><a href="/fileN.php">File N</a>
> </li></ul>
>
>> A single Full URL will not work in another context, besides having to deal
>> with the ugliness of changing the entire context.
>>
>> I looked and I saw the author had already solved the problem with the simple
>> hack allowing non-drupal relative paths in the menu. I am hardly a drupal
>> expert, and if someone has better ideas, I would be thrilled to listen.
>>
>> This is my last post on the thread unless someone has something useful to
>> add.
> Was the above useful enough.  There are other class items you can use,
> just review the page source and take a look at the display of the menu
> items to find what they are or take a look at the system-menus.css
> file.
>


More information about the support mailing list