OS Property support center

Moving the System Error Messages

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 5 months ago #53449 by Jim
Is there a way to move the system error messages up the page. (currently users don't see them as they are below the slideshow)

I would like them to be under the mainnav and above the large sliding header images


Attachments:

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

  • Truong Tong Quang
  • Away
  • Junior Member
  • Junior Member
More
10 years 5 months ago #53505 by Truong Tong Quang
Replied by Truong Tong Quang on topic Moving the System Error Messages
Dear Jim,
- You on folder: templates/osprealestate/tpls/blocks/mainbody: one-sidebar-right.php
line 19 remove:
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
- You on folder: templates/osprealestate/tpls/blocks:mainnav.php
line 70 add:
<?php if($this->hasMessage()) : ?>
<div class="container">
<jdoc:include type="message" />
</div>
<?php endif ?>
Thanks
Truong

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

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 5 months ago #53587 by Jim
Replied by Jim on topic Moving the System Error Messages
Hi Truong,
Many thanks thats great. I have done that and it works well. however, i guess the code is also on different templates which i will also have remove? (see below image).
Also.... would it be better to change the code in directly in the templates (via ftp), or using the template manager and 'create overrides ?
I am asking as if i upgrade OS_Property i don't want my changes to be over written, or doesn't it make a difference ?


Attachments:

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

  • Truong Tong Quang
  • Away
  • Junior Member
  • Junior Member
More
10 years 5 months ago - 10 years 5 months ago #53608 by Truong Tong Quang
Replied by Truong Tong Quang on topic Moving the System Error Messages
Dear Jim,
You can copy file in folder:templates/osprealestate/local
The issue will been solved . Please check it and get back to me
Thanks
Truong
Attachments:
Last edit: 10 years 5 months ago by Truong Tong Quang.

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

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 5 months ago #53613 by Jim
Replied by Jim on topic Moving the System Error Messages
Good morning
Thank you for the files, they are identical to mine.
They work on most pages, but the login page still has 2 error messages.
are the login templates different?

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

  • Truong Tong Quang
  • Away
  • Junior Member
  • Junior Member
More
10 years 5 months ago #53675 by Truong Tong Quang
Replied by Truong Tong Quang on topic Moving the System Error Messages
Dear Jim,
Please submit ticket and send your site information with super admin account.
Thanks
Truong

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

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 5 months ago #53722 by Jim
Replied by Jim on topic Moving the System Error Messages
Hi Truong,

Here are my 2 files attached. Its only the logon template that produces 2 messages.

Jim
Attachments:

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

  • Truong Tong Quang
  • Away
  • Junior Member
  • Junior Member
More
10 years 5 months ago #53774 by Truong Tong Quang
Replied by Truong Tong Quang on topic Moving the System Error Messages
Dear Jim,
Please post your website url, can you give me information ftp . We will help you.
Thanks
Truong

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

More
10 years 4 months ago #55544 by filaretos
Replied by filaretos on topic Moving the System Error Messages
Hello,
the post was really helpful and i was able to place the system messages under tha mainnav.
My question is if i can postion the system messages at the center of the screen, like a pop-up.
I have tried "System - Joomla Messages" plugin but some messages can't be closed or their position is on top of the page.
Is there a simple way to do it?

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

Moderators: Mr. DamNguyen Phu Quan