Osclass forums
Development => Development => Topic started by: jaspreet on January 25, 2013, 08:42:56 pm
-
how to add flash massage when people resignation and show to bar check your email and active your account please tel me
-
:-\ please reply me i want need your help
-
It is already showing in modern theme, which theme you use ?
-
how to show flash message like this top bar
-
sir it's image i want to create yellow top bar pop on how to create it please tel me
-
like this image i want flash message pop on on top bar how to create like this image pop top ?
-
i don't understand can you write here what you can say
-
you can check this site click post your ad you see pop on top i want to like this pop on
http://www.quickpostindia.com/
-
Like Shree said before, that is built-in to Osclass.
Goto admin--> Listing-->Settings and check the box "Only logged in users can post listings"
-
sir you can't get my point sir i want pop on top bar flash message like i'm share site
-
please reply me anyone i want need your help :(
-
please help me
-
Hi jaspreet,
What exactly are you looking for? It looks to me as shree and mmcsus have answered your question. Maybe you could explain more that way it would be easier for us to understand what you are looking for.
Jay
-
sir i want flash message show on top bar like this site http://www.bechlo.com/ and close automatically you check this
-
Which version of Osclass are you using? Also which theme are you using?
Jay
-
i'm using latest version 3.0.2 and theme modern
-
Then the flash messages should be working just fine can you post your site url?
Jay
-
this my site url
http://daddyclassifieds.in/
-
It seems as your site is missing the css for the flash messages.
Your style.css file needs this code.
/* Flash message */
.flashmessage,
.flashmessage {
font-size: 14px;
padding: 15px 0;
width: 100%;
top: 10px;
z-index: 999;
text-align: center;
}
.flashmessage-warning {
background-color: #FCF8E3;
border: solid 2px #FBEED5;
color: #C09853;
}
.flashmessage-error {
background-color: red;
border: none;
color: #fff;
}
.flashmessage-info,
.flashmessage-ok {
background-color: #D9EDF7;
border: solid 2px #BCE8F1;
color: #3A87AD;
}
.flashmessage .ico-close {
position: absolute;
top: 14px;
right: 17px;
float: right;
font-size: 18px;
line-height: 18px;
color: white;
text-shadow:none;
text-decoration:none;
font-weight: bold;
cursor: pointer;
}
.flashmessage-error .close {
color: #B94A48;
}
.flashmessage-warning .close {
color: #C09853;
}
.flashmessage-success .close,
.flashmessage-information .close {
color: #3A87AD;
}
.forcemessages-inline{
clear:both;
width: 960px;
margin-bottom:15px;
}
.forcemessages-inline .flashmessage{
position: relative;
}
Jay
-
now flash message show in center i want show top header and not automatically close
-
please help me :(
-
To make the flash messages show up at the top you have to edit the header.php file and move this code
<div class="forcemessages-inline">
<?php osc_show_flash_message(); ?>
</div>
from the end of the page to just below this line
<div class="container">
The flash messages no longer auto close in 3.0.2 which is nice. Say for example the user clicks the publish button but they are not logged in but switches tabs before the page switches with the auto hide they would not know why they where directed to the login page instead.
Jay
-
this working fine but my site layout not fine check it please
-
sir reply me :(
-
by default is "built in" on OSclass
the variable is <?php osc_show_flash_message() ; ?> that should be on the header of your theme an controlled by the css file also from your theme like stylesheet.css or style.css
below is a sample:
/* Flash message */
.flashmessage,
.flashmessage {
font-size: 24px;
font:red
font-weight:600;
padding: 25px 0;
width: 100%;
top: 10px;
z-index: 999;
text-align: center;
}
.flashmessage-warning {
background-color: #FCF8E3;
}
.flashmessage-error {
background-color: #F2DEDE;
}
.flashmessage-info,
.flashmessage-ok {
background-color: #D9EDF7;
}
.flashmessage .ico-close {
position: absolute;
top: 14px;
right: 17px;
float: right;
font-size: 18px;
line-height: 18px;
color: white;
text-shadow:none;
text-decoration:none;
font-weight: bold;
cursor: pointer;
}
.flashmessage-error .close {
color: #B94A48;
}
.flashmessage-warning .close {
color: #C09853;
}
.flashmessage-success .close,
.flashmessage-information .close {
color: #3A87AD;
}