close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

now CS6 My form creator longer works right Design Extender

Thread began 4/16/2013 1:59 pm by rob294118 | Last modified 4/23/2013 12:47 pm by rob294118 | 1243 views | 15 replies

Christopher WestCommunity Expert

Hi ok erm....Im wondering if I should do a few tutorials on this..

The way I would start is create my folder structure, usually it consists of:
CSS
JS
Images (I usually then create subfolders for logos, banners etc)
Admin (I like to keep all my admin pages seperate)
Member (I like to keep all my member area seperate)
Template (this will be created after I set a dreamweaver template)

So in dreamweaver create a nice template for your design, then set dreamweaver edit regions then save it as a template.

Decide on your database.... I will attach an example database here:

This database has many tables that you may not want to use (such as a rotating banner, coupon system, shipping system, messaging system etc)

I suggest fine tune the database first so you know exactly what you want to store etc.

The I would start on the registration, login system first (that may include a forgot password system) The for the login system you can then star using framework builder to check the login level so you can redirect to either the admin or member area. (On login success I would have a file called account.php and on this page I would set a framework dynamic plugin condition to check the userlevel so it wil dynamically load in either the index.php file from the admin folder or the index.php file from the member file.

The I would start on creating the admin pages (add/update/delete) for the various features you want in the website and give then meaningful names such as:

add-product.php
delete-product.php
update-product.php
browse-members.php
browse-products.php
browse-categories.php
add-category.php
update-category.php
delete-category.php

etc etc.....

the above files wouldnt contain any of the website template design, they would only contain forms and the php code to do their corrisponding function..i would call the above php files using framework dynamic plugin via the index.php contain in the admin folder (and since this admin index.php file would be called from the account.php file from the root directory. your admin.php file may look like something like this:

php:
<?php require_once('../webassist/framework/framework.php'); ?>

<?php 
require_once('../webassist/framework/library.php'); ?>
<?php 
require_once( "../webassist/security_assist/helper_php.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Admin")){
    
WA_Auth_RestrictAccess("../login.php");
}

if(
true){
// WebAssist Framework Builder Dynamic Plug-in: $WA_browse_members_1364690509757
    
switch(isset($_GET['Content'])?$_GET['Content']:""){
            
            case 
"browse-digitalitems":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-digitalitems.php");
            break;
            case 
"browse-physicalitems":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-physicalitems.php");
            break;
            case 
"browse-categories":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-categories.php");
            break;
            case 
"browse-shippingcosts":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-shippingcosts.php");
            break;
            case 
"browse-shippingoptions":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-shippingoptions.php");
            break;
            case 
"browse-coupons":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-coupons.php");
            break;
            case 
"browse-banners":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-banners.php");
            break;
            case 
"browse-campaigns":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-campaigns.php");
            break;
            case 
"browse-messages":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-messages.php");
            break;
            case 
"browse-events":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-events.php");
            break;
            case 
"browse-profile":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-profile.php");
            break;
            case 
"browse-members":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-members.php");
            break;
            case 
"browse-statistics":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-statistics.php");
            break;
            case 
"browse-orders":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-orders.php");
            break;
            case 
"browse-subscribed":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-subscribed.php");
            break;
            case 
"browse-membershipcosts":
            
$WA_browse_members_1364690509757 = new WA_Include("browse-membershipcosts.php");
            break;
            case 
"create-digitalitem":
            
$WA_browse_members_1364690509757 = new WA_Include("create-digitalitem.php");
            break;
            case 
"create-physicalitem":
            
$WA_browse_members_1364690509757 = new WA_Include("create-physicalitem.php");
            break;
            case 
"create-category":
            
$WA_browse_members_1364690509757 = new WA_Include("create-category.php");
            break;
            case 
"create-shippingcost":
            
$WA_browse_members_1364690509757 = new WA_Include("create-shippingcost.php");
            break;
            case 
"create-shippingoption":
            
$WA_browse_members_1364690509757 = new WA_Include("create-shippingoption.php");
            break;
            case 
"create-coupon":
            
$WA_browse_members_1364690509757 = new WA_Include("create-coupon.php");
            break;
            case 
"create-banner":
            
$WA_browse_members_1364690509757 = new WA_Include("create-banner.php");
            break;
            case 
"create-campaign":
            
$WA_browse_members_1364690509757 = new WA_Include("create-campaign.php");
            break;
            case 
"create-message":
            
$WA_browse_members_1364690509757 = new WA_Include("create-message.php");
            break;
            case 
"create-event":
            
$WA_browse_members_1364690509757 = new WA_Include("create-event.php");
            break;
            case 
"create-membershipcost":
            
$WA_browse_members_1364690509757 = new WA_Include("create-membershipcost.php");
            break;
            case 
"update-digitalitem":
            
$WA_browse_members_1364690509757 = new WA_Include("update-digitalitem.php");
            break;
            case 
"update-physicalitem":
            
$WA_browse_members_1364690509757 = new WA_Include("update-physicalitem.php");
            break;
            case 
"update-category":
            
$WA_browse_members_1364690509757 = new WA_Include("update-category.php");
            break;
            case 
"update-shippingcost":
            
$WA_browse_members_1364690509757 = new WA_Include("update-shippingcost.php");
            break;
            case 
"update-shippingoption":
            
$WA_browse_members_1364690509757 = new WA_Include("update-shippingoption.php");
            break;
            case 
"update-coupon":
            
$WA_browse_members_1364690509757 = new WA_Include("update-coupon.php");
            break;
            case 
"update-banner":
            
$WA_browse_members_1364690509757 = new WA_Include("update-banner.php");
            break;
            case 
"update-campaign":
            
$WA_browse_members_1364690509757 = new WA_Include("update-campaign.php");
            break;
            case 
"update-event":
            
$WA_browse_members_1364690509757 = new WA_Include("update-event.php");
            break;
            case 
"update-profile":
            
$WA_browse_members_1364690509757 = new WA_Include("update-profile.php");
            break;
            case 
"update-member":
            
$WA_browse_members_1364690509757 = new WA_Include("update-member.php");
            break;
            case 
"update-membershipcost":
            
$WA_browse_members_1364690509757 = new WA_Include("update-membershipcost.php");
            break;
            default:
            
$WA_browse_members_1364690509757 = new WA_Include("browse-members.php");
            break;
    }
    if(isset(
$WA_browse_members_1364690509757)){
        require(
$WA_browse_members_1364690509757->BaseName);
        
$WA_browse_members_1364690509757->Initialize(true);
    }
// End: WebAssist Framework Builder Dynamic Plug-in: $WA_browse_members_1364690509757
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<?php echo((isset($WA_browse_members_1364690509757))?$WA_browse_members_1364690509757->Head:""?>
</head>
<body>
<?php echo((isset($WA_browse_members_1364690509757))?$WA_browse_members_1364690509757->Body:""?>
</body>
</html>



This way everthing is all organised...

Let me know if you have any questions so far then I will give you an idea on the other features of the website you may need building...
I just dont want to give you too much to soon until you got an idea of my workflow to see if it suits your workflow?

Chris

Attached Files
websitedb.sql

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