Page 2 of 2
Re: Classifieds -MOD Block
Posted: 3. January 2012 19:45
by Kirk
Open the portal_classifieds_mod_side.html and change the value:
I currently do not have time to solve this problem.
Re: Classifieds -MOD Block
Posted: 4. January 2012 12:11
by playagiron
Hi,
no problem, will check it out and try to get a solution in the future.
For now the center Block works just great.
Just a minor bug I found: The right and left barriers are twice as wide as of the normal blocks (forumlist, who is online, ...).
I found the culprit to be a redundant div tag and here is what solve's the problem:
In the center.html file just remove the second line "<div class="forabg">" as well as the closing tag in the second to last line "</div>".
Now it looks as all the other blocks.
Re: Classifieds -MOD Block
Posted: 4. January 2012 17:27
by Kirk
Hi
Thx for the tip with the right and left barriers,
I had not yet noticed.
Re: Classifieds -MOD Block
Posted: 6. January 2012 14:38
by Kirk
I have the side block revised.
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
<div class="topiclist">
<!-- BEGIN rand_ad -->
<li><dl>
<li class="row bg2 classifieds_block" style="width:100%;" <!-- IF rand_ad.S_LAST_ROW and rand_ad.S_ROW_COUNT is even -->style="width:100%;"<!-- ENDIF -->>
<dl>
<dd>
<div class="cl_thumb" style="margin: 10px 0px 0px -4px;">
<!-- IF rand_ad.THUMB -->
<img src="{rand_ad.THUMB}" alt="{rand_ad.TITLE}" />
<!-- ELSE -->
<img src="{ROOT_PATH}/buysell/images/noimage.gif" alt="{rand_ad.TITLE}" />
<!-- ENDIF -->
</div>
<div class="cl_desc" style="margin: 1px 0px 1px 0px;">
<a href="{rand_ad.AD_LINK}"><b>{rand_ad.AD_TITLE}</b></a><br />
{L_IN} <b>{rand_ad.CATEGORY}</b><br />
<b>{L_CL_PRICE}</b>: {rand_ad.AD_PRICE}<br /> <i>{L_CL_BY}</i> {rand_ad.AD_POSTER}
</div>
</dd>
</dl>
</li>
</dl></li>
<!-- END rand_ad -->
</ul>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Screenshot
Re: Classifieds -MOD Block
Posted: 6. January 2012 15:53
by playagiron
Hi,
thanks, no it looks as it should. Still the side bar is now larger than before but this is entirely due to the Classified Mod Blocks which have a fixed width.
Changing both (btw, not sure you need both?!) style:width:100% to width:150px; kind of solves the problem but then the advertisements are cut. SO I think this is as good as it gets using the Classified mod. Further tweaking would need some Modding of the Original Classified Mod Files and go beyond a simple block.
So I would consider this Block as Finished! Thank you for your great work!!! Looking forward to portal 2.0.0 final now!
Kudos!