close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Nice thing about Framework Builder could be better.

Thread began 6/12/2012 4:01 pm by neo314 | Last modified 6/13/2012 12:43 pm by neo314 | 2772 views | 1 replies

neo314

Nice thing about Framework Builder could be better.

A nice thing about Framework Builder (FWB), to me, is the ability to add PHP code to the header of the template and have that included in all the pages the template is applied to.

That may be an unintended consequence, but I find it very useful. When in a template, that code only gets added to a blank page that the template is applied to and then if I need to alter that code, I have to do it in every instance throughout the site.

With FWB, that code is included in every page. You just need to be sure to start the content of a new page before applying the template and then the theme. One edit fixes all the pages.

So what could make that better. It would be GREAT if there was a comment tag, preference, or some syntax that would allow me to see that some of the header code can be above the header code in the page and some below.

In other words, on my admin template, if I include PHP code above the DOCTYPE, it is applied to every admin page, BUT...

If the code is an SA restrict page access behavior, it appears below any transactions created for the specific page which is a security risk since an external page could, for example, post to that script and cause an edit or other transaction.

Likewise, if I want a session variable to be set or available on every admin page, the code need to be the first thing.

It would be AWESOME if FWB would allow me to specify header code to be placed ABOVE the page's PHP code, and the rest of the template PHP code could go at the bottom (just before the DOCTYPE declaration)

If not that, I would like to have the template's header code ALWAYS go above the PHP code for the page. Generally, any PHP code in the header of the template is intended to be global and generally intended to go first.

This may not have been an intended use of FWB, but it is really helpful and would be a great thing to expand upon.

Thanx,
Steven

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