Forums

This topic is locked

Breadcrumbs

Posted 27 Nov 2008 14:00:54
1
has voted
27 Nov 2008 14:00:54 Neil Williams posted:
Hi

Can anyone tell me how to create breadcrumbs on a site using dreamweaver MX please? I have installed the Dreamweaver extension PHP Breadcumbs, but having great difficulty using it. In particular calling it within a dreamweaver template and html file (or does the file now need to be saved as .php?). I can call 'Server Behaviours > Breadcrumbs' so that the code is placed into my specific page or template, but struggling to get any further. What else do I need to do?

Also if there are any better ways of creating breadcrumbs that would be great.

Thank you.

Replies

Replied 28 Nov 2008 13:15:57
28 Nov 2008 13:15:57 Alan C replied:
Hi Neil,
I've not used anything like that in DW, but I did look at breadcrumb scripts a while ago, then decided not to use one after all, the one I remember was written in php, I think the way it worked was to pick up the current file's location from the environment variables,
<pre id=code><font face=courier size=2 id=code>
$_SERVER['SCRIPT_FILENAME']
or
$_SERVER['SCRIPT_NAME']
</font id=code></pre id=code>

then split it apart and build links to the index file in each directory, that would probably do the job

Reply to this topic