Log In · Register

 
 
Closed TopicStart new topic
Cutenews Without Iframes
Sabastian
post Apr 14 2007, 02:56 PM
Post #1


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



I want to have cutenews in my index without using an iframe. Could sombody show me how to do it sad.gif
 
*The Markster*
post Apr 14 2007, 03:19 PM
Post #2





Guest






Just put the CuteNews display code outside the IFrame.

.. Well, it's kind of hard to explain if your site's currently been relying on IFrames, rather than PHP includes.
 
Sabastian
post Apr 14 2007, 03:25 PM
Post #3


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



I've never used php before o_o.. I'M A FAST LEARNER! EXPLAIN!!!!!!!
 
*StanleyThePanda*
post Apr 14 2007, 03:28 PM
Post #4





Guest






Just look up some PHP tutorials:
http://www.google.com/search?q=PHP+tutoria...:en-US:official

We also have a "PHP questions" topic:
http://www.createblog.com/forums/index.php?showtopic=132247
 
Sabastian
post Apr 14 2007, 04:17 PM
Post #5


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



cant I just start writing scripts without having to install anything o_o
 
fainaru
post Apr 14 2007, 04:40 PM
Post #6


gazette.cassis
****

Group: Member
Posts: 236
Joined: Dec 2004
Member No: 73,433



Well I don't think you actually need to use iFrames to show cutenews in your index.

They have a code if I'm not mistaken that will just show it wherever you want. Check the readme somewhere and it'll show you.

You can forget what I said if what I'm saying is something you already know.
 
Sabastian
post Apr 14 2007, 04:54 PM
Post #7


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



eeek!

ok so I changed my index.html file to an index.php file.

then I got the code that you were talking about
QUOTE
<?PHP
include("path/to/show_news.php");
?>


this is what I have in my index
QUOTE
<html>
<head>

<title> Cirque Du Soliel - Topher </title>

<Link rel="stylesheet" type="text/css" href="http://www.sillyfishes.niamhme.net/alegria.css">
</head>

<body>
<?PHP
include("www.sillyfishes.niamhme.net/show_news.php");
?>


</body>

</html>


and this is what it looks like now

http://img118.imageshack.us/img118/2417/helpmede6.jpg

whats going on :O!!
 
freeflow
post Apr 14 2007, 06:32 PM
Post #8


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You didn't edit the path . So it wouldn't work. Here's how you edit it.
QUOTE
Rember that
in all of the above examples you must replace path/to/... to with your path where you installed CuteNews
and not to use the URL but the path
WRONG: include("http://site.com/cutenews/show_news.php);
CORRECT: include("cutenews/show_news.php);
in most cases when you include news and headlines in one page, you must use $static = TRUE; .
when you use $number, $category, $template or any other variable, it must be BEFORE include("show_news.php");
if you have any problems, you can always go to our support forums and we'll be more than glad to help you


If you get lost continue reading this:
http://cutephp.com/cutenews/readme.html
 
Sabastian
post Apr 15 2007, 01:31 PM
Post #9


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



YAY!! thanks toyo goddess of website help... I got it to work :D
 
freeflow
post Apr 16 2007, 06:06 PM
Post #10


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



^ Haha I'm Glad. Well if you need this topic again or anymore help feel free to PM me. _smile.gif
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: