Go Back   Pictual Design Forums > Webmaster > Business
Top Posters Referers Register Members List Calendar Search Today's Posts Mark Forums Read

Business General webmaster discussion about business, making money, promotion, etc

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2005, 09:28 PM
xplicit xplicit is offline
Deathgod - Shinigami
Lives Here
Elite Member (500+ posts)
 
Location: U.S.
Rep Power: 0
xplicit is an unknown quantity at this point
Default

Well recently I downloaded CuteNews and found out the page where my news was going to be located had to be with an extention .php but if I used .html would it still work efficiently?

Also what other news management scripts are there that is easy to install and use?
__________________
www.BrianLeee.com - Online Portfolio
Reply With Quote
  #2  
Old 07-12-2005, 07:49 AM
FireNova FireNova is offline
Returning Member
Elite Member (500+ posts)
 
Location: Uk
Rep Power: 0
FireNova is an unknown quantity at this point
Send a message via MSN to FireNova
Default

you see with cutenews it has to import the news you added into a page and the easiest way to do this is by php so the page that includes it must have a php extension. There are others one of the other main ones used is FusionNews thats in our downloads section. This is popular cause its easy to handle has smilies and you can customize the way its set out lol n ive used it before it is kinda easy. Apart from programs like these where it just submitting data there are other things like a Content Management System (CMS) this is like cutenews and fusionnews except there are other features like other sections, contact forms, and such like the P3rc3pt10n site is controlled by a CMS called mambo. Mambo is very popular as its pretty small and easy to use but it has lots of features aswell as free mods and paid mods for it which includes a forum script that works with it. Mambo is a open source program meaning its free theres also php-nuke but personally i dont like it so i dont know much bout it lol
Reply With Quote
  #3  
Old 07-12-2005, 11:38 PM
xplicit xplicit is offline
Deathgod - Shinigami
Lives Here
Elite Member (500+ posts)
 
Location: U.S.
Rep Power: 0
xplicit is an unknown quantity at this point
Default

Well I tried "Cutenews" with a html file and nothing showed up, and then i changed my extention to .php on my index file and placed the code into where I wanted my news to show up, and still blank. Also I really have little to no PHP experiance at all, and the entire thing is new to me, so any advice would be good.

I tried mambo, and I really didn't want to get into the giagantic mess of codes to create/modify a template. But it's something that I'm still considering to learn.

Here's the site and the error: http://www.xodus.teamtcf.haf-hosting.com/

Thanks.

***EDIT***
I figure out my problem, and it was that I didn't change the "path" code to the correct area after I converted to .php extention.

Now one more thing. How would I make it so that When someone clicks the archives link, the archives link to the main body of the site, and not a certin section?

Thanks for your help Firenova
__________________
www.BrianLeee.com - Online Portfolio
Reply With Quote
  #4  
Old 07-13-2005, 04:53 AM
FireNova FireNova is offline
Returning Member
Elite Member (500+ posts)
 
Location: Uk
Rep Power: 0
FireNova is an unknown quantity at this point
Send a message via MSN to FireNova
Default

what do you mean when you click comments or is there something else please provide a link then i can help you better
Reply With Quote
  #5  
Old 07-29-2005, 10:37 PM
xplicit xplicit is offline
Deathgod - Shinigami
Lives Here
Elite Member (500+ posts)
 
Location: U.S.
Rep Power: 0
xplicit is an unknown quantity at this point
Default

Well Id really have to set the archives up but then agian the site was broken so the site isn't wokring fully.

But what Im talking about is that If a person clicked a link in a certin table, Can i make it go to the area where the "news" is shown.
__________________
www.BrianLeee.com - Online Portfolio
Reply With Quote
  #6  
Old 08-22-2005, 12:48 PM
xMikey xMikey is offline
Returning Member
 
Location: Michigan
Rep Power: 0
xMikey is off the scale
Default

I recommend you use Cutehack instead of Cutenews - Click - Its basically Cutenews only with a ton more options preintalled!! =)

And about the link going to where the news is shown, heres 3 options - iFrames(which are ugly), Advanced PHP Include, Put the template on every page!

iFrame -
Code:
<iframe src="URL" id="iFrame ID" width="#" height="#" frameborder="0">Sorry, your browser doesn't support inline frames</iframe>
link
Code:
<a href="URL" target="iFrame ID">Text</a>
I wouldn't use iFrames if I were you!

________________________________________________
Advanced PHP Include -
Code:
<? $dir = "pages/"; if($id) { $page = "$id.php"; if(file_exists($dir . $page)) { include($dir . $page); } else { include("error.php"); } } else { include("news/show_news.php"); } ?>
Lets break that down...

Code:
$dir = "pages/";
That points to the directory that you want all your subpages and stuff to go to

Code:
if($id) { $page = "$id.php";
That sets how your links should be! (like that it will be http://yourdomain.com/index.php?id=blah blah blah) You can change it to whatever you want.

Code:
include($dir . $page); } else { include("error.php");
This includes the page which is in the directory onto your page.
This also includes the error page(error.php) which should be made just incase you incounter errors with the PHP.

Code:
} else { include("news/show_news.php"); }
This includes the News on the main page.

For the advanced php include to work...you must use index.php - index.html or index.htm will not work with it!

All your pages(Downloads, Sponsors, ect..ect..ect..) must go in the directory that is setup in the php include(the default is - pages - but you can change it).

So all you subpages must go into http://yourdomain.com/pages/ or whatever you change it to! Then to link to that page the url is - http://yourdomain.com/index.php?id=page ! For that link right there to work - page.php must be in the pages directory!!!

I hope that all made sence...I'm not too good at explaining stuff! If you need any further help...
AIM - Malibu Mikey46
Email - malibumikey@gmail.com

See the PHP Include in Action!

__________________________________________________ __________
Didn't see that theres already a tutorial for this!

http://p3rc3pt10n.net/Forums/index.php?showtopic=158
__________________
Blog - [x]
Reply With Quote
  #7  
Old 12-28-2005, 01:55 AM
welch welch is offline
Returning Member
 
Rep Power: 0
welch is off the scale
Default

<div class='quotetop'>QUOTE(xMikey @ Aug 22 2005, 04:48 PM)</div><div class='quotemain'>I recommend you use Cutehack instead of Cutenews - Click - Its basically Cutenews only with a ton more options preintalled!! =)

And about the link going to where the news is shown, heres 3 options - iFrames(which are ugly), Advanced PHP Include, Put the template on every page!

iFrame -
Code:
<iframe src="URL" id="iFrame ID" width="#" height="#" frameborder="0">Sorry, your browser doesn't support inline frames</iframe>
link
Code:
<a href="URL" target="iFrame ID">Text</a>
I wouldn't use iFrames if I were you!

________________________________________________
Advanced PHP Include -
Code:
<? $dir = "pages/"; if($id) { $page = "$id.php"; if(file_exists($dir . $page)) { include($dir . $page); } else { include("error.php"); } } else { include("news/show_news.php"); } ?>
Lets break that down...

Code:
$dir = "pages/";
That points to the directory that you want all your subpages and stuff to go to

Code:
if($id) { $page = "$id.php";
That sets how your links should be! (like that it will be http://yourdomain.com/index.php?id=blah blah blah) You can change it to whatever you want.

Code:
include($dir . $page); } else { include("error.php");
This includes the page which is in the directory onto your page.
This also includes the error page(error.php) which should be made just incase you incounter errors with the PHP.

Code:
} else { include("news/show_news.php"); }
This includes the News on the main page.

For the advanced php include to work...you must use index.php - index.html or index.htm will not work with it!

All your pages(Downloads, Sponsors, ect..ect..ect..) must go in the directory that is setup in the php include(the default is - pages - but you can change it).

So all you subpages must go into http://yourdomain.com/pages/ or whatever you change it to! Then to link to that page the url is - http://yourdomain.com/index.php?id=page ! For that link right there to work - page.php must be in the pages directory!!!

I hope that all made sence...I'm not too good at explaining stuff! If you need any further help...
AIM - Malibu Mikey46
Email - malibumikey@gmail.com

See the PHP Include in Action!

__________________________________________________ __________
Didn't see that theres already a tutorial for this!

http://p3rc3pt10n.net/Forums/index.php?showtopic=158
[snapback]1906[/snapback]
[/quote:bb4c674c98]

Awesome, helped me.
Reply With Quote
  #8  
Old 04-23-2010, 06:05 AM
williamparkar williamparkar is offline
Returning Member
 
Rep Power: 0
williamparkar is on a distinguished road
Default

How would I make it so that When someone clicks the archives link, the archives link to the main body of the site, and not a certin section?

By The Way Thanks for your help..


Term Papers
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP/MySQL News CMS issue...help??? tripnosis Programming 3 03-03-2006 11:46 AM
[Scripts] NDLink Affiliate Management System FireNova Downloads 0 06-14-2005 02:50 PM
[Scripts] Fusion News 6.3.1 FireNova Downloads 0 06-14-2005 02:40 PM


All times are GMT -4. The time now is 05:17 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.