close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Using PHP includes files within Site Sculptor Site

Thread began 4/01/2011 8:07 am by Steve E | Last modified 4/11/2011 2:10 pm by Jason Byrnes | 1275 views | 6 replies |

Steve E

Using PHP includes files within Site Sculptor Site

Hello

New Web Assist (Super Suite) customer sending out an SOS

I would like to use several php includes files in my design, I have tried to use php includes, and require once techniques for frequently used files,
The problem is these are not registering, I have tried to build them into my template and also I have attempted to enter these in the CMS as source code but they are not displaying, I have even tried to enter them directly into the database but they just do not show up.

I really need some guidence on how to implement this, my client requires CMS installed on the site for the main content areas, however I need to retain the ability to quickly change key elements of the site by using php includes files, rather than updating templates site wide, as the pages I generate will have to be tailored individualy for different sections of the site, ie different header/footer scripts and style sheets etc.

I assume if I update a template and all of the pages created from the template, I will loose changes that I have made to the individual pages header scripts, style sheets etc.

I would apreciate it if someone could get back to me with some information about how to implement this, thanks in advance
Steve

Sign in to reply to this post

Jason ByrnesWebAssist

using php includes in the templagte should not be a problem as long as you add the includes to the template outside of the editable regions.

If you add the includes inside the editable region, they will not be applied to the pages based on the template.


same thing for changes made to the child pages, the only changes that are applied from the template to the child pages are changes made outside of the editable regions.


when you edit the template, content outside of editable regions is applied to the child pages.

on the child pages, the content inside the editable regions is not touched.

Sign in to reply to this post

Steve E

Thanks for you reply Jason,
That all seems to make perfect sence, Its a bit late for me to get my teeth into it tonight, I will have a look at it on Monday and post back to let you know how i get on
Have a good wekend
Steve

Sign in to reply to this post

Steve E

Hi Jason
Thanks for getting back to me,
I tried this, there is an issue however, when you do this it writes the php file as undefined, then you need to manually correct the the php includes file in either the template or individual files,
The problem is Dreamweaver does not seem to like me doing this and keeps trying to connect to the database in a kind of never ending cycle.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Steve E

Thanks Jason
After deleting the site several times and rebuilding it, Dreamweaver finaly stoped acting up, I don't know why but it was all ok by the time I spoke to the support guys.

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...