Scoop -- the swiss army chainsaw of content management
Front Page Everything News Code Help! Wishlist Project Scoop Sites Dev Notes Latest CVS changes Development Activities
Scoop Box Exchange - Show Box: section_title 1.00

Author: Scoop Developers


This will display the title for the section that you are viewing. Since all sections use the index_template to be displayed, we don't want to have to have a different template for each section. This box allows you to just add a new section, and when its viewed it will show the title that you set in the section admin tool

Box Code:

my $content = 'Latest News';

my $op = $S->{CGI}->param('op');
my $page_num = $S->cgi->param('page');
my $page = '';
if ($page_num && $page_num != 1) {
$page = "(page $page_num)";

if ($op eq 'section') {
my $section = $S->{CGI}->param('section');
unless($S->have_section_perm('hide_read_stories',$section)) {
$content = $S->{SECTION_DATA}->{$section}->{title};
} else {
$content = '';

return {'content' => "%%title_font%%$content $page%%title_font_end%%" };
Display: Sort:
Code (none / 0) (#1)
by Harvey29 on Fri Oct 18, 2019 at 02:18:48 PM PST

The high-volume code always needs to optimize according to the requirements and we use it when it required. I write me an essay on coding skills and I explain how you can become a good coder easily.

AllenTiny (none / 0) (#2)
by msmeer on Thu Jan 30, 2020 at 01:55:31 AM PST

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. หวยออนไลน์

AllenTiny (none / 0) (#3)
by msmeer on Thu Feb 13, 2020 at 09:19:18 AM PST

I am definitely enjoying your website. You definitely have some great insight and great stories. 더킹카지노

AllenTiny (none / 0) (#4)
by msmeer on Tue Mar 03, 2020 at 10:22:30 AM PST

Thanks for the blog post buddy! Keep them coming... days when my mother was there

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Keepers of Lists
Got Lists? We've got over 1800

Make a new account

Hosted by Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest 1999 The Management

create account | faq | search