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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 1054
  • Total: 1054

Few Questions

Started by Gararion, September 19, 2007, 04:06:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gararion

Hello.

I am trying to set up a message board.  I am using the Cerberus TP Theme.

I have a few questions though.  Link to board.

1) Where abouts would I edit to add a new button for navigation?  Basically, I was thinking of adding a button in the area where you find the links for Home, Forum, Help, Search, etc.  I would like to add the link here, but if I must, I can resort to using a block in the left side.

2) I would like to add an image bg to the table cell where it says "Welcome, Guest. Please login or register."  How do I go about doing this?  I have made an image the same size of that table cell, just need to edit the page.  Not sure which page and where.  So far I've only looked in "index.template.php" in the Cerberus TP Theme folder.

any help would be appreciated.

Rus

Thats the right file for adding a button, you'll need to find the area near the bottom where all the buttons are currently getting drawn.  I dont know your theme but it should look something like a bunch of ifs and each one makes a button if the condition is met.

eg.  // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo '
                                here you would copy and pasted in the same way that other buttons are being made

Gararion

Thanks.  Any idea on question 2?  This is really driving me crazy lol

Rus

I think that depends on who made the theme and what they did but try looking in the style.css file.

In my theme the section its under is called #top

Gararion

Thanks.  Looked there and found it under ".mybox"

Changed it, and realized that it changed all the backgrounds, so had to revert the .mybox to its original state and make a new one, .mybox3  I then had to hunt down which class I had to change in the index.template.php file, but this was rather easy, got it on my second try.

Thanks.

This website is proudly hosted on Crocweb Cloud Website Hosting.