Jump to content

[SOLVED] create: home >> welcome >> ...


ilikephp

Recommended Posts

it depends on your sites structure.  This sounds more like a php question otherwise you would have a static site and just input the html by hand.

 

Can't tell you how to do it with php without knowing how you detect the parent of any given page - but essentially you will create a series of links with a url to each page within the path to the current page...

Link to comment
Share on other sites

it is not wrong to put it by hand?

 

It may not not potentially be.

 

---------------------------------------------------------------

 

Most sites do that with a server-side language (php, asp etc), and it is based on their document structure.

 

You can do it by hand if you want. Just make a bunch of links with the relevant text inside.

Link to comment
Share on other sites

@ilikiephp

 

its not wrong to put breadcrumb links in by hand if you have a flat site - thats only way to do it.

 

the 'best' way of course is to generate this automatically using the current url and the sites structure (relationships between pages in the database).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.