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: 195,827
  • Total Topics: 21,286
  • Online today: 61
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 52
  • Total: 52

Extended block access

Started by npereira, March 21, 2007, 06:43:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

npereira

There is not muich instructions about this feature, the first one "Show for this action
(custom action name)"...

What are the different options for that specific setting?

I set a block as forum, but the block only shows up in the forum, I want it to show up everywhere in the forum but not in the main TP page.

How do I do this?

IchBin

custom action is exactly what is says, " A custom action". If you look at your address while you browse your forum you'll notice that each section of your site has a separate action associated with it, action=forum, action=profile, action=mlist etc. If you don't want it to show on the frontpage set the custom action to forum and it will only show when the url of your site has action=forum.


npereira

ok, but what if I want it to show everywhere BUT the TP main page?  I mean the forum, the boards and all...

BTW, i dont see actions when Im in the forum. I see index.php?topic= or board=

So could I put board=  and put more then 1 board?  something like board=all

IchBin

You'll either have to turn the sidepanel off then you're on the main page or custom code a block to only display in a certain area. You can't set any blocks to "not" display in TP "yet".


npereira

ok, so if I want to use a custom action for board=2
there is 2 fields, what do I choose for the first?

IchBin

You don't have to use a custom action to show it in the board=2. You can choose below which board you want it to display in.

npereira

ya, but I want to show it in all the board.
So this means I have to make a 1 block for each board I have?

IchBin

If you want it to be in all the boards wouldn't you set it to forum then?

npereira

I know, that's what im trying to do, but when I select forum, it only shows on the main forum, not when your inside a board.

The URL for forum is action=forum, but when your in a board, it's board=21.0

IchBin

Ah I see what you're saying. So you're trying to find away around the current "lack of" places to display your block. You can't do it "yet" with the options that are currently built into TP. But you could do it with a bit of code inside a phpbox. Let me take a few minutes and see if I can figure it out.

This website is proudly hosted on Crocweb Cloud Website Hosting.