I know I have asked this before and did a search but could not find what I wanted
So anyway how do I remove just this code only
[attachment deleted by admin]
Edit TPortal.template.php
Find the following (approximately line 57):
// if featured..do something to the subject?
echo '
</div>
<div style="padding: 8px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '>
<div style="padding-bottom: 4px; vertical-align: bottom;" class="smalltext"> '.$news['time'].' '.$txt['tp-by'].' <b><a href="'.$news['poster']['href'].'">'.$news['poster']['name'].'</a></b></div>';
if($news['icon']!='noicon'){
echo $news['body'];
Change it to:
// if featured..do something to the subject?
echo '
</div>
<div style="padding: 8px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '>';
if($news['icon']!='noicon'){
echo $news['body'];
It will make things then look like the following image
[attachment deleted by admin]
Thanks Rasyr, that works perfect ;D
Should this be moved to the FAQ??
Mean you not need the time of post ?
Shouldn't the title say Article instead of Post?
I just move it here because it was knowledge -- I figured it would be all changed to look and feel for the FAQ
QuoteShouldn't the title say Article instead of Post?
Changed
What folder is TPortal.template.php in?
default i think.
you plan to alter it do you? If you are, then copy it to the theme folder you are using and make changes there. Unless you are using teh defaut theme.
I wanting to remove the time and date from the articles,but I'm not finding that file. The default theme was the first place I looked,I'm probably just blind.
TPortal.template.php is in the Themes\default
Found it via ftp,but it wasn't showing up in the Control Panel.
Thanks
Tportal.template.php should be in the "default" folder (which is inside the Themes folder). There should be several different TP-related files there.
They are in for sure,but I couldn't see them in C-panel for some reason.
Took care of the date and time thing already,thanks for the help guys!