Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

[SOLVED]Error Message Display Location

6 years 9 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

Hi,
When a user logs in to our website ( www.migrantarena.com/ ) with an incorrect password, the error message is displayed at the bottom of the scrolling image (above the "Get Connected" button area, for the user to see or be aware of the error message, he will need to scroll down the page . How can I display the message in a more obvious location for the user to see?
A screenshot is attached.


Thanks

Attachments:
6 years 9 months ago
Licenses:

Hi, Bunmi.

Thank you for contacting us.
This is s system message and it's displayed by this code: <jdoc:include type="message" />.
You display your module in spotlight. Then you must remove this code:

			<?php if($this->hasMessage()) : ?>
			<jdoc:include type="message" />
			<?php endif ?>
From: ROOT/templates/socialize/tpls/blocks/mainbody/no-sidebar.php (depends what layout you use)

And paste it to :
ROOT/templates/socialize/tpls/blocks/spotlight-1.php


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 9 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

Hi Michal,

Sorry for the late response. I followed your instructions but that the error message was not displayed at all anywhere on the screen. Any assistance will be appreciated.

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Bunmi,

Would you mind provide me backend and FTP access, please? so I can apply the solution by myself

6 years 9 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

Hi Dimas,

Thanks, here are the credentials for the backend and FTP access.


Thanks.

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Ok, done it will be like this

Attachments:
6 years 9 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

Hi Dimas,

That fix looks awesome. Thanks. For my knowledge and to replicate this in the test/dev environment, what did I miss or what did you do differently from Michal's instruction for this to work?.

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Minor mistake from michal, here is the correct steps

Find this code

			<?php if($this->hasMessage()) : ?>
			<jdoc:include type="message" />
			<?php endif ?>
From: ROOT/templates/socialize/tpls/blocks/mainbody/no-sidebar.php (depends what layout you use)

And paste it to :
ROOT/templates/socialize/tpls/blocks/top.php

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Or, if you wanna apply this on another installation you only need copy-paste this folder ROOT/templates/socialize/tpls/blocks

6 years 9 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

Thanks Dimas.

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

you're welcome :)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW