Not signed in (Sign In)

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

    • CommentAuthorzikoriats
    • CommentTimeMay 11th 2009
     
    I have some problems I need help with,
    first is to change the colour of the "Gallery Name", tried many ways but still doesnīt work. How do I do?

    and second, Iīve got a little number "1" who stands alone just below the "Gallery Name". Someone told me that itīs a stray code somewhere but I couldnīt find it? Please help? How do I delete it? (emelieberglund/galleri.php)

    And at last, can I remove "Powered by plogger"? Or make it invisible?

    thanks!
    • CommentAuthorphpnovice
    • CommentTimeMay 12th 2009 edited
     
    The gallery name is part of the breadcrumbs, and is a link. You need to change your link colour to change it.

    a, a:link, a:visited, a:active {
    color: #38c;
    text-decoration: none;
    }

    a:hover {
    color: #789;
    text-decoration: underline;
    }

    If you want the breadcrumbs to be a different colour than the rest of your links, find this code in gallery.css in the folder of the theme you are using:

    #breadcrumbs {
    margin: 0;
    padding: 2px;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    }

    #breadcrumb-table {
    width: 100%;
    }

    #breadcrumb-links {
    margin: 2px;
    }

    Leave the code above, and add this code to the end. Change the colour code to what you want:

    #breadcrumb-links a, a:link, a:visited, a:active{
    color: #0000ff;
    }

    #breadcrumb-links a:hover {
    color: #800080;
    text-decoration: underline;
    }


    The stray "1" can be found in header.php in the folder of the theme you are using. Search for it somewhere near this code:

    <?php echo generate_breadcrumb(); ?>


    To remove "Powered by Plogger", remove this code from footer.php in the folder of the theme you are using:

    <?php echo plogger_link_back(); ?>
    Though it is good etiquette to put a link somewhere else instead, if you don't like that one.
    • CommentAuthorzikoriats
    • CommentTimeMay 12th 2009
     
    thanks. of course I will put it somewhere else. but I write it myself and link to plogger.org

    Still donīt seem to find the "1". Here is the code from header:

    <?php plogger_init(); ?>

    <div id="wrapper">

    <div id="header">
    <?php echo generate_header(); ?>


    <div id="breadcrumbs">
    <?php echo generate_breadcrumb(); ?>

    </div>

    <!-- <p></p> -->

    </div>
    <?php echo plogger_download_selected_form_start(); ?>

    Should I delete anything of this to get the "1" removed?

    And the collection text colour didnīt work either.. some suggestions what I am doing wrong? The text is still just black..
    • CommentAuthorphpnovice
    • CommentTimeMay 12th 2009
     
    I apologize, I did not notice this morning that your CSS uses a mix of dashes and underscores.

    Change this

    #breadcrumb_links {
    margin: 2px;
    }

    #breadcrumb-links a, a:link, a:visited, a:active{
    color: #DFE4B8;
    }

    #bread-crumb-links a:hover {
    color: #DFE4B8;
    text-decoration: none;
    }

    to this

    #breadcrumb_links {
    margin: 2px;
    }

    #breadcrumb_links a, a:link, a:visited, a:active{
    color: #DFE4B8;
    }

    #breadcrumb_links a:hover {
    color: #DFE4B8;
    text-decoration: none;
    }

    This is the CSS for the title under the breadcrumbs, you can add a colour here:

    #gallery-name {
    padding: 0;
    margin: 0;
    }

    This is the specific code around your stray "1":

    <table id="header-table" width="100%"><tr><td><h1 id="gallery-name">Galleri</h1>1<div id="thumbnail_container">
    If it isn't in header.php, then look in collections.php and index.php. If you have a good text editor you can search files for that code.

    And I can't help you with this problem, but all of your title and navigation images are broken.
    • CommentAuthorzikoriats
    • CommentTimeMay 14th 2009
     
    yeah I know:) I thought I have to finish the gallery part first and then publish the rest of the site. So now itīs just prelimenery..

    The text colour of the "Gallery"-name worked out fine. But I couldnīt find the stray "1". Didnīt find the code you write, around the stray "1", either..
    How should I do?

    (Donīt know how to search for the code in a text editor..)

    Just want the "1" to dissipear..
    please help me out with this problem..
    • CommentAuthorzikoriats
    • CommentTimeMay 14th 2009
     
    One more thing,

    the horisontal lines on the page, how can I make them go away?
    • CommentAuthorphpnovice
    • CommentTimeMay 14th 2009
     
    To remove the borders from the breadcrumbs, change

    #breadcrumbs {
    margin: 0;
    padding: 2px;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    }

    to

    #breadcrumbs {
    margin: 0;
    padding: 2px;
    border: 0;
    }

    Open plog-functions.php and see if your "1" is here (this is how it should look):

    function generate_header() {
    global $config;
    $output = '<h1 id="gallery-name">'.stripslashes($config['gallery_name']).'</h1>';
    return $output;
    }

    If you still haven't found it, I don't know what else to tell you, sorry.
    • CommentAuthorzikoriats
    • CommentTimeMay 14th 2009
     
    ok I found the code you mention in plog-functions.php.. should I delete it? or should the "1" stands just next to it? Or is it a code that creates the "1" ?
    sorry, Iīm not good in coding and php..

    this is a part around the code you told;


    function plogger_require_captcha() {
    $_SESSION['require_captcha'] = true;
    }

    // generate header produces the Gallery Name, The Jump Menu, and the Breadcrumb trail
    // at the top of the image

    function generate_header() {
    global $config;

    $output = '<h1 id="gallery-name">'.stripslashes($config["gallery_name"]).'</h1>';
    return $output;
    }

    function generate_sortby($level,$id){
    global $config;

    $output = '';

    $id = $GLOBALS["plogger_id"];


    Should I delete anything of this or change something?
    • CommentAuthorphpnovice
    • CommentTimeMay 15th 2009
     
    There is nowhere else I can think of to tell you to look.
    • CommentAuthorzikoriats
    • CommentTimeMay 15th 2009
     
    ok, should I delete the code you write earlier then?
    • CommentAuthorphpnovice
    • CommentTimeMay 16th 2009
     
    No, you will have to go over every one of your files with a magnifying glass until you find the actual "1" that is appearing in your code.

    You are the only one with access to your actual source code and template files. I could only give you clues where to look.
  1.  
    zikoriats,

    do you have a link to the gallery I could have a look at?