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 http://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 }    
         <{foreachq item=downloads from=$block}>     
  •                                                " href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory">" alt="<{$downloads.title}>" /><{$downloads.title}>                                            <{if $downloads.inforation}>                      <{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}>             <{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}>              <{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}>              <{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}>          
         <{/if}>         <{if $downloads.logourl || $downloads.description}>                                     <{if $downloads.logourl != ""}><{/if}>              <{if $downloads.description != ""}>                 <{$downloads.description}>                                      " href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory">-->                               <{/if}>           
             
         
         <{/if}>     <{/foreach}>           

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

  • heyula

  • Theme Designer

  • Posts: 596

  • 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
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

350 user(s) are online (280 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

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

Latest GitHub Commits