close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Builder in Templates

Thread began 12/09/2010 2:19 am by clive.henderson222953 | Last modified 12/27/2010 5:37 am by Jenny I | 2724 views | 7 replies |

clive.henderson222953

Builder in Templates

Hi
Trying to use Framebuilder within a template for the first time.
I'm getting blank webpages output when using Framebuilder

1. I set up a webpage which includes a footer included with Framebuilder
which loads OK (template20.php)

2. I converted the page to a template.

3 created a page based on the template but it only loads as a blank page
test20.php

I've also tried creating a theme based on the template
Then created a page based on the theme and this also loads as a blank page
test20a.php

Can't figure out what I',m doing wrong.
Appreciate any help please.
Thanks
Clive

Sign in to reply to this post

Jason ByrnesWebAssist

when a page loads blank, it means that a php error is occurring, but error reporting is turned off.

add the following code at line 1 to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

clive.henderson222953

Hello Jason
Thanks for the reply.
I've included the diagnostic lines and reloaded the webpage test20.php which gives
some indication of the error.

Warning: require_once(../webassist/framework/framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/sites/longbennington.info/public_html/test20.php on line 7

Fatal error: require_once() [function.require]: Failed opening required '../webassist/framework/framework.php' (include_path='.:/usr/share/pear5') in /home/sites/longbennington.info/public_html/test20.php on line 7


I've checked that the webassist folder has been uploaded Lines 7-9 are as follows;

<?php
require_once( "webassist/framework/library.php" );
require_once( "../webassist/framework/framework.php" );
?>





Originally Said By: Jason Byrnes
  when a page loads blank, it means that a php error is occurring, but error reporting is turned off.

add the following code at line 1 to turn error reporting on:
php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
  
Sign in to reply to this post

clive.henderson222953

Thanks jason - Resolved

Many thanks Jason

This was really useful. it turns out that the includes addresses had a "../" at the start and they were reported as not found. I've removed it and the page shows.

Thank again
Clive



Originally Said By: Jason Byrnes
  when a page loads blank, it means that a php error is occurring, but error reporting is turned off.

add the following code at line 1 to turn error reporting on:
php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
  
Sign in to reply to this post

Jason ByrnesWebAssist

great, glad to hear it is working.

Sign in to reply to this post

Jenny I

Hi Jason

I am having a similar problem but I believe it is because I simply do not know how to use this product.

I don't know much about php or includes but I will run the steps I have taken through with you to help identify where I have gone wrong.

1. I have created my index.html page (well really it is a purchased template). I have identified areas which need to be plugins i.e image slider, tabbed panel (for news content) and navigation.
I have also identified the include areas i.e. header, footer, background sidebar.

2. I cut the code (ajax, html and javascript) for each plugin componant from the index.html page and created individual pages for them. So now I have a .php page for my slider, tabbed panels and navigation. Each page includes the relavent links to css, jquery library and javascript code.

3. So back to my index.html i still have the areas I want to use as includes on the page. I convert my page to DWT.

4. This is where I am stumped. Do I need to define editable regions or do I run the framework builder theme wizard straight away? If so how does framework builder no which areas i want as includes and how to divide the page?

When I defined editable regions for main content and sidebar and ran the wizard I came up with a blank page.

I really just need some direction in understanding this. Please if anybody knows how to use this extension any help would be much appreciated.

Kind Regards
Jennifer

Sign in to reply to this post

Jenny I

Ok just an update

I have managed to gain a foundation understanding on theme building but just have a quick question on plugins.

I have created a slider (jquery) and ajax tabbed panel plugins simply by cutting the code from my initial html template unto new .php pages and saving. I then import the plugins using framework builder. Unfortunately I could not get the plugins to work unless i left the javascript code on the DWT. Is this how it is supposed to work? I thought that the plugins could work independently without having to paste code anywhere?

Sign in to reply to this post

Jenny I

sorry my mistake had a error in the javascript it is all working now.

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...