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,982
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 188
  • Total: 189
  • @rjen

missing Tab in theme

Started by reyver, February 19, 2011, 06:16:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reyver


ZarPrime

Quote from: reyver on February 20, 2011, 02:14:34 PM
Good day again im trying to follow the docs you supplied but in the first step i cannot find the strings

if (in_array($context['current_action'], array('links', 'search', 'admin', 'arcade','calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'tpadmin')))
      $current_action = $context['current_action'];

in the php file of my theme

In the Flint12 theme from Crip, the line you are looking for in the first step is on line 397 in the index.template.php file of the theme (I had to download it to look at it) ...


if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];


If you still can't figure out how to do this, the best thing to do is ask the theme author how to add a Forum tab to the top menu for the Forum BoardIndex when TinyPortal is installed.  Crip's site is here --> http://www.jpr62.com/theme/index.php

I am not familiar with the "Overide by DZine" theme in your fist post but I'm sure the author of that theme can help you with this.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.