close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Question about Administrator and User differences

Thread began 5/24/2011 9:18 am by johna1964 | Last modified 5/25/2011 12:31 pm by Jason Byrnes | 1774 views | 5 replies |

johna1964

Question about Administrator and User differences

I just need some clarification:

When I ran the Data Assist Wizard, I followed the gsg. The example defining the results page layout chooses the Administrative page type.

My question is do I ran the Data Assist Wizard again for the Public page type?

Then if that is the case, how are these diffences identified in the site? Do I create a link for public access without the ability to make any changes? And another link for admin? Or does this all become clear through user privilages?

Is the Data Assist search page what a vistor (user) will use to search for products? If so, I would not want them to have the ability to delete products and change price, etc.

I'm just a little confused here. Can you brief me?

Much Thanks!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

the admin page type and user page type are really just predefined layouts for the results page.

you can design the user facing pages using the admin payout if you like, or use the user layout, either one will work.

when creating the user facing pages, set the wizard to create only the search, results and detail page, do not include the update, insert or delete pages.


you will want to use security assist to restrict access to the admin pages.

Sign in to reply to this post

johna1964

Thanks for the reply...

I'm still a little confused...

The results page still has access to delete, insert and update. This is where I am confused...

The search capability for the users is a separate wizard: Data Assist Search Wizard?

Thanks!

Johna

Sign in to reply to this post

johna1964

Last message continued

Jason,

I think where my confusion is because I am not understanding how the administrative backend ties into the front end. I understand the why's I'm just not understanding the how.

Do I have a link on the site specifically for admin access?

Thanks

johna1964

Sign in to reply to this post

johna1964

Jason,

What I have done is run the Data Assist Wizard again as you specified for visitors and renamed the files to distinguish the difference. I think this will work...my next quest is to ask how to add the php for the image alt name. I went ahead and created a new column in the database for this purpose. I just need to know how to add the image name (alt) into the site.

If you could assist me in this effort, that would be wonderful...

Thanks again!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

in the first step of the data assist wizard, set the admin pages to be created in the admin folder by adding the folder name in front of the page name

admin/results.php

for the user pages, dont add the folder name in front, so they will be created in diffreant pages.


for the alt tag, edit the code to add the recordset binding:

alt="<?php echo $row_RecordsetName['ColumnName']; ?>"


where RecordsetName is the name of yuour recordset and ColumnName is the name of your column.

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