Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorrosharps
    • CommentTimeSep 21st 2010
     
    Hi,
    This may have already been answered, but I have not been able to locate the information. I am trying to make the gallery name (which is in text format) into a link that can be clicked to take a reader back to the home page. The reason I am trying to do this is because I have another homepage and the gallery is a sub page. I am trying to go back to the homepage without having to click back a hundred times. I am using the latest plogger with the default theme. Please advise how I could make the gallery name into a clickable link.
    Thank you very much in advance,
    Chris
    • CommentAuthorboblennon
    • CommentTimeSep 21st 2010 edited
     
    The easiest way to start is to review how to integrate plogger into one of your web pages at: http://www.plogger.org/docs/config/#importing

    Here's an example of some code that displays a simple heading, shows a simple plogger album, and puts up a return button on the bottom.

    <code>
    <?php require('Plogger/plogger.php'); ?> <!-- A Simple Example of Plogger Album contained within a typical web page -->

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xml:lang="<?php echo $language; ?>" lang="<?php echo $language; ?>" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php the_plogger_head(); ?>
    <title>Plogger Integration Example</title>
    <style type="text/css">h1,div{text-align:center;color:red} </style> <!-- A little color and centering -->
    </head>

    <body> <!--Display Page heading and Plogger Album here-->
    <h1> My Web Page With Plogger Album</h1>
    <?php the_plogger_gallery(); ?>

    <div> <!-- Put a button on the bottom of the paqe to return from Plogger pages-->
    <input type="button" onclick="location.href='LinkHome.php'" value="Goin' Home" /><br /> <br />
    </div>
    </body>
    </html>
    </code>
    More visually, the page will look something like this:
    <p style="text-align:center"><img src="http://memorytrails.org/Test/LinkHome.jpg" alt="Example Plogger Embed Page" /></p>

    Clicking on the thumbnail makes an intermediate enlargement with the return (Goin 'Home) button as well.
    <p style="text-align:center"><img src="http://memorytrails.org/Test/Enlarged.jpg" alt="Intermediate Thumbnail Enlargement" /></p>