Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Hints and Tips on design (Bg, font-colour, box, flash clock, legends, img, tables etc.) |
Hints and Tips on design |
I'm trying to use the $BRIEF$ code in the entries appearence of Ad Board, but I'm getting nothing. It's no possible to use this code???? I don't want the whole $MESSAGE$ in the main, section and category pages.
Post edited by osmanys - Friday, 2015-07-31, 4:30 PM
|
osmanys, the code $BRIEF$ isn't supported by the "Appearance of entries" template of Ad Board. But the code $MESSAGE$ of this template displays the content of the brief description field ("Ad text" field).
I'm not active on the forum anymore. Please contact other forum staff.
|
Sunny, perfect!!! that solve my problem. Thanks
Added (2015-08-07, 5:30 PM) |
Hey people I have a question, code $SEARCH_FORM$ don't work on the register page?????? Looks like the variable is not supported by the page template. But you can use the script of the search form instead, e.g. Code <div class="searchForm"> <form onSubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="http://site.ucoz.cpm/"> <input type="text" name="query" class="s_field" style="width:280px"/> <input type="submit" class="button" name="sfSbm" value="Search"/> <input type="hidden" name="a" value="14" /> </form> </div> 1. http://site.ucoz.com - the section on your website where the users will search 2. class="s_field" - the style of the form 3. style="width:280px" - the length of the form 4. class="button" - the style of the search button 5. value="Search" - the text on the search button I'm not active on the forum anymore. Please contact other forum staff.
|
bigblog, I mean this buttons:
Attachments:
6237434.jpg
(15.9 Kb)
|
bigblog, problem solved, using the id of each button and the property/value CSS display:none... Now my entries editor looks like
Attachments:
9997179.png
(6.2 Kb)
|
casinowallstreet, these codes will not work if you're logged in. I recommend using a conditional operator to check whether the user is logged in or not:
Code <?if(!$USER_LOGGED_IN$)?><!-- read: if the user is not logged in --> <a href="$LOGIN_LINK$">Log In</a> <a href="$REGISTER_LINK$">Register</a> <?else?><!-- read: if the user is logged in --> Content for users who are logged in. <?endif?> If you don't want to display any content for users who are logged in, just remove these two lines: Code <?else?><!-- read: if the user is logged in --> Content for users who are logged in. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
casinowallstreet, how do you want to log into a website if you're already logged in? Just log out of your account or test the links using the incognito mode of your browser
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
So, as the developer I need to 'play user' and test links etc. Some or most of the free pages will have a link that would take a user to a registration page, and once registered (s)he would need only to log in to the restricted page each day for the alerts. You can test different user groups using the website's toolbar: http://take.ms/m7sWs Login page - yoursite.com/index/1 Registration page - yoursite.com/register These pages are only available when you are logged out, which is perfectly normal. The ideal would be for me to be able to automate some stuff e.g. record day of month user signed up so that reminders can be sent say 27 days later to renew or lose access. Unfortunately, you cannot send automatic reminders but the registration date of the users is indeed recorded. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
| |||