Forum Templates

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mancitymike
Forum Newbie
Posts: 5
Joined: Tue Sep 12, 2006 2:52 pm

Forum Templates

Post by mancitymike »

Im a complete novice and have tried the php for dummies book but it hasnt helped. I have a preinstalled php forum. The thing is I cannot change the template so that I can get links and stuff on the same page as the forum everytime I change the template I get a syntax error. Im using dreamweaver 8 how can I change the template ? Any help will be greatly appreciated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

  1. [url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
  2. Dreamweaver is not the editor to use for phpBB templates.
  3. I'm going to be blunt here: are we supposed to guess what you've done?
mancitymike
Forum Newbie
Posts: 5
Joined: Tue Sep 12, 2006 2:52 pm

Post by mancitymike »

feyd wrote:
  1. [url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
  2. Dreamweaver is not the editor to use for phpBB templates.
  3. I'm going to be blunt here: are we supposed to guess what you've done?


I have edited the templates converted the tables to layers, moved them around and placed a new layer in with information. Converted back to frames and loaded the file back to the server. Obviously this is not the right way to do it as I have been trying for hours to get it to work.

What is the editor to use for templates.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

mancitymike wrote:What is the editor to use for templates.
Notepad?
mancitymike
Forum Newbie
Posts: 5
Joined: Tue Sep 12, 2006 2:52 pm

Post by mancitymike »

jayshields wrote:
mancitymike wrote:What is the editor to use for templates.
Notepad?
is there no way of doing it as a design view rather than have to use raw code. I did courses on this stuff years ago, since alot has changed and my memories gone. All im after doing is placing a poll and a box with links in on the left hand side of the forum main page which is the standard phpBB one.
mancitymike
Forum Newbie
Posts: 5
Joined: Tue Sep 12, 2006 2:52 pm

Post by mancitymike »

hmm I think im a bit too noobish for in here :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

poke around for the ezportal plugin for phpBB. Its got code for adding a poll to a page that you could pull out and use.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

mancitymike wrote:is there no way of doing it as a design view rather than have to use raw code.
Not that I know of. Some WYSIWYG editors support php templating syntax's such as Smarty, but you haven't mentioned what forum you're using and even if you did I doubt it uses Smarty or similar.
mancitymike
Forum Newbie
Posts: 5
Joined: Tue Sep 12, 2006 2:52 pm

Post by mancitymike »

feyd wrote:poke around for the ezportal plugin for phpBB. Its got code for adding a poll to a page that you could pull out and use.

Thanks I will have a look for that still stuck on the formatting of the page templates though.


EDIT********** also if the link to the page is any help to anybody that might help me here it is http://www.mcfctalk.co.uk/forum


also in answer to Jay, im using dreamweaver 8
Post Reply