place image at very top right across the page

Is there a way to place a top banner / image / logo across the top of the page so when i change template its still there? I thought about putting one an index page but that didn't seem to work. The only thing on this subject I can find is for the older versions of dolphin.

Quote · 21 Aug 2013

First, you add it to the _header.html in the base template.  If a template does not have a _header.html it will use the base template _header.html file.  Then for the templates that does have a _header.html file, you add your banner to each one of them.

Geeks, making the world a better place
Quote · 21 Aug 2013

templates/base/scripts/BxBaseFunctions.php

Quote · 21 Aug 2013

What do I do with that file? Its a php file, so how do i stick an image straight across the top of my site in that? above the menu, search ect

Quote · 21 Aug 2013

I tried to put an image across the top using the header file, just a blue line, i sorta had sucess in respect that it was there but it broke my site and it looked like this........

any ideas?

Quote · 21 Aug 2013

Looks like it broke the CSS.

This is a template issue, you would add it to the template; at least that is my opinion on it.

attach your _header.html file and I will take a look at it.

Geeks, making the world a better place
Quote · 21 Aug 2013

I uploaded the header and sub header i broke, but unfortunately i had the template makers install a wide template view for me and now its back to the crunched up basic view. i have had to contact the template makers and beg them to fix it again lol. They going to hate me lol

Quote · 21 Aug 2013

OK, understood.  You should also ask the template maker how you can add custom banners/images to the top of the header.  It is fairly simple but I would need to see the template so it might just be as easy to ask them.

Geeks, making the world a better place
Quote · 21 Aug 2013

templates/base/scripts/BxBaseFunctions.php AROUND LINE  527

FIND

 $sFileName = getParam('sys_main_logo');
        if (!$sFileName || !file_exists($dir['mediaImages'] . $sFileName))
            return '<a class="mainLogoText" href="' . BX_DOL_URL_ROOT . '">' . getParam('site_title') . '</a>';

        return '<a href="' . BX_DOL_URL_ROOT . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
    }

add the code in red .....

return '<a href="' . BX_DOL_URL_ROOT . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo"
style="position: relative; left: 0px; top: 0px; right: 0px; bottom: 0px;width: 100%; height: 120px; z-index: 100"
border="0"/></a>';

you might have to change the z-index order so your search box and login/join links are on top and the height 120px to the depth of your logo .

 

just add your logo via the admin/settings/basicsettings

to gg this is not a template issue ...............

as this will place your logo full width on all templates ...... unless you use language keys to insert different logo for different languages...

and please remember to keep an original copy of the file by renaming it LIKE BxBaseFunctionsORIG.php

you can keep it on your server if you make a mistake just rename the file by removing the ORIG

add BxBaseFunctionsEDIT.php to the file you have changed/ played with ..you can do this with css files as well ....

 

Happy thoughts

 

[Moderator: Removed offensive comment.]

Quote · 22 Aug 2013

Hello Nathan thank you for the warning ...I am aware that the truth hurts,but my message was in fact a statement of FACT!!!!1!!!!! ...................not a joke or in jest .....

I was working with ModMyCMS.com is a direct quote from this post by gg  5 days ago I visited the website ModMyCMS this morning to find she has been working apparently on a porn site what more can I say boonex now has lots of links to a non dolphin porn site thanks to GG

 

It isnt like I asked for a private showing ...

 

Happy thoughts

Quote · 23 Aug 2013

That is recent.

It was not a porn site. Looks like the domain was lost. Got snagged by someone else.

https://www.deanbassett.com
Quote · 23 Aug 2013

 

Hello Nathan thank you for the warning ...I am aware that the truth hurts,but my message was in fact a statement of FACT!!!!1!!!!! ...................not a joke or in jest .....

I was working with ModMyCMS.com is a direct quote from this post by gg  5 days ago I visited the website ModMyCMS this morning to find she has been working apparently on a porn site what more can I say boonex now has lots of links to a non dolphin porn site thanks to GG

 

It isnt like I asked for a private showing ...

 

Happy thoughts

You made a comment in a forum topic that had nothing to do with ModMyCMS; you can look for the post on ModMyCMS.  Now you are hijacking the same forum topic with the above comment.  You could have sent me a private message asking about ModMyCMS and I would have been happy to answer.  Instead you left a nasty comment and I asked the moderator to remove it.

If you went to ModMyCMS and found an adult site and it offended your sense of morality, then I apologise but it was out of my control.  I asked the person in a message about why the ModMyCMS site was down; it was reporting an error message.  I never got an answer back.  Now the site is an adult site which does not match the name so I don't know the issue there, my guess is the domain name expired and it was brought up by cyber squatters.  If the hosting was lost as well, then the data that was on the site is lost which is a shame; I felt we were building a good resource for Dolphin.

If you care, you can go to the wayback machine and see the site; although without the CSS for the page layout,  You can see it was a Dolphin based site and you can see the list of tutorials and other data that was on the site, including the number of members; use this link, http://web.archive.org/web/20130605054618/http://modmycms.com .

There are many adult sites built using Dolphin.  I have no problem helping someone that has an Adult site, your morality is not my morality.  However, just because I help someone with an Adult site does not bring my character into question and certainly not from someone that does not know me.

Geeks, making the world a better place
Quote · 23 Aug 2013

I am unsure how one highjacks a post by giving valued non damaging advise  in answer to a member in need of assistance ..

Which apparently in your opinion was in disagreement  to the file I suggested that voni edits...

If she gets to repair the damage your expert advice caused then she will find my solution to her problem is non damaging

and proven to work  ..........

My reply to Nathan's Private message was made publicly as in my post is a disclaimer expressing a misguided untruth [Moderator: Removed offensive comment.] apparently my statement of fact offended your sensibility

 

The fact that you indeed highjack just about every post made in these forums I find it highly amusing ..

 

gg Yes, it can be changed.  It is a little late here and I am too tired to think at the moment.  You need to change the top controls in the search.  I don't know the code from memory, would have to go search the script.  Someone might come in with the answer in the meanwhile. What is the point of this post ? everything in dolphin can be changed .....

gg I forgot to look at this, my apologies.  I need to start leaving myself notes.  I will be away from the computer for most of the day tomorrow.  Just remind me again.

He reminded you again but you chose to be offended and make spurious allegations instead ...

who wants to know your life story really your in the garden your away I will look later .... help if you can give solutions where possible but please Get over your self ....Women Gurl

 

Happy thoughts

Quote · 23 Aug 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.