Topic: Style issue

I've got a problem. I decided to seperate my archieved news to pages. Example: http://lenakatina.tatushow.com/video-of-the-year.php (this page includes in php the archieved news from show_archives.php), but when you go to the comments, it is plain, blank page. I have no idea how to fix it http://cutephp.com/forum/style_emoticons/default/sad.gif

Re: Style issue

I have a similar problem. Anyone an idea?

Re: Style issue

what's your CN include code.
Strangley enough your comment link links to show_archives.php

4 (edited by 2012-04-29 21:59:45)

Re: Style issue

I fixed it! http://cutephp.com/forum/style_emoticons/default/biggrin.gif Just upload your style.css to the news directory, edit show_archives.php like at the beginning of the file the header of your site up til the content, and then leave the code where you usually have the text, and then add rest of your site like footer and sidebar, and when you want to seperate the news to a file, then make a new php file like firstnews.php and use this code:

<?PHP
echo file_get_contents('news/show_archives.php?archive=1333876794&subaction=list-archive&');
?>

any questions? http://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Style issue

<?PHP
echo file_get_contents('news/show_archives.php?archive=1333876794&subaction=list-archive&');
?>


any questions? smile.gif


yes. Why you think the original author bothered writting a readme.
Your code is all wrong. hmm
And there are 2 good hacks to do the same as you're trying to do with that file_get_contents();

NEVER EVER edit show_news.php or show_archives.php to include html.

Re: Style issue

yes. Why you think the original author bothered writting a readme.
Your code is all wrong. hmm
And there are 2 good hacks to do the same as you're trying to do with that file_get_contents();

NEVER EVER edit show_news.php or show_archives.php to include html.

Sad none of them bothered to write one of these two good hacks.

Posts: 6

Pages 1

You must login or register to post a reply



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