Page 1 of 1
entries and page #
Posted: Sun Sep 03, 2006 5:29 am
by mirnot
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Is it possible to delete the line where you see
how many entries and how many pages
there are in the guestbook
thanks
Posted: Sun Sep 03, 2006 9:12 am
by Henrie
Yes it is possible.
In GBook version 1.43 find this line
Code: Select all
echo '<p>We have '.$total.' entries displayed on '.$pages.' pages.<br>';
(it is line number 171).
To not display it you can delete it.
Or if you maybe want to put it back in the future you can comment it out by putting
// at the start of the line, like this
Code: Select all
// echo '<p>We have '.$total.' entries displayed on '.$pages.' pages.<br>';
Greetings,
Henrie
Re: entries and page #
Posted: Tue Dec 11, 2012 10:51 am
by cAdams
and what line for Gbook 1.7?
Re: entries and page #
Posted: Tue Dec 11, 2012 5:31 pm
by Henrie
In Gbook 1.7 find the file
overall_header.php , with standard install it is located in \templates\default\
Find the line (line number 39)
Code: Select all
<span class="gbook_entries_top"><?php echo $settings['number_of_entries']; ?> <?php echo $settings['number_of_pages']; ?></span>
To not display it, you can delete it.
Or if you maybe want to put it back in the future you can comment it out by putting
<!-- at the start of the line and
--> at the end of the line, like this
Code: Select all
<!-- <span class="gbook_entries_top"><?php echo $settings['number_of_entries']; ?> <?php echo $settings['number_of_pages']; ?></span> -->
Greetings,
Henrie