hi all,
I would like to remove the item Description only reading the Category item list, but Not on ITEM action
2 sreenshot to make it easy to understand, sorry for my english ???
remove (http://i25.tinypic.com/2s0bpt0.jpg)
not remove (http://i30.tinypic.com/2925od0.jpg)
about TPdlmanager.template.php, I found the Description defined here:
echo '
<b><a href="'.$dlitem['href'].'">'. $dlitem['name'] .'</a></b> ' , ($context['TPortal']['dlaction']!='item' && isset($dlitem['filesize'])) ? '<br />'.$dlitem['filesize'] : '' , '<div class="smalltext">
'.$dlitem['description'];
thx
Remove this code exactly:
.$dlitem['description']
Make sure you don't remove the single quote or the semi-colon.
removing it, I remove all the description in both cases, I have to remove only in the first screenshot.
thx for your support
If that removed it from both places then I would say its not really an easy thing to make it do what you want without re-writing some of the code.
the ECHO command define to remove the Command SIZE during the action ITEM.
my question is: is it possible to write the command to not to show Descrption too?
thx
If what you removed affected both the item AND the download description, then no. Its not possible.
I solved my problems doing it on TPdlmanager.template.php:
after // edit the file? find if($context['TPortal']['dlaction']=='item')
echo ' I added it:
<tr><td></td><td>'.$dlitem['description'].'</td></tr>
and as you said I removed from command:
echo '
<b><a href="'.$dlitem['href'].'">'. $dlitem['name'] .'</a></b> ' , ($context['TPortal']['dlaction']!='item' && isset($dlitem['filesize'])) ? '<br />'.$dlitem['filesize'] : '' , '<div class="smalltext">
'.$dlitem['description']; the last part.$dlitem['description']
it seems to work, what do you think about?
thx for support
If it works for you then what is the question? The way you described what happened you confused the heck out of me, so if it works, then great.
my intention wasn't to confuse you, sorry, tonight I just tryed this way, and I saw that was working, and I asked you what do you think, and at last I posted my modification for the other user.
it is solved for me, thx