Jump to content

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


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...

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.

@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).

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.