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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 703
  • Total: 704
  • tino

How to remove expand/collapse images?

Started by brianjw, August 18, 2008, 01:46:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brianjw

TP Version: 1.0.5 Beta 1

What file should I edit to remove the collapse and expand buttons? They're like built into TP this time.

Thanks,
Brian

IchBin


brianjw

OK, it's there. Thanks IchBin. :)
I found instances of 'TPselect' in that file, but I am not sure what to remove.

Any ideas?

G6Cad

Been coverd many times, should be pretty easy to find through a search brian :)

brianjw

G6,

The only thing I found in a search for expand collapse remove was this topic; http://www.tinyportal.net/index.php?topic=25213.0 and my topic.

The other topics that were listed were from like an entire year ago and the expand/collapse is different from 0.9.8 and other past versions.


brianjw

The problem is 2/3 of those were from last year (TP 0.9.8 <- lol cool smiley popped up) and that was when expand/collapse was located in the index.template.php. They are now located in TPortal.php and I found the code, I just don't know what to remove in the code so I don't break anything lol.

G6Cad

Thanks Smoky  :up:

Trial and error Brian, mark the code bits out a part at the time until you have the desired effect you looking for.
If you just mark the code out with eather

// code here, or

/* code here */ you will not break anything as the code will still be there to keep on edit.

Smoky

and always back up your files!!  :D

no biggie G6..  :P

brianjw


This website is proudly hosted on Crocweb Cloud Website Hosting.