Topic: How can I remove these numbers?

Hello people,

I succesfully included cutenews on a page with:

<?PHP
 include("path/to/show_news.php");
?>


It runs perfectly.

What I just need now is to show only 2 news posts per page. So I use the following code (with x=2):

$number="x";

That works too. I can normally go through the pages.

But there is just one Problem:
On the very top of my latest news the "x" (=2) is shown. And on the very bottom there is a "1".
It stays like that on every news-page. Is there a way to remove it?

You can see it here: http://mittelstand-blog.de/presse-pressetexte.php

Thank you for help.

2 (edited by 2012-03-11 15:58:15)

Re: How can I remove these numbers?

This does not seem to be a cutenews problem. Check your page code
You will find this:

2<div style="width:420px; margin-bottom:30px;">

and this:

</div><p align="center"><< Vorherige Seite  <strong>1</strong> 2  Nächste Seite &gt;&gt;</p><div style="margin-top:15px;width:100%;text-align:center;font:9px Verdana;">Content Management Powered by CuteNews</div><!-- News Powered by CuteNews: https://cutephp.com/ -->

1

</div>

Re: How can I remove these numbers?

This does not seem to be a cutenews problem. Check your page code

Thank you for the response so far.

I'm pretty sure it comes with cutenews. Because if I remove the line "$number=2", the 2 above disappears. And if I write another number instead of 2, the other number will appear above. It surely comes with it. I can't find the any of your mentioned codes if I edit the .php file of that page on my pc. Those codes just come with the include code below:

<?PHP
 include("path/to/show_news.php");
?>


Your first mentioned code (2<div style="width:420px; margin-bottom:30px;">) is directed from one of the cutenews files, but I don't know where to find it..

Re: How can I remove these numbers?

Look in the template that you are using (the default one?).

Re: How can I remove these numbers?

http://mittelstand-blog.de/cutenews/example2.php
doesn't do it, so you're doing womething wrong with the CN include code.
Did you use the integration wizard or did you write one yourself?
Either way, the exact code you're using might be usefull information.

Posts: 5

Pages 1

You must login or register to post a reply

CutePHP Forums → Problem Solving / Help & Support → How can I remove these numbers?



The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.