- Posts: 45
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Question regarding 404-error page / Breadcrumbs
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Question regarding 404-error page / Breadcrumbs
- Torsten Lachnitt
- Topic Author
- Offline
- Senior Member
Less
More
10 years 10 months ago #137513
by Torsten Lachnitt
Question regarding 404-error page / Breadcrumbs was created by Torsten Lachnitt
Hi all,
could you please tell me how and where to change the 404-error-pages ? At the moment, for the image it´s pointing to e.g. cdn.nuevvo.com/templates/images/headers/img3.jpg. Also, if I set the page to "offline", it´s showing not my text added here:
imgur.com/jyWwQe4
Another question is, that there is a module position called "Breadcrumbs" in the template. I tried to figure out how to use it as it would be nice to have breadcrumbs on my page. Could you please also help me with this ?
Thanks in advance
Torsten
could you please tell me how and where to change the 404-error-pages ? At the moment, for the image it´s pointing to e.g. cdn.nuevvo.com/templates/images/headers/img3.jpg. Also, if I set the page to "offline", it´s showing not my text added here:
imgur.com/jyWwQe4
Another question is, that there is a module position called "Breadcrumbs" in the template. I tried to figure out how to use it as it would be nice to have breadcrumbs on my page. Could you please also help me with this ?
Thanks in advance
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
10 years 10 months ago #137514
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic Question regarding 404-error page / Breadcrumbs
Hello,
Both pages, offline and error can be modified through the corresponding files in the template's folder. I'm afraid that the image are coming from our remote location along with a small javascript file which fetches a random image.
You can modify them the way you want, though.
In the offline page what is the message you are getting?
You can use this code snippet in your index.php to load your breadcrumbs position.
A good position would be right above
the
Both pages, offline and error can be modified through the corresponding files in the template's folder. I'm afraid that the image are coming from our remote location along with a small javascript file which fetches a random image.
You can modify them the way you want, though.
In the offline page what is the message you are getting?
You can use this code snippet in your index.php to load your breadcrumbs position.
<?php if($this->countModules('nokkori_Breadcrumbs')): ?>
<jdoc:include type="modules" name="nokkori_Breadcrumbs" style="nu" />
<?php endif; ?>
A good position would be right above
the
<jdoc:include type="message" />
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
10 years 10 months ago #137515
by Torsten Lachnitt
Replied by Torsten Lachnitt on topic Question regarding 404-error page / Breadcrumbs
Hi Yiota,
thanks, the breadcrumbs issue is solved now.
I get this one, it completely ignores the custom settings:
imgur.com/ofSnw23
Looks like a translation of your text ("This site is down for maintenance.....")
Do you have a tip for me how to modify or adjust the files, unfortunately I´m no programmer :(
Best regards
Torsten
thanks, the breadcrumbs issue is solved now.
I get this one, it completely ignores the custom settings:
imgur.com/ofSnw23
Looks like a translation of your text ("This site is down for maintenance.....")
Do you have a tip for me how to modify or adjust the files, unfortunately I´m no programmer :(
Best regards
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
10 years 10 months ago #137516
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic Question regarding 404-error page / Breadcrumbs
Try to do this.
Open offline.php and changetoLet me know if you managed to get your custom message that way.
Open offline.php and change
offlineMsg: '<?php echo (strlen(trim($app->getCfg('offline_message'))<5)) ? nuText('JOFFLINE_MESSAGE') : nuText($app->getCfg('offline_message')); ?>',
offlineMsg: '<?php echo nuText($app->getCfg('offline_message')); ?>',
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
10 years 10 months ago #137517
by Torsten Lachnitt
Replied by Torsten Lachnitt on topic Question regarding 404-error page / Breadcrumbs
Great, that´s working. How can I change the background picture and the nuevvo-logo:
imgur.com/kOw2kxc
And how to change the 404-error-pages ?
Thanks
Torsten
imgur.com/kOw2kxc
And how to change the 404-error-pages ?
Thanks
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
10 years 10 months ago #137518
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic Question regarding 404-error page / Breadcrumbs
To change the offline logo you can change this
to
and to change the image try to add
#offlineBg {background-image:url('YOUR_BG_IMG') !important;}
in your custom.css file.
For the 404-pages tell me exactly what you need to change in order to provide you with the changes.
offlineImg: '<?php echo ($app->getCfg('offline_image') ? JURI::root(false).$app->getCfg('offline_image') : NU_CDN.'/templates/images/nuevvo_345x90_24.png'); ?>',
offlineImg: '<?php echo 'YOUR_IMAGE_PATH'; ?>',
and to change the image try to add
#offlineBg {background-image:url('YOUR_BG_IMG') !important;}
in your custom.css file.
For the 404-pages tell me exactly what you need to change in order to provide you with the changes.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
10 years 10 months ago #137519
by Torsten Lachnitt
Replied by Torsten Lachnitt on topic Question regarding 404-error page / Breadcrumbs
Thank you, offline logo is also working now.
Added the line as following to the custom.css
imgur.com/6H5T4cW
That´s not working, maybe there´s something with the syntax ?
For the 404-pages, easiest way would be
- to have the opportunity to use an own background image
- to be able to insert a pic with an error message
- to have a link back to the homepage
Thanks in advance
Torsten
Added the line as following to the custom.css
imgur.com/6H5T4cW
That´s not working, maybe there´s something with the syntax ?
For the 404-pages, easiest way would be
- to have the opportunity to use an own background image
- to be able to insert a pic with an error message
- to have a link back to the homepage
Thanks in advance
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
10 years 10 months ago #137520
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic Question regarding 404-error page / Breadcrumbs
For the offline background correct your image path. It should be
../images/background.jpg
For the 404-pages
For the background-image you can add a similar line, like you did with the offline page, like
#errorBg {background-image:.... !important;}
The html that contains the error is the following.
<div id="errorHeader">
<h1><span>404</span></h1>
<h2>Item not found</h2>
<div class="clr"></div>
</div>
with css you can add whatever you want to any element
There is already a link to the home page so I don't know what do you mean by that.
../images/background.jpg
For the 404-pages
For the background-image you can add a similar line, like you did with the offline page, like
#errorBg {background-image:.... !important;}
The html that contains the error is the following.
<div id="errorHeader">
<h1><span>404</span></h1>
<h2>Item not found</h2>
<div class="clr"></div>
</div>
with css you can add whatever you want to any element
There is already a link to the home page so I don't know what do you mean by that.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
10 years 10 months ago #137521
by Torsten Lachnitt
Replied by Torsten Lachnitt on topic Question regarding 404-error page / Breadcrumbs
Tried it with this code for the offline background, but can´t get it work:
offlineBg {background-image:url('/images/background.jpg') !important;}
For the 404-pages
In which file do I have to put the #errorBg {background-image:.... !important;}-code ?
Also, in which file to put the html code ?
Yip, you´re right, there is a link back to the homepage, simply ignore :)
offlineBg {background-image:url('/images/background.jpg') !important;}
For the 404-pages
In which file do I have to put the #errorBg {background-image:.... !important;}-code ?
Also, in which file to put the html code ?
Yip, you´re right, there is a link back to the homepage, simply ignore :)
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
10 years 10 months ago #137522
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic Question regarding 404-error page / Breadcrumbs
#offlineBg {background-image:url('../images/background.jpg') !important;}
and
#errorBg {background-image:.... !important;} also in the custom.css file.
There is no need to put the html code it is already included in that page. I just shared it for you to know the elements in which you can add your css in the custom.css file, as well, in order to style the error however you like.
and
#errorBg {background-image:.... !important;} also in the custom.css file.
There is no need to put the html code it is already included in that page. I just shared it for you to know the elements in which you can add your css in the custom.css file, as well, in order to style the error however you like.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Question regarding 404-error page / Breadcrumbs