uCoz Community » uCoz Modules » Additional Features » Informers (help on informers, interesting solutions)
Informers
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 10:09 AM
# Informer Samples #

Informers serve to display entries of particular modules on any pages of any sites. For example, you can output the latest forum threads or most commented photos right on the main page. This helps to make your site more interesting and handy for the visitors.

To create an Informer:

1. Go to Informers section on the main page of the Control Panel.

2. Press Create informer.

3. Select necessary module in the field with the pop-down list. (Additional options will appear depending on a module).

4. Set parameters of the options Number of entries and Number of columns.

5. Press Create.

6. Insert the obtained code of the type

Code
$MYINF_id$
where you need.

7. Informer appearance and the information for output can be edited in informer template. Type of information (uCoz codes) depends on the source module. List of codes, available for a certain informer, is under the form for editing template.

With the help of the informer, you can output information both on pages of your website and on any other site in the internet.

There are no explanations for the codes, used in informer template. This is because informers are a serious thing and you should not edit informers without good knowledge of HTML and uCoz system.



Question-answer

Where should I put the code of informer?
Control Panel -> Design -> Design management(templates).

***
How can I find out ID of an entry?
View list of entries or categories and you’ll find their IDs.

***
Is it possible to output entries in random order?
Yes, when you select a type of entries sorting you can choose the item "In random order".

***
Is it possible to make $ID$ code in the informer with Photo Album, because photos often have no names?
Do not output a name at all.

***
How can I output an image, belonging to the news entry, in the informer?
Edit informer template and insert a variable that will display the image.

***
Is it possible not to output in the news informer the news entries that are on the main page?
No.

***
Is it possible to do the following: the informer starts to count users’ messages form a certain time and does not take into account earlier messages?
No.


I'm not active on the forum anymore. Please contact other forum staff.
osmanys
Posts: 56
Reputation: 1

Message # 436 | 4:38 PM
Sunny,
Quote Sunny ()
Informer data is being cached, it's not refreshed immediately


Who long takes an informer to update its content? And, how, if is possible, can I change this time?
Ed05
Posts: 556
Reputation: 7

Message # 437 | 8:58 PM
I dont know why but when i create informer to display enteries in random order its always display the same enteries.
Another problem is that we need option when create informer to chose list of section IDs.
In that way owners of websites will have option to oputput certain section, now its hard cause we must enter category id's .Its hard for us who have more than 30 categories in section.Not to mention that informer is limited on smaler number when adding category IDs.

!
Post edited by Ed05 - Sunday, 2015-07-05, 9:07 PM
Sunny
Posts: 9296
Reputation: 456

Message # 438 | 9:30 AM
Quote Ed05 ()
I dont know why but when i create informer to display enteries in random order its always display the same enteries.


Please provide the link to the page with the informer.

I'm not active on the forum anymore. Please contact other forum staff.
Admin6123
Posts: 14
Reputation: 0

Message # 439 | 6:43 PM
bigblog, Thanks that help me too happy
Student and Developer!
Post edited by Mawerick - Friday, 2015-08-14, 6:50 PM
Mawerick
Posts: 14
Reputation: 0

Message # 440 | 3:10 PM
Little help picture is not showing why??Here is how i made img code i tried every code and still not working... Thanks...
Code
<img src="$IMG_URL1..10$" alt="$CATEGORY_NAME$" title="$CATEGORY_NAME$" width="150" align="left" height="220">

Attachments: 5166361.png (19.0 Kb)

Student and Developer!
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 441 | 11:41 PM
Mawerick, replace $IMG_URL1..10$ with $IMG_URL1$ smile
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
Mawerick
Posts: 14
Reputation: 0

Message # 442 | 8:59 AM
bigblog, Changed but still not working... wacko
Attachments: 4419449.png (17.5 Kb)

Student and Developer!
Post edited by Mawerick - Monday, 2015-08-17, 9:01 AM
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 443 | 2:03 PM
Mawerick, have you uploaded the image of the entry? Or what (field/form element) are you exactly using as the image?
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
Sunny
Posts: 9296
Reputation: 456

Message # 444 | 2:26 PM
Mawerick, do you have images attached to the entries displayed in the informer?
I'm not active on the forum anymore. Please contact other forum staff.
Mawerick
Posts: 14
Reputation: 0

Message # 445 | 2:35 PM
bigblog, yes,
Sunny, I don't understand you here is code...

Code
<table align="center" border="0" cellspacing="0" cellpadding="0" width="100%" class="catsTable"><tr><td style="width:25%" class="catsTdI" id="cid120" valign="top"><b>  <a href="$CATEGORY_URL$" class="catName">$CATEGORY_NAME$</a></b><br> <div style="margin: 3px;"><fieldset style=" border:2px solid #404040; border-radius:10px;width:150px;height:220px;background:#000000;"><div class="catDescr"><a href="$CATEGORY_URL$">
<img src="$IMG_URL1$" alt="$CATEGORY_NAME$" title="$CATEGORY_NAME$" width="150" align="left" height="220"></a><b><i></div></table>

Student and Developer!
Sunny
Posts: 9296
Reputation: 456

Message # 446 | 3:09 PM
Mawerick, please provide the link to the page with the informer.
I'm not active on the forum anymore. Please contact other forum staff.
Mawerick
Posts: 14
Reputation: 0

Message # 447 | 3:47 PM
Sunny, http://filmonex.ucoz.com/index/komentari/0-14
Student and Developer!
Post edited by Mawerick - Monday, 2015-08-17, 3:50 PM
Sunny
Posts: 9296
Reputation: 456

Message # 448 | 1:57 PM
Mawerick, that's an informer for categories, its template does not support any image $codes$. And categories don't have such option as category image anyway.

You could do something like this: use image links like http://filmonex.ucoz.com/categories/$CID$.jpg in the informer template, where categories is a folder in the File Manager with all category images, and $CID$ is a category ID. You will need to name all category images after their IDs, e.g. an image for the category with ID 3 will be 3.jpg.

I'm not active on the forum anymore. Please contact other forum staff.
Mawerick
Posts: 14
Reputation: 0

Message # 449 | 1:04 PM
Sunny, ok Thank you very much happy
Student and Developer!
Post edited by Mawerick - Sunday, 2015-09-20, 1:13 PM
osmanys
Posts: 56
Reputation: 1

Message # 450 | 8:18 PM
Hi everybody, I want a feed for the most popular entries sorted by comments, it's possible have a feed from an informer? If no, how can I, if I can, have such feed.

Thanks in advance.
uCoz Community » uCoz Modules » Additional Features » Informers (help on informers, interesting solutions)
Search: