Menu

Embedding backlinks.php

Help
John Lang
2001-11-03
2012-10-11
  • John Lang

    John Lang - 2001-11-03

    I would like to use backlinks on every page to give users ideas as to how products are inter-connected. How could I make changes to browser.html (?) to do this?

     
    • Steve Wainstead

      Steve Wainstead - 2001-11-07

      We have a feature we call "back links" which is what you get when you click on the title of the page, i.e. all the pages linking to this one.

      If you want to access the user's history, I know there is a way to do this in Javascript to send them back to the previous page.

      If on the other hand you mean "next previous up contents" types of links, you could just do this by hand with square bracket links:

      [Back : ProductPage]

      Please let me know if that answers your question.

      ~swain

       
    • Geoffrey T. Dairiki

      In the development branch (1.3.x), you can embed plugins in the HTML templates, the same way you include them in the wiki text.

      Specifically, if you include:

      <?plugin BackLinks page="[pagename]" include_self=0 noheader=1?>

      in templates/browse.html, that code will be replaced by a list (<ul>) of pages which link the the current page.

      Is that what you were looking for?

       
    • John Lang

      John Lang - 2001-11-12

      I think the pluggin might do the trick. I will try it and let you know.

      BTW is there a pluggin that would but an "email this page" button/link on each PHPWiki page ?

       
      • Geoffrey T. Dairiki

        No, there isn't.  Yours is the first request for one.

        There are plans for a means by which people can sign up to receive e-mail notification of changes to a page.

        No one (until you) has requested an e-mail this page feature.  Unless it's in a private (password protected) wiki, I'd be a little afraid that such a feature could be used fomr spammage.  (Put your advertisement in a wiki page, and write a script which instructs the wiki to e-mail the page to your list of unsuspecting spammees.)

        Out of curiousity, in what circumstance would you find such a feature useful?

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.