TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,980
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 261
  • Total: 261

Remove Author from Article in Category Box

Started by SniffTheGlove, September 12, 2006, 11:26:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SniffTheGlove

Hi All,

If you have a Category Box showing and fill it with articles, the article title is shown along with "by xxxxxxx" with xxxxxx being the author.

e.g Constitution by Administrator

Does anybody know if it is possible to remove the author from the Category Box Display?

Thanks


IchBin

Edit the articles visual options and you can turn off the option to show the authors name.

SniffTheGlove

IchBin, There is no visual options properties for a Category box apart from the type of frame to use (plus allow/do not allow collapse and permissions), unless I have missed the settings elsewhere.

Could you point me to the visual options for a Category Box so I can switch off the author from displaying.

Thanks


G6Cad

Admin/TinyPortal/Article Manager/ Click the little tool icon for the article you want to change /At the bottom of that page just over the send button you have a link to the visual options for the article

SniffTheGlove

Sorry, you all seem to misunderstand me.


I have attached a jpg of a Category Box.

It contains articles, the article title is shown along with "by xxxxxxx" with xxxxxx being the author.

e.g Constitution by Administrator

Can I remove the author ( "by xxxxxxx" ) from the Category Box

I hope this explains it better

Thanks

Hack

I would love to know how to do the same thing.. some of the articles I have added to my site dont actually need my name next to them to say created by so it would be prefered if I could remove it  :-\

JPDeni

Open Themes > default > TPortalBlocks.template.php

Find

function TPortal_categorybox()

A few lines below that, you'll see

if($listing['category']==$context['TPortal']['blocklisting'])
  echo '<b><a href="'.$scripturl.'?page='.$listing['id'].'">'.$listing['subject'].'</a></b> '.$txt[525].' '.$listing['poster'].'<br />';


Delete

'.$txt[525].' '.$listing['poster'].'

Be sure that you delete all of the single-quote characters I've included above. Otherwise you'll get a syntax error. Those are the easiest ones to miss.

SniffTheGlove

Thank you JPDeni, I can do this.

javascript:void(0);
Smiley

DaDockta


MatthewSchenker

Good Morning,
Is there any chance this might become an option in TP 1.x?  It would be nice to have the option to turn the author on or off when displaying an article title in a block.
Matt

This website is proudly hosted on Crocweb Cloud Website Hosting.