close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Framework builder is generating code with errors

Thread began 11/05/2015 10:19 pm by danielsebas | Last modified 11/23/2015 2:49 pm by Ray Borduin | 1999 views | 8 replies |

danielsebas

Framework builder is generating code with errors

Hi I'm trying to use dynamic framework and the extension is generating a wrong code I'm attaching an example with a clean php page.

Sign in to reply to this post

Ray BorduinWebAssist

What condition are you trying to use? I see you have "mod" specified as the variable, but all variables in php need to start with a: $

What exactly are you trying to do? Maybe I can suggest the correct inputs.

Sign in to reply to this post
Did this help? Tips are appreciated...

danielsebas

Hi Ray, as the trigger variable I am putting mod, if I put $mod it also generates an error because the code generated will be:
switch(isset($mod)?$mod:" "){
If I just leave it as mod it will work if I erase isset:
switch((mod)?mod:" "){
or also will work if I leave it like this:
switch(isset($mod)?mod:" "){
but the behavior will dissapear from the behaviors panel

The attached picture shows how I am filling the insert plug-in dialog box

Sign in to reply to this post

Ray BorduinWebAssist

This looks like it would be correct to me:
switch(isset($mod)?$mod:" "){

What is "mod"... where and how is it defined?

Sign in to reply to this post
Did this help? Tips are appreciated...

danielsebas

It will be used like this:

index.php?mod=contact

Sign in to reply to this post

Ray BorduinWebAssist

Use: $_GET['mod']

as the variable

Sign in to reply to this post
Did this help? Tips are appreciated...

danielsebas

Thank you Ray

Sign in to reply to this post

Ray BorduinWebAssist

You are welcome

Sign in to reply to this post
Did this help? Tips are appreciated...

danielsebas

Hi Ray I'll be in touch

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