Themes

Arialist / Navigation

 
 
Picture of Leonardo S.C.
Arialist / Navigation
 

I was trying to find a way to move the navigation bar (vertical) from the right to the left.

Does anyone knows how to do this?




 
Average of ratings: -
It's only an avatar...
Re: Arialist / Navigation
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

You can't move it as Arialist is a two column theme where the blocks are always on the right.

However I have a left side Arialist theme you can have with pleasure.

I'll upload it to my website and let you have the link shortly.

Cheers

Mary

 
Average of ratings: -
Picture of Leonardo S.C.
Re: Arialist / Navigation
 

Thanks Mary

 
Average of ratings: -
It's only an avatar...
Re: Arialist / Navigation
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

I have just sent you a message which contains the link to the zip file.

Cheers

Mary

 
Average of ratings: -
Picture of Leonardo S.C.
Re: Arialist / Navigation
 

I have sent you a reply.

 
Average of ratings: -
It's only an avatar...
Re: Arialist / Navigation
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

OK, I read you last message and am a littler confused. The idea of the theme I sent a link for was one that is the same as Arialist but has the blocks on the opposite side.

However you are now asking how to add a logo to each page is that correct?

You need to add this at the top of the page where other similar code is...

if (!empty($PAGE->theme->settings->logo)) {
    $logourl = $PAGE->theme->settings->logo;
}

and this goes into the body of the page...

            <div id="page-header" class="inside">
                <div id="page-header-wrapper" class="wrapper clearfix">
                    <?php if ($hasheading) { ?>
                    <div id="header-left">
                        <?php if (!empty($PAGE->theme->settings->logo)) { ?>
                            <a href="<?php echo $CFG->wwwroot; ?>" title="Home"><img id="logo" src="<?php echo $logourl; ?>" alt="Logo" /></a>
                        <?php } else { ?>
                            <h1 class="headermain"><a href="<?php echo $CFG->wwwroot; ?>" title="Home"><?php echo $PAGE->heading ?></a></h1>
                            <div class="tagline"><?php echo $tagline; ?></div>
                        <?php } ?>
                    </div>
                        <div class="headermenu"><?php
                            echo $OUTPUT->login_info();
                                if (!empty($PAGE->layout_options['langmenu'])) {
                                    echo $OUTPUT->lang_menu();
                                }
                            echo $PAGE->headingmenu ?>
                        </div>
                    <?php } ?>
                </div>
            </div>

Hope this works?

Mary

 
Average of ratings: -
Picture of Leonardo S.C.
Re: Arialist / Navigation
 

Sorry, which code goes on which file?


I have general.php and frontpage.php right?


And you copied two codes


Regards.

 
Average of ratings: -
It's only an avatar...
Re: Arialist / Navigation
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Ok...

both sets of code go on the same page.

in the code you sent in you message to me was what I assumed you copied from your other theme? 

What I am trying to get across to you is the reason that code does not work is because you need the first part of of the code that has to be at the top of general.php as it should already be in frontpage.php that is why the logo is displayed on the Frontpage but not on course pages, which is what you are trying to achieve ... Yes?

if you get stuck just tell me...

cheers

Mary

 
Average of ratings:Useful (1)
Picture of Leonardo S.C.
Re: Arialist / Navigation
 

Ok, it worked!

Now I am trying to put the footer in every page, I already have it on the frontpage:


<!-- START OF FOOTER -->
    <div id="page-footer" class="wrapper clearfix">
           <p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
        <?php
               echo $OUTPUT->login_info();
               echo $OUTPUT->home_link();
            echo $OUTPUT->standard_footer_html();
           ?>   <img src="http://something.png" align="center></div>
       </div>
<!-- END OF FOOTER -->

I tried to add it on the general file but it doesn't work.

Any advice?

Thanks again!

 
Average of ratings: -
Picture of Leonardo S.C.
Re: Arialist / Navigation
 

It's done, I have just added it to the footer section of the general page and now it displays on every page again.


Mary, thank you so much for all your help!



 
Average of ratings: -
It's only an avatar...
Re: Arialist / Navigation
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

You are very welcome. Glad it is all working as you wish it to be. smile

 
Average of ratings: -