|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions $CID$ in $MYINF_NUMBR$ |
$CID$ in $MYINF_NUMBR$ |
Hi. I have made 25 categories. ID starting from 1 to 25. Also, i made 25 informers which shows all the added entries in this specific category.
Is there anyway i can use $CID$ to add the number to $MYINF_NUMBR$ ? For example: if $CID$ = 4 then $MYINF_4$ must be displayed. Thanks. Post edited by FOF - Tuesday, 2014-09-02, 8:36 PM
|
FOF, no, it is not possible to assign custom informer IDs in any way, they are assigned by the system automatically. The only thing you can do is create informers in the same order as the categories. But please note that if you delete an informer, a new informer with the same ID cannot be created, e.g. if you create $MYINF_4$, then delete it, the next informer you create will be $MYINF_5$.
I'm not active on the forum anymore. Please contact other forum staff.
|
Sunny, i have already done that. I just don't know how to expose the specific myinf. I need a code, probably js.
Example, if http://www.smotrisimpsoni.ru/load/14_sezon/ is open then $MYINF_14$ is supposed to be shown there. The number should work from 1 to 25. If $CATEGORY_NAME$ is 10_sezon ($CID$ = 10), then there should be $MYIF_10$ shown. I want to use it on open entry page, so if i am watching "Season 10 episode 1" then next to that episode would be $MYINF_10$, which would show all the episodes in exact category. http://www.smotrisimpsoni.ru/load....1-0-211 Thanks. Post edited by FOF - Monday, 2014-09-08, 4:42 PM
|
Sunny, good idea
Code <?if($CID$=10)?>$MYINF_10$<?else?> <?if($CID$=11)?>$MYINF_11$<?else?> <?if($CID$=12)?>$MYINF_11$ <?endif?><?endif?><?endif?> * You have to write <?endif?> many times you see <?if(....)?> 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 |
| |||
| |||