dreamweaver training course - linking pages
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver training course - Linking pages

dreamweaver training course - Linking pages

The UK's most regular instructor-led training courses.
Training information: dreamweaver training course · Dreamweaver training · Adobe dreamweaver training

resolvedResolved · Low Priority · Version Standard

Linking pages

Antonia has attended:
Dreamweaver 8 Introduction course

by - delegate Antonia [1 post] (2007 Jul 2 Mon, 14:07) replyReply

what is the easiest way to link the pages when you are creating 100+ pages; by using folders or is there another way?

Dreamweaver CS3 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
CS3 2008 Sep 22 Mon + 23 Tue Bloomsbury 6 book now £495 £495
CS3 2008 Oct 13 Mon + 14 Tue Bloomsbury 6 book now £495 £495
CS3 2008 Nov 4 Tue + 5 Wed Bloomsbury 8 book now £395 £415
CS3 2009 Jan 15 Thu + 16 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Feb 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Mar 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
Full Schedule: See all 14 Dreamweaver CS3 course dates.
Bookings currently available until 12th November 2009.

RE: linking pages - PHP script link to all files in a directory

by - trainer Rich platinum contributer[713 posts] (2007 Jul 3 Tue, 12:05) replyReply

Antonia,

In the past, I have written a bit of PHP script to link to all pages in a folder. You will need to have PHP installed on your web server or hosting environment for this code to work. Alternatively, if your hosting environment hosts ASP pages, you may be able to locate similar code written in ASP.

I'm not sure of any way Dreamweaver can create a site-map for you. You could try searching google for dreamweaver create sitemap but most of the sites found seem to only create a graphical sitemap or an XML sitemap for 'Google sitemaps'.


<?php
function list_dir_contents ($the_path) {
global $DOCUMENT_ROOT;

// opens the directory, and creates a data source handle
$handle = dir($DOCUMENT_ROOT.$the_path);

// go through each file, assigning filename to $file variable
while ($file = $handle->read()) {
// exclude the two . and .. files
if (($file != ".") and ($file != "..")) {
print "n<br />";
print "<a href="/$the_path/$file">$file</a>";
}
}
}

// eg. this will list the files in the 'newsletter' folder
// (assuming one exists in your web site root folder)
list_dir_contents("newsletter");

?>


Hope this helps,
Regards, Rich


Related articles

· Dreamweaver: Business Benefits of Web Design Skills
· Macromedia Dreamweaver Vs Microsoft FrontPage
· How Dreamweaver Courses for Your Marketing Staff Can Cut IT Payroll Expenses
· Powerhouse Tips from Dreamweaver Training
· The Evolution of Macromedia DreamWeaver

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz