background image header

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Nov 09, 2013 1:15 am
Reply with quote
Report this post
Dear goodnight.

I am new to joomla and I am using the Simplicity template in my domain lokalcerto.com.br and would like the header image that is displayed in the home, was also visible on all pages.

Is this possible?

Grateful.
User avatar
Fresh Boarder

GK User
Sat Nov 09, 2013 11:47 am
Reply with quote
Report this post
Hello,

In this case please open file layouts/default.php in the template directory and please change:

Code: Select all
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';


to:

Code: Select all
$this->page_suffix .= ' imageBg ';
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
User avatar
Administrator

GK User
Sat Nov 09, 2013 11:10 pm
Reply with quote
Report this post
thank you.
User avatar
Fresh Boarder

GK User
Fri Aug 29, 2014 7:07 pm
Reply with quote
Report this post
Dear I made the change, but without the top navigation of articles is better.

I tried to go back to the old configuration, but did not get the previous result.

How should I proceed?

Thank you.

Alexandro Santos
User avatar
Fresh Boarder

GK User
Mon Sep 01, 2014 7:41 am
Reply with quote
Report this post
Did you reverted the code changes too?
User avatar
Administrator

GK User
Tue Dec 09, 2014 10:46 pm
Reply with quote
Report this post
I changed the file and put as in the example below:

// other variables
$btn_login_text = ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT');
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
// make sure that the modal will be loaded

but to change the header disappears.

How do I resolve this issue?

Alexandro
User avatar
Fresh Boarder

GK User
Wed Dec 10, 2014 11:21 pm
Reply with quote
Report this post
Please explain once again what do you want to achieve, because now it is not clear for me.
User avatar
Administrator

GK User
Thu Dec 11, 2014 2:04 pm
Reply with quote
Report this post
In the original template the header image is displayed only on the home page, I asked you a guideline so that it was visible on every page, but the result did not please a lot and now come back as before. I made the alteraçõs below, but it is showing error.

I changed the file and put as in the example below:

// other variables
$btn_login_text = ($userID == 0) ? JText::_('TPL_GK_LANG_LOGIN') : JText::_('TPL_GK_LANG_LOGOUT');
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
// make sure that the modal will be loaded

but to change the header disappears.

How do I resolve this issue?

Alexandro
User avatar
Fresh Boarder

GK User
Mon Dec 15, 2014 9:36 am
Reply with quote
Report this post
Please apply my changes again, please assign the header module for all menu items, and then we can discuss about solving other issues connected with this change.
User avatar
Administrator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.