Keyword
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.

[SOLVED] how to change Offline message

  • Nicklas Sigvaldason
  • Nicklas Sigvaldason's Avatar Topic Author
  • Offline
  • New Member
More
9 years 5 months ago #139720 by Nicklas Sigvaldason
how to change Offline message was created by Nicklas Sigvaldason
When i try to change the offline message can't the joomla not save the message, it will only show the standard message.

I have try change following string in the offline.php

offlineMsg: '<?php echo nuText($app->getCfg('offline_message')); ?>',

When I change the offline message in the page confirguation the site will not show any offline site?
Some one please help me?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #139721 by Krikor Boghossian
Replied by Krikor Boghossian on topic how to change Offline message
Hello Nicklas,
offlineMsg: '<?php echo (strlen(trim($app->getCfg('offline_message'))<5)) ? nuText('JOFFLINE_MESSAGE') : nuText($app->getCfg('offline_message')); ?>'

This is the core from the offline.php.
This code renders the site's offline message. You do not need to edit the php, all you need to do is enter a new custom message from your site's global configuration.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Nicklas Sigvaldason
  • Nicklas Sigvaldason's Avatar Topic Author
  • Offline
  • New Member
More
9 years 5 months ago #139722 by Nicklas Sigvaldason
Replied by Nicklas Sigvaldason on topic how to change Offline message
Thansk for your replay,

The problem is then i try to change the message in the global configuration in the backend, the page is not saving the message?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #139723 by Krikor Boghossian
Replied by Krikor Boghossian on topic how to change Offline message
Is your configuration.php file writable?
Can you see the custom message in the backend?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #139724 by Ideas Fan Inc.
Replied by Ideas Fan Inc. on topic how to change Offline message
Hello!

You can solve this issue?

Actually I have the same problem.... :(

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #139725 by Krikor Boghossian
Replied by Krikor Boghossian on topic how to change Offline message
Hello Alfonso,

I didn't get a response from Nicklas, so I have to answer the same question to you.
Is your configuration.php file writable?
If it isn't then your site's options cannot be saved in this file.

You can see which files/ folders are unwritable from the System Information menu item.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #146662 by Stefan Gilliam
Replied by Stefan Gilliam on topic how to change Offline message
Having the same problem. I did check my config.php and it is writable, but still not seeing my custom message on the front end. I can see it on the backend, but not as the front end offline message. it only shows the default message no matter how I try to change it.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #146673 by Krikor Boghossian
Replied by Krikor Boghossian on topic how to change Offline message
Hello Stefan,

Please open a ticket so we can sort this out.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago #151733 by Edwin Witlox
Replied by Edwin Witlox on topic how to change Offline message
I know it is a long time ago that this forum post was initiated, but i now have the same problem.
Ik have set a custom offline message in the back-end configuration and i can see the message i saved, but on the front-end another message is show

This is whats happens in my case.
- I have a closed forum that is only for registered users.
- I send a link to a forumpost in my newsletter.
- The user clicks on this link and a message is shown that the forum is offline and under maintenance (in Dutch)
The message that is shown is not the message i save in the configuration.

Also i can't seem to find where this message is comming from.
Screenshots: http://imgur.com/a/UpXot

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago #151741 by Lefteris
Replied by Lefteris on topic how to change Offline message
@Edwin Witlox

This is not related with K2 at all.

Probably your template is using an override for the offline.php. So check your template's files.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum