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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 258
  • Total: 259
  • @rjen

Help remove news numbers

Started by cherryspirit, August 03, 2010, 03:03:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

That is Joomla and SMF. SMF copyrights are still there if you view the forum.
http://www.wgseries.com/index.php?option=com_smf&Itemid=38

ZarPrime

He's not running TinyPortal.  He's running Joomla on the page you linked and he's running an SMF Forum inside one of his Joomla pages --> http://www.wgseries.com/index.php?option=com_smf&Itemid=38

In any case, what you want to do can probably be done as I said but it involves removing some of the TP core code.

ZarPrime

Edit:  Arrghhh.  Sorry Ichbin, I didn't see your post before I posted. ;)

cherryspirit

Which part of the core codes should i remove and where ? any suggestions?

IchBin

Backup the file before you make any changes. Then in Themes/default/TPortal.template.php fine this section of code on about line 60:
// any pageindex?
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_upper">' , $context['TPortal']['pageindex'] , '</div>';


// use a customised template or the built-in?
render_template_layout($grid[(!empty($front['options']['layout']) ? $front['options']['layout'] : $context['TPortal']['frontpage_layout'])]['code'], 'category_');

// any pageindex?
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_lower">' , $context['TPortal']['pageindex'] , '</div>';


Replace with this:
/* any pageindex?
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_upper">' , $context['TPortal']['pageindex'] , '</div>';*/


// use a customised template or the built-in?
render_template_layout($grid[(!empty($front['options']['layout']) ? $front['options']['layout'] : $context['TPortal']['frontpage_layout'])]['code'], 'category_');

/* any pageindex?
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_lower">' , $context['TPortal']['pageindex'] , '</div>';*/


cherryspirit


This website is proudly hosted on Crocweb Cloud Website Hosting.