I have installed and configured N-13 News 3.4 no problem but the huge problem I am having is getting the news to show in certain places on my site I require.
With the above in mind and after a few hours of scratching my head, could I input below the sequence of what I am needing to do and hopefully one of you kind souls could guide me in the right direction, to resolving where I'm clearly going wrong.
OK, firstly I have N-13 News installed Here!
Now I am wanting to show first of all intro News Article(s) Here!which is just a snippet of the main article, you will see the News Section to the bottom left of this site page.
Then when people click any of the intro articles from this page, once I have it up and running, I want it to point to Here! which is where I want the main News Articles and whole News System to reside.
As you will see, I can get the iframe version to show but I don't feel it will look as professional, as if I can get the N-13 News script to work in a non iframe manner?
Any help or guidance in this matter, would be very much appreciated to helping me resolve this outstanding issue.
Apart from that, it's an awesome script & keep up the great work that is clearly put in to this script.
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Hi Rob,
A few things you'll need to do first on your server, you have the script installed here http://mdjl.co.uk/hosting/news/index.php
but if you go to this url http://mdjl.co.uk/hosting/news/
It gives a 404 when it should goto the index.php file, this means your server likely only has .htm & .html files as the DirectoryIndex, you'll need to add .php to it as well.
As for integrating it into your site. This page http://mdjl.co.uk/hosting/ will need to be a php file so that you can integrate the script into it properly without using an iframe.
Once you do change it to a php file, to integrate the system you simply add the following code wherever you want the news to be displayed on the page
Code:
<?php include 'news/index.php'; ?>
This is just the beginning of this 'how to', once you manage to do these things I'll then show you how to integrate the rest of the functionality you described.
Hi Rob,
A few things you'll need to do first on your server, you have the script installed here http://mdjl.co.uk/hosting/news/index.php
but if you go to this url http://mdjl.co.uk/hosting/news/
It gives a 404 when it should goto the index.php file, this means your server likely only has .htm & .html files as the DirectoryIndex, you'll need to add .php to it as well. Can I ask how I add.php to it as well, I'm a little lost as the server as far as I'm aware if fully functioning with PHP5 amongst many other feature rich things?
As for integrating it into your site. This page http://mdjl.co.uk/hosting/ will need to be a php file so that you can integrate the script into it properly without using an iframe. In this case then, I simply need to rename the current .html page to a .php page, save it and then re upload to the server, over writing the current .html version of the page?
Once you do change it to a php file, to integrate the system you simply add the following code wherever you want the news to be displayed on the page
Code:
<?php include 'news/index.php'; ?>
This is just the beginning of this 'how to', once you manage to do these things I'll then show you how to integrate the rest of the functionality you described. Once I know the above, I will chat with you to get more functionality from this great script
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Quote:
Can I ask how I add.php to it as well, I'm a little lost as the server as far as I'm aware if fully functioning with PHP5 amongst many other feature rich things?
If you edit your Apache httpd.conf file, search for 'DirectoryIndex', you'll see something like
Code:
DirectoryIndex index.html index.htm
Add index.php to that like so
Code:
DirectoryIndex index.php index.html index.htm
Quote:
In this case then, I simply need to rename the current .html page to a .php page, save it and then re upload to the server, over writing the current .html version of the page?
After you change the DirectoryIndex to include index.php files, you could rename the file to index.php and it should work.