Alternative Nation
Go Back   Alternative Nation > Lounge > Computers & Technology > Web Dev & Programming

Notices

Reply
 
Thread Tools Rate Thread
Old 8th April 2008, 7:33pm   #1
www.theyarerising.com
 
Join Date: Apr 2008
Location: Scotland
Posts: 38
Images: 3
theyarerising is on a distinguished road
upping the ante on my website

At the moment, my website is just plain old html (with a css doc and a little bit of stolen/borrowed javascript) I like it the way it is, but I want to make it bigger and better an pretty much do more.
It's only been up for a few days, but I keep having ideas that I want to add to. The first thing I want to do is have it allow people people register/sign in and submit things, articles etc.

So my question really is, how do I do that? Is it CGI or PHP or ASP or Perl or are some of them the same thing?

Also right now each page of the site is separate witht he same content repeated for the general layout which is a bit of a pain because when I change things or add pages, I have to make the changes on every page I've already made. So is there a way for me to code the layout once and have it repeated on all the pages without using html frames?

Any help/advice would be appreciated,

thanks!
__________________
theyarerising is offline   Reply With Quote
Old 8th April 2008, 7:51pm   #2
STEVE HOLT!
 
Join Date: May 2001
Location: London
Posts: 5,950
Blog Entries: 1
Zero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to all
Re: upping the ante on my website

Look into Wordpress and Drupal. You shouldn't need to do any programming.
Zero is offline   Reply With Quote
Old 8th April 2008, 7:58pm   #3
Implied Idiot
 
DoNotResus's Avatar
 
Join Date: Feb 2003
Location: Paisley
Posts: 2,913
Blog Entries: 2
DoNotResus is Deadly!DoNotResus is Deadly!DoNotResus is Deadly!
Send a message via MSN to DoNotResus Send a message via Yahoo to DoNotResus
Re: upping the ante on my website

Quote:
Originally Posted by theyarerising View Post
At the moment, my website is just plain old html (with a css doc and a little bit of stolen/borrowed javascript) I like it the way it is, but I want to make it bigger and better an pretty much do more.
It's only been up for a few days, but I keep having ideas that I want to add to. The first thing I want to do is have it allow people people register/sign in and submit things, articles etc.

So my question really is, how do I do that? Is it CGI or PHP or ASP or Perl or are some of them the same thing?

Also right now each page of the site is separate witht he same content repeated for the general layout which is a bit of a pain because when I change things or add pages, I have to make the changes on every page I've already made. So is there a way for me to code the layout once and have it repeated on all the pages without using html frames?

Any help/advice would be appreciated,

thanks!

I think for the last part you should have a wee look at Cascading Style Sheets, they are dead easy and there's a few tutorials online. Basically seperates content from styling an dmakes it easy to change the look of your page.

My wee site that I update everynow and then at http://personal.strath.ac.uk/david.hughes/ uses three of them which you can change between in the drop down list at the top.
DoNotResus is offline   Reply With Quote
Old 8th April 2008, 8:05pm   #4
www.theyarerising.com
 
Join Date: Apr 2008
Location: Scotland
Posts: 38
Images: 3
theyarerising is on a distinguished road
Re: upping the ante on my website

Thanks a bunch!

Drupal looks like it does a little bit more, so I'll give it a go

Quote:
Originally Posted by DoNotResus View Post
I think for the last part you should have a wee look at Cascading Style Sheets, they are dead easy and there's a few tutorials online. Basically seperates content from styling an dmakes it easy to change the look of your page.
I've already used css to some extent. But I couldn't find any way to include the header image and navigation buttons and the footer without including them in each html file. is there a way to do that? My css knowledge is patchy at best since I got it all from google.
__________________

Last edited by theyarerising; 8th April 2008 at 8:05pm. Reason: Automerged Doublepost
theyarerising is offline   Reply With Quote
Old 8th April 2008, 8:06pm   #5
Implied Idiot
 
DoNotResus's Avatar
 
Join Date: Feb 2003
Location: Paisley
Posts: 2,913
Blog Entries: 2
DoNotResus is Deadly!DoNotResus is Deadly!DoNotResus is Deadly!
Send a message via MSN to DoNotResus Send a message via Yahoo to DoNotResus
Re: upping the ante on my website

Quote:
Originally Posted by theyarerising View Post
Thanks a bunch!

Drupal looks like it does a little bit more, so I'll give it a go



I've already used css to some extent. But I couldn't find any way to include the header image and navigation buttons and the footer without including them in each html file. is there a way to do that? My css knowledge is patchy at best since I got it all from google.
Erm, for the header image I suppose you could set a DIV frame's background image to be the header image. As for active buttons, I don't know.
DoNotResus is offline   Reply With Quote
Old 8th April 2008, 8:06pm   #6
STEVE HOLT!
 
Join Date: May 2001
Location: London
Posts: 5,950
Blog Entries: 1
Zero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to all
Re: upping the ante on my website

No, you'd need to use server-side processing for that.
Zero is offline   Reply With Quote
Old 8th April 2008, 8:08pm   #7
Implied Idiot
 
DoNotResus's Avatar
 
Join Date: Feb 2003
Location: Paisley
Posts: 2,913
Blog Entries: 2
DoNotResus is Deadly!DoNotResus is Deadly!DoNotResus is Deadly!
Send a message via MSN to DoNotResus Send a message via Yahoo to DoNotResus
Re: upping the ante on my website

If your server uses PHP it would be a simple case of adding a <?php include("menubuttons.htm") ?> line to where you want the buttons to be, with the menubuttons.htm file only containing your button HTML code that you duplicate at the moment.
DoNotResus is offline   Reply With Quote
Old 8th April 2008, 8:09pm   #8
www.theyarerising.com
 
Join Date: Apr 2008
Location: Scotland
Posts: 38
Images: 3
theyarerising is on a distinguished road
Re: upping the ante on my website

Quote:
Originally Posted by DoNotResus View Post
Erm, for the header image I suppose you could set a DIV frame's background image to be the header image.
D'oh. I am le muppet!
__________________
theyarerising is offline   Reply With Quote
Old 8th April 2008, 8:11pm   #9
(suicidemachine)
 
Largest of Gregs's Avatar
 
Join Date: Jan 2002
Location: Too large
Posts: 17,632
Images: 1020
Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’Largest of Gregs is too good at this 'forum game’
Send a message via MSN to Largest of Gregs Send a message via Skype™ to Largest of Gregs
Re: upping the ante on my website

find out what server side scripting you can run on your websites. using server side includes allow you insert a single file into many web pages alowing you to just make changes to the include.

Create your normal page, then create the menu in another file and include the menu file into your page
__________________
Like Siberia, remission is a silent journey across no man’s land, and it’s not always easy to take it alone.'
http://content.altnation.com/gallery.../6/dottsig.jpg
Largest of Gregs is offline   Reply With Quote
Old 8th April 2008, 8:16pm   #10
www.theyarerising.com
 
Join Date: Apr 2008
Location: Scotland
Posts: 38
Images: 3
theyarerising is on a distinguished road
Re: upping the ante on my website

Quote:
Originally Posted by Largest of Gregs View Post
find out what server side scripting you can run on your websites. using server side includes allow you insert a single file into many web pages alowing you to just make changes to the include.

Create your normal page, then create the menu in another file and include the menu file into your page
*swish* all goes over my head

I'll look into this, too.

Thanks.
__________________
theyarerising is offline   Reply With Quote
Old 8th April 2008, 9:52pm   #11
EVIL/NICE.
 
Draven's Avatar
 
Join Date: Feb 2006
Location: Gloucestershire
Posts: 3,420
Draven is Deadly!Draven is Deadly!Draven is Deadly!
Send a message via MSN to Draven
Re: upping the ante on my website

You want it to look [b]REALLY[/i] sexy? Invest some time in learning Ajax.

Or check out Grails.
__________________



Every time I'm right a little part of you dies.
Draven is offline   Reply With Quote
Old 12th April 2008, 8:24am   #12
www.theyarerising.com
 
Join Date: Apr 2008
Location: Scotland
Posts: 38
Images: 3
theyarerising is on a distinguished road
Re: upping the ante on my website (AWStats)

Okay, so I managed to get Server side includes working (god knows how).
My next problem: I've got AWStats running and want to use these stats to output the number of unique visitors to my site.
I know this is ridiculous, but at the moment I'm manually updating the counter every once in a while, which is both boring and irritating (also I can't update it while at work).

So does anyone using AWStats know how I'd acheive this?

Thanks,
__________________
theyarerising is offline   Reply With Quote
Old 12th April 2008, 10:30am   #13
STEVE HOLT!
 
Join Date: May 2001
Location: London
Posts: 5,950
Blog Entries: 1
Zero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to allZero is a name known to all
Re: upping the ante on my website

A hit counter? Please, just don't.
Zero is offline   Reply With Quote
Old 12th April 2008, 11:06am   #14
ShakingTheDisease
SuperMod
 
djtoast's Avatar
 
Join Date: Sep 2002
Location: Ptolomea
Posts: 20,150
Images: 164
djtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoodydjtoast is better than Hoody
Re: upping the ante on my website

Seriously, hit counters are for your grandmother's crochet-pattern-trading site. In 1996.
__________________
djtoast is offline   Reply With Quote
Old 12th April 2008, 11:12am   #15
Was Stuck in '92, Got out
 
Sgt Craig's Avatar
 
Join Date: Jul 2004
Location: Anniesland / Dr
Posts: 2,985
Images: 78
Sgt Craig is to AltNation what Pot Noodle is to a studentSgt Craig is to AltNation what Pot Noodle is to a studentSgt Craig is to AltNation what Pot Noodle is to a studentSgt Craig is to AltNation what Pot Noodle is to a student
Send a message via MSN to Sgt Craig
Re: upping the ante on my website

Aye, but he is using one as an indicator of when to publish the next chapter of his book i think - i.e. when the counter gets to 100 another chapter goes up.
a bit of a gimmick, but probably the most valid reason i can think to have one on a site.
__________________
"You expect me to walk ?!?!"
"No... you can run !"

Save Airsoft !
Sgt Craig is offline   Reply With Quote
Reply

Bookmarks
Digg del.icio.us StumbleUpon Google

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Sin 



 Buff





Powered by vBadvanced CMPS v3.0.0
Advertisement
   



All times are GMT +0. The time now is 1:54pm.

Forums Directory
Copyright 2000-2008, Alternative Nation

SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Page generated in 0.70577 seconds with 15 queries