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

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:19:43 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 151
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 148
  • Total: 149
  • tino

How to show a block for every article

Started by Luigi, November 27, 2007, 07:37:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Luigi

Hello guys, sorry if this has been asked before, but I've been searching in the forum for half an hour and I didn't find anything.
Can I show a block only when an article is being read? Doesn't matter which article. I can't find anything on the block settings page... I can set a block to show for a category or for a specified article, but not for each article.
Please help me, It's frustrating to check every page without finding anything! :uglystupid2:

TimUSA

at the bottom of the block editor you will find what you seek...did you try the Docs?

Luigi

Of course I tried. But I don't see what I am looking for at the bottom of the block editor.
There I can setup a block to show only in a specific forum section, in a board, in a TP section (not including "articles"), for a specific language or in a single article. I would like to show a block with some technorati links when every article is shown, but from there I must select a single article. Thanks for you answer though. :)

IchBin

The setting is only for single articles and not "all" articles. You'll have to use some custom code to do it.

if (isset($_GET['page'])){
    echo 'all your content goes in between these to single quotes';
}

Luigi