UtopiaSoftware Forums

Full Version: what am i doing wrong?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all.

My question is gonna be silly, but im new at the php codes, and i recently downloaded the UNP, and this is my question:

I installed the script, WORKS GREAT Big Grin, but how can i change the layout to look just like my page?

I've inserted a tag on my page to include the news on a table i've created just for that, works great (again) but all my jpg, png, and gifs disappear.

This is how i would like the page to look like (news in the black space) ---> LINK

I dont wanna edit the news.php, dont wanna mess around whit the script, so i decided to ask first.

I know the question is "lamme" but i just need some help whit this, trying to learn to Wink

Tks in advance
Hello,

Could you tell me where you want exactly to add your news?
Do you mean all your graphics disappear and you have a blank page?

I think this has to do with PHP includes (unfortunately you will have to deal with it). I mean, I have done that for one of my websites, and you really need to include "news.php" with the help of PHP.

But first, change your page name from videos.html to videos.php. Then add the following line where you want the news to appear exactly.

PHP Code:
<?php
include('unp_directory/news.php');
?>


Then, tweak your html or the templates a little so that it fits to your design, the include may mess the whole thing.

Does that help you?

Cheers!

DONE...tks Big Grin
Reference URL's