Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-2008, 02:09 AM
wickedtranquil
 
Posts: n/a
phpBB2 source code does not show in design view /CS3

I would like to customize a php bulletin board. The default bulletin board
page does not show in design view. Is there a way to do it , such that php
code can be written by DreamWeaver via the design view ?

Reply With Quote
  #2 (permalink)  
Old 02-03-2008, 02:35 AM
Alan
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3

If there is a testing server setup and the forum software is all installed
on it, you could try "live data view"to see the page all built. But don't
try to edit THAT.

however- you don't edit the generated pages, you edit a special set of
"templates" stored within the script folder.

http://www.phpbb.com/community/viewtopic.php?t=10764
there are probably better indepth tutorials at that site and elsewhere.

also, since it looks like the template pages are .tpl files, you'll need to
add that file extension to dreamweaver. Once you add .tpl you'll see the
page in design view.

Changing and adding file extensions to dw:
http://kb.adobe.com/selfservice/docu..._Customer&exte
rnalID=tn_16410



--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #3 (permalink)  
Old 02-09-2008, 04:14 AM
wickedtranquil
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3

I very carefully followed the procedure I was directed to in this post.
The .tpl file extension is already in there.
Any other possibilites?
Reply With Quote
  #4 (permalink)  
Old 02-09-2008, 04:21 AM
Alan
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3



> I very carefully followed the procedure I was directed to in this post.
> The .tpl file extension is already in there.
> Any other possibilites?


This .tpl page is a template file for the forum?
There's no choice for Design view or split code/design?

Or- is it that design view is available, but is blank?

Just to check Make a copy of the file and rename to html or .php and see
what shows in design view.

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #5 (permalink)  
Old 02-09-2008, 02:02 PM
wickedtranquil
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3

In the 02.02/08 comment "Once you add .tpl you'll see the
page in design view." , I checked .tpl is in there.
The files I am trying to edit, or that is think I should be trying to edit ,
are
index.php , and in the includes file template.php

The choices for Code , or Split or Design view are all there. Code shows ,
in Code & Split.
Design view is always blank. I renamed the files index.html , template.html .
Still same result , code shown , design absolutely blank




Reply With Quote
  #6 (permalink)  
Old 02-09-2008, 02:44 PM
wickedtranquil
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3

I am using latest release phpBB version 3, from www.phpbb.com
in DW CS/3
Reply With Quote
  #7 (permalink)  
Old 02-09-2008, 05:03 PM
Alan
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3



> The files I am trying to edit, or that is think I should be trying to edit ,
> are
> index.php , and in the includes file template.php


If I am sorting this out correctly, which i am _not_ sure of at the moment:

those aren't .tpl files.
they are .php files, and are part of the forum. They aren't displaying in
design view because they are all php.

You need to find and edit the template files.

In previous link given:

http://www.phpbb.com/community/viewtopic.php?t=10764

<q>
So where do I find these great 'templates'?

Look in /templates/subSilver (thoroughout the FAQ I will be using subSilver,
the default template. If you are using a different template then change the
folder you look in accordingly). You will see a collection of files there.
The templates are the ones with the file extension '.tpl' The majority of
files in that folder are .tpl files. </q>

strongly suggest you make a backup copy of anything you try to touch.

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #8 (permalink)  
Old 02-09-2008, 06:28 PM
wickedtranquil
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3

ok that works. Going to /templates/subSilver I find files which are viewable in Design View.
Thank you.
Sorry , I had no clue that a php file is not editable in DW CS3
Reply With Quote
  #9 (permalink)  
Old 02-09-2008, 06:34 PM
Alan
 
Posts: n/a
Re: phpBB2 source code does not show in design view /CS3



> Sorry , I had no clue that a php file is not editable in DW CS3


php pages ARE editable in dreamweaver.
But, if they contain html within php statements, that html will not be
rendered in design view. It will just show as php visual aid icons, if that
choice is enabled in dw menu-->View-->Visual aids

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:26 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Online Loans | Loans | Car Loan | Credit Cards | Online Loans



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114