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_intro 1.00

Author: mahonri [Info]

Description:

This box is patterned after section_title, but adds the scoop_intro block to the front page and the content of the description you type in for each section (on the Section admin page) for section specific pages.

Box Code:

## START section_intro ##
my $title = 'Front Page';
my $content = '|scoop_intro|';
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)) {
$title = $S->{SECTION_DATA}->{$section}->{title};
} else {
$title = '';
}
}
if ($op eq 'section') {
my $section = $S->{CGI}->param('section');
unless($S->have_section_perm('hide_read_stories',$section)) {
$content = $S->{SECTION_DATA}->{$section}->{description};
} else {
$content = '';
}
}


return {'content' => "$content", 'title' => "|title_font|$title $page|title_font_end|" };
## END section_intro ##
Display: Sort:
Code (none / 0) (#1)
by Holden74 on Sat Jul 20, 2019 at 04:34:41 AM PST

There are many codes and functions which you can use to make a quick program. The custom research paper writing service shares a few videos in which they teach you about quick learning of work.



Essay writing help (none / 0) (#2)
by mollymiles on Thu Apr 30, 2020 at 11:42:34 AM PST

Hello everyone who enjoys to read a good articles and by the way learn smth new, I am accidently found your forum and should say that it is really interesting, it is the talent to write an difficult article which can be understanable for each person. Moreover I have the task from the client to write the essay on the topic you prepared here, so your article wil be a great adding base to it. And guys if you have the problem of writing any kind of essay you may use the help of writing service https://writings-centre.com/



Thanks (none / 0) (#3)
by McauleyHanna on Tue Jun 15, 2021 at 12:04:05 AM PST

Hey, i found your wondreful webpage while searching for my project and i cant just stop to be amaze with you. I wonder if you can help me on some questions in my mind. I hope i can reach you. Thanks in advance. อังกฤษ 1-0 โครเอเชีย



hi (none / 0) (#4)
by Nisha Knapp on Thu Oct 28, 2021 at 10:56:23 PM PST

You effectively manage your team and conduct specific task to have these incredible features and content. I would love to make this my guide. Thanks. 사설토토



Menu
create account
faq
search
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
The OpenNIC
Democratically operated Domain Name System; using Scoop since Jan. 2001.

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com 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