View Full Version : Remove something from the news frame
Bluelens
8th of March 2005 (Tue), 15:06
How am I able to remove the "XX photo pages have been viewed...." from the news frame? I do not want to remove the EE tag, just the little bit above it. I have looked and there is nothing in the newseditor.
I am using 1.5 rc4
thanks.
Bluelens
8th of March 2005 (Tue), 15:54
Found the solution. The quick sdetails below, do at your own risk.
I found the file in indexstyles/1.php. around line 225-227 is where the listing of "XXX photo pages ..." is found. I simply removed those lines, saved nad uploaded.
The exact lines you are looking for are:
<p>
<?php
if ($s_show_counter == "1") {
// print out total counter
print ee_translate_C($translated["has_been_viewed_a"]);
ee_totalcount();
print " " . ee_translate_C($translated["has_been_viewed_b"]);
}
ee_howmanyphotosinall();
?>
I hope you don't mind me posting this Pekka, then delete away, I understand.
MikeCaine
9th of March 2005 (Wed), 02:22
The
if ($s_show_counter == "1") made me suspect there must be a switch somewhere
It seems to be on the misc settings page and if turned off it stops the display of the "XX photo pages" messahe but also turns off the individual count on each photo page
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.