|
|
> When I use the library item in a Dreamweaver page, the links from the
> buttons point to (non-existent) html files in /Library/ instead the
> html files in the root of the web site.
Open the library item, and fix the links in it.
File-->Check Page-->Link check.
Once the paths are correct in the library item, they will be correct
elsewhere...
Note-
Only the .lbi files should be in the Library folder. No images, no other
pages, no nuthin but the .lbi files.
Also- Are you trying to make something where the links go a certain page in
the current folder, regardless of the folder the page is in??
such as having a link to sales.html
when the lbi is used in /aaa/index.html it links to /aaa/sales.html
when hte lbi is used in /bbb/index.html it links to /bbb.sales.html
if that's what you want- two ways offhand.
If using templates, you can use Editable Attributes and template parameters
to set this up.
much easier- use SSI server side include to bring that snip of code in
without dreamweaver "managing" the paths for you. Almost any other way,
dreamweaver will manage the paths and it won't do what you want.
|
|