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,217
  • Total Topics: 21,351
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 296
  • Total: 297
  • @rjen

changing block width

Started by Racenut, October 08, 2008, 10:48:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Racenut

How do you change the width of a left or right block in TP 1.05?

thanks :)

bloc

Hello, Racenut, long time no see. :)

The width is determined by panel widths, which are global, but you can override panels widths in individual articles. For example, left panel is 200px normally, but in article TEST you like the blocks shown there to be 500px in width instead, making the page look like 2 equal columns almost. For that you just go the article's display settings and add a new width for the panel and add blocks in left panel with display setting to only show in that article.

Racenut

Yes it has been a while Bloc. Good to hear from you.

Maybe you can answer an unrelated question for me.

The site of course is www.mydomain.com/forums/index.php. Is there a way to have it so when a person types in just the domain, www.mydomain.com that it will re-direct them to the forum?

thanks  ;)

IchBin

In your hosts control panel, they ususally have something that will allow you to enter a redirect in to point your domain to another place.

Ianedres

I had a similar situation for my forum; I made a simple index.php file for my root directory with this:

<?php
header
('Location: http://www.yourdomain.com/forums/index.php');
?>


One caveat is that search engine may not index you properly, thus affecting your ranking in their results.

You can not have any output before the opening php statement, not even a space, since the header will redirect to your site.

bloc

.htaccess file is also an option.Probably yo got one already, in that case put this in it:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.mydomain.com/forums/$1 [R=301,L]

Racenut

Quote from: Bloc on October 09, 2008, 12:01:17 AM
Hello, Racenut, long time no see. :)

The width is determined by panel widths, which are global, but you can override panels widths in individual articles. For example, left panel is 200px normally, but in article TEST you like the blocks shown there to be 500px in width instead, making the page look like 2 equal columns almost. For that you just go the article's display settings and add a new width for the panel and add blocks in left panel with display setting to only show in that article.


Bloc, Sorry for being such a newb but im not following you or am not doing something right. You are going to have to take me through it.

Also you said the panel widths are global. Is there a way to change the width globally?

also about the .htaccess file. If I have one where would it be?


thanks

IchBin

Racenut, go into your blocks and panel settings. From there you can change the width of the panels. The htaccess file would be in the directory that you want to redirect from.

This website is proudly hosted on Crocweb Cloud Website Hosting.