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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 692
  • Total: 693
  • lurkalot

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


This website is proudly hosted on Crocweb Cloud Website Hosting.