| Author | Message | ||
Location: Russia Saint Petersburg Occupation: GSM engineer Age: 28 215 posts |
29-10-2006 12:15 GMT #108086 |
||
|
1st step - i placed
Code: {PHP.cfg.freetext5} into index.tpl2st step - in freeslot 5 i`ve placed code: Code: <div class="roundcont" style="width:30%; float:left;"> <div class="roundtop"> <img src="skins/sms2/img/tl1.gif" alt="" width="15" height="15" class="corner" style="display: none" /></div> <div style="background-image:url(skins/sms2/img/textbox.jpg); background-repeat:no-repeat; background-position:top left; padding:0px 15px;"> <a class="freetextlink" href=""> <img id="textlogo4" class="image" src="skins/sms2/img/textlogo4.gif" onMouseOver="fadeOpacity(this.id, 'oR1')" onmouseout="fadeOpacity.back(this.id)" alt="textlogo" width="64" height="64" align="absmiddle" style="margin-left:10px; margin-top:5px; margin-bottom:0px; float:left; border:0px;"> <h2>{PHP.skinlang.index.Polls}</h2> <br /><br /> <div class="freetext">{PLUGIN_LATESTPOLL} </div> </a> </div> <div class="roundbottom"> <img src="skins/sms2/img/bl1.gif" alt="" width="15" height="15" class="corner" style="display: none" /></div> </div> 3rd step - load the page. I can see only Code: {PLUGIN_LATESTPOLL} at page.4th step - i`ve put same code in index.tpl 5th step - load the page. Now i can see two polls - one from freeslot and other from index.tpl BTW - it will be good to have an option to put {PLUGIN_LATESTPOLL} into freeslot for me Code: <div style="overflow:hidden; height:0px; width:0px;" >{PLUGIN_LATESTPOLL}</div> and code above into freeslot - and i have polls from freeslot on index page visible only================================================= now another way... i`ve turn on html parsing and put {PHP.skinlang.index.Polls} and {PLUGIN_LATESTPOLL} into new news message. And on INDEX page , where i already have same tags i can see 2 polls but i cant see poll in new news message on page.php?id=xxx This post was edited by b00ka (29-10-2006 12:43 GMT, ago) |
|||
Agent Smith's fan since 1902
Location: France Grenoble Occupation: A lot Age: 35 6165 posts |
30-10-2006 07:52 GMT #108104 |
||
|
Thats by design, you CANNOT put tags in the menu or free slots, it's not parsed.
Simply put {PLUGIN_LATESTPOLL} in index.tpl, and nothing in the free slots. |
|||
Location: Russia Saint Petersburg Occupation: GSM engineer Age: 28 215 posts |
30-10-2006 08:45 GMT #108105 |
||
|
yep - if they not parsed, why i can see 2 polls slots? one poll from freeslot (not parsed?) and other from parsed tag {} at index.tpl?
|



