1
Anonymous
Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 14:33

  • Anonymous

  • Posts: 0

  • Since:


After heavily hacking the inline css I managed to fit heyula's TDM blocks hack in my site. There is only one problem left. It messes up the block below, as can be seen at www.nlxoops.nl.

What can I do to fix this?

2
Anonymous
Re: Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 15:45

  • Anonymous

  • Posts: 0

  • Since:


btw, this is what the code looks like now (tdmdownloads_block_new.html)
<style> .btn-list{margin-bottom:19px} .btn-list li{width:100%;margin-bottom:0px;float:left} .btn-list li a,.btn-list li a:visited{height:48px;background:#fff url(http://www.programgezgini.com/uploads/images/btn-list.png) top repeat-x;display:block;border:solid 1px #e1e1e1} .btn-list li a:hover{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,0.2);background-color:#639ee5;background-position:bottom;border-color:#5587c4} .btn-list li img{width:80px;height:45px;margin-right:8px;float:left;border-right:solid 1px #e1e1e1} .btn-list li a:hover img{border-right-color:#5587c4} .btn-list li strong{font-size:1.2em;font-weight:normal;padding-top:6px;display:block} .btn-list li span{color:#8b8b8b;padding-top:3px;display:inline-block} .btn-list li a:hover span{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,0.2)} .btn-list li {list-style-type: none !important } </style>  <div class="btn-list"> <ul>     <{foreachq item=downloads from=$block}>     <li>                                               <A title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory"><IMG width="50" height="30"  src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /><STRONG><{$downloads.title}></STRONG><SPAN> </SPAN></A>                                           <{if $downloads.inforation}>         <div class="itemInfo">             <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span>             <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span>              <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span>              <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span>          </div>         <{/if}>         <{if $downloads.logourl || $downloads.description}>         <div class="itemBody">             <div class="itemText justify">               <{if $downloads.logourl != ""}><{/if}>              <{if $downloads.description != ""}>                 <{$downloads.description}>                 <span class="itemPermaLink">                     <a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory">--></a>                 </span>              <{/if}>           </div>             <div class="endline"></div>         </div>         <{/if}>     <{/foreach}>     </li>     </ul> </div>

3
heyula
Re: Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 16:42

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


ben ne yapmak istediğini anlamadım.

4
zyspec
Re: Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 16:44

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You might try just adding:

<div class='clear'></div>


after your final </div> above so that it doesn't interfere with the next block.

By the way... I don't use this module/hack but should <{if $downloads.inforation}> be <{if $downloads.information}>? Seems like a typo

5
Anonymous
Re: Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 17:32

  • Anonymous

  • Posts: 0

  • Since:


No, it's a typo but it's also not a typo. This typo is also in the original block I'll try your suggestion and will report back!

6
Anonymous
Re: Troubleshooting heyula's TDMDownloads block
  • 2013/5/16 17:37

  • Anonymous

  • Posts: 0

  • Since:


This did the trick zyspec, thank you so much!

Login

Who's Online

233 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits