|
uCoz Community Archives Locked help! auto hide link to guest |
help! auto hide link to guest |
Quote (CreativeCollusions) Use Conditional Operators. it can same ; <!--hidelink--> <?if($MODULE_ID$='news')?></td></tr></table><?endif?> <!--hidelink--> but it don't active , i 'm tried more , it active in forum only please help me make code, thank you if you don't understand , i'm sorry because my english is bad Welcome to : http://softvn.mooo.com
|
Quote (Natashko) 12a3, is the problem still topical? The page here doesn't exist oh! i'm test only and unfortunately i'm deleted you can review ; http://softvn.mooo.com/news/echip_s_517_ra_ngay_15_02_2011/2011-03-22-13 Welcome to : http://softvn.mooo.com
|
12a3, natashko her method should work , what do you want to achieve , hide the download link ?
conditional operators should work , but if you want i can make a more detailed method with conditional operators , if you use the file catalog To busy building a passive income online ;)
|
Quote (Animorph) 12a3, natashko her method should work , what do you want to achieve , hide the download link ? conditional operators should work , but if you want i can make a more detailed method with conditional operators , if you use the file catalog can you? Please i'm thank anyone Welcome to : http://softvn.mooo.com
|
12a3, well if you use the File Catalog you must hide the download link for guests ¨with conditional operators
go to CP ---> Design ---> Design management (templates) ---> File Catalog ---> Page with entry full text and its comments Find: Code [ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Download from this server<!--</s>--></a> ($FILE_SIZE$)<?endif?> <?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Download from mirror<!--</s>--></a> ($RFILE_SIZE$)<?endif?> and then just use conditional operators that natashko provided you abvove Like this:
Code <?if($USER_LOGGED_IN$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Download from this server<!--</s>--></a> ($FILE_SIZE$)<?endif?> <?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Download from mirror<!--</s>--></a> ($RFILE_SIZE$)<?endif?><?else?><a href="$REGISTER_LINK$" target="_blank">Register</a> to see the download link<?endif?> To busy building a passive income online ;)
|
Quote (Animorph) 12a3, well if you use the File Catalog you must hide the download link for guests ¨with conditional operators go to CP ---> Design ---> Design management (templates) ---> File Catalog ---> Page with entry full text and its comments thanks you,I will try Welcome to : http://softvn.mooo.com
|
| |||
| |||