Sunday, 3 May 2009
CW2: Shopping Cart not working in IE
Searching online for the solution I found this article whic explained it well.
http://www.ekmpowershop.com/support/userguide/urlmasking_and_uids.asp
Thursday, 30 April 2009
CW2: Validate Register Page



CW2: Problem solving logging session
This was done manually, throught the help of books and online resources, however having looked at the google groups for answers, there was mention of using the Dreamweaver facility of creating login-form as well as restricting users.

Under the data menu there is the facility of creating restrict users selection, this automated a lot of the work.
As stated earlier the manual way of creating the login session, it was not properly initialised, so the Dreamweaver facility provided a much better way to carry out this task.

The page shows a log-in form that was initialized by Dreamweaver, the form fields had to be created manually, textfields, labels, etc but the coding was handled by Dreamwever, where options were given to choose the table to authenticate the users who log-in,

By creating the log-in and restrict users, the session is realted, and much quicker to integrate.
CW2: Google Analytics
Tuesday, 28 April 2009
CW2: Problem email not working
Mail was Sent to your user from cctmdev2
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CDONTS.NewMail'
/mim0444/coursework2/Post.asp, line 60
Monday, 27 April 2009
CW2: Problem Solving shopping Cart quantity
There was a problem with the shopping cart quantity, as it expected values which are not proper quantity like -negative numbers, decimal values, and also very large numbers. Message was posted on google groups for help in this area.

The answer posted was by me, as I had put javascript code to validate the quanity, however it gave another error later that was not showin the shopping cart page correctly after the validation occured.
So to make things simple, I have implemented a list box, loaded with values, with the list box the user will not be able to input any kind of wrong values.
in the name field this is put: "localCart(CARTPID, i )"

CW2 Creating shopping Cart

The table has columns, for product description, price, quantity, total, and the picture.
Then the fields were set, it includes hidden fields, like for the quantity field, as well ordertotal.
It was developed according to the process shown on the UltraEasy Shopping Cart hosted at http://cctmdev2.londonmet.ac.uk/WebthangTutorials/shop_cart/uecart_12.asp
Code used was provided by the webpage hosted above. Changes were made at necessary parts to equip with the webpage.
Shopping cart shown below.

Creating the image field as well as the delete option, not provided in the UltraEasy Shopping Cart
First additional CONST needs to be declared
CONST CARTPICTURE = 4
Then it is called from the product details page by
picture = TRIM(Request("picture"))
Added to the shopping cart by
localCart(CARTPICTURE, i) = picture
Finally putting the img field with the code provdied,
( localCart(CARTPICTURE, i))%>
In the img tag it's written item from 'add item to cart' so it containts the field from VB script.
Creating the delete optionFor the delete checkbox code was taken from the textbook, in the checkbox field name this is put.
localCart(CARTPID, i )
In the update quantity part of the VB Script, this code is inserted,
deleteProduct = TRIM( Request("pd" & localCart(CARTPID, i)))
Since the input name was given with pd, it is calling for the name in the trim request,
This is set at :
IF newQ = "" or newQ = "0" or deleteProduct <> "" THEN
localCart( CARTPID, i ) = ""
So either quanity field is blank, or zero, or the deleteproduct is checked it removes the record from the shopping cart which is "".
Showing the Total for each product
Total value of each product was not shown on the shopping cart, only the toal value of all products, so to show the customer the total value of each product, this code is put :
productTotal = ( localCart( CARTPPRICE, i ) * localCart( CARTPQUANTITY, i ) )
This is put right above the order total calculation, then the 'productTotal' is put in the column where the total of each product is shown.Sunday, 26 April 2009
CW 2 Problem Solving

Thursday, 9 April 2009
CW 2: Google Analystics

Monday, 6 April 2009
CW2: Website changes

CW2: Interview of website evaluation
Q 1: I have designed a website for selling clothes for people of Dhaka, Bangladesh. Please see my website and compare it to Laura Ashley website and also websites of Zuhair Murad , please let me know what additional features I need to add to the website ?
Mr.Shohag: The website seems ok, you need to have much better picture, the picture size is too small. The Versace website appears more clearer, you can use better fonts and have sharp colours. You should have facility where users can click on the image and a larger image would appear, so users can get a better view of the images.
Q 2: Do you think that the products that are being shown on the website are adequate for the customers I am selling to?
Mr.Shohag: I feel that you need to add more variety of products to the site, try and get more variety of products to customers so that they will not have to go another website.
Q 3: Does the home page have the theme for clothing in Dhaka, Bangladesh?
Mr.Shohag: The theme could be better had you used a different background colour.
Q 4: What changes I need to make in home page?
Mr.Shohag: Change background colour, and have larger images, also provide some information.
Q 5: Do you think any search functionality should be implemented on the website?
Mr.Shohag: Yes search functionality can be implemented to the site, if you have a lot of products.
Second interview was with Mr. Zulfir Mahmoud manager of Zeneth Fashion North Row, Mayfiar, London W1K 6DB on 03/04/09:
Q 1: I have designed a website for selling clothes for people of Dhaka, Bangladesh. Please see my website and compare it to Laura Ashley website and also websites of Zuhair Murad , please let me know what additional features I need to add to the website ?
Mr.Zulfir Mahmoud: Well your layout is not correct, as you have to add some links like contact us or about us etc. It does have the background like zuhair murad site and you can try and make your pictures a lot larger.
Q 2: Do you think that the products that are being shown on the website are adequate for the customers I am selling to?
Mr.Zulfir Mahmoud: Yes I think it’s adequate, but you should carefully monitor your demographic, and do extensive market research as fashion clothes changes constantly.
Q 3: Does the home page have the theme for clothing in Dhaka, Bangladesh?
Mr.Zulfir Mahmoud: It does capture the theme, especially the pictures under the banner.
Q 4: What changes I need to make in home page?
Mr.Zulfir Mahmoud: The first things you have to change is the image size. Have an appealing picture also put some information on the homepage, more details of the website and any offers you are giving for your products.
Q 5: Do you think any search functionality be implemented on the website?
Mr.Zulfir Mahmoud: Yes there should be search functionality as it can be quick to find products that match the users requirements.
Wednesday, 11 March 2009
MasterPage and web.config

The debugging is not enabled as it creates problem in the web.config file when it is deployed to a web server as it is mentioned in the dialogue box above. So I ran the without the debugging option.
There was also issue using the MasterPage on the webpages, masterpages maintain the consistency and functionality of the site however there were issues concerning the usage. Problem was if the asp.net page is being developed on 3.5 and .Net framework is different such as 2.0 then this problem occured. The master pages was not compiling on the web server. So the use of masterpages was a problem and had to be removed from the project.
It was mentioned that the web.config file should be removed from the website folder to prevent this error, however even after removing the web.config file from the site it still gave th error. The webpages were designed without the use of the Master Page.
database connection error

This solved the issue for the database connection.
Sunday, 8 March 2009
Google search domain

Then it showed that the site verification was complete on the google webmaster.

then after verifying the website, and submitting to google for the URL, it was then google search with the domain name of my site www.dhakawear.com and google search listed it on the search pages shown below.
Saturday, 7 March 2009
Implement scrolling records

then the accessdatasource is configured to show records from the product table, here we will show products only for women.

the sql query is set to products where records with the gender value of 1 is retrieved.

Friday, 6 March 2009
Task 3 URL forwarding-email-forwarding
Web page design


A table is create to display record from the one category (women), another table to the left is created to shown (men) category.
Page to display the records from the database is shown below.

It uses the same master page , however it now uses gridview to display the records.
Monday, 2 March 2009
Page load error

Wednesday, 25 February 2009
Series of Tubes
Sorry for the pic quality, I was taking the pics with my 1.3pixel phone camera, and I couldn't get a good shot as I was hiding behind the curtains.
Former senator Ted Stevens of Alaska made this hilarious comment of the internet as a 'a series of tubes' the video has gone viral. The vid link is shown below.
Another incident which includes vice president Joe Biden
Biden Asks For Web Site's 'Number'
The vice president made a techie gaffe Wednesday as he asked an aide to tell him a Web site's "number," stirring questions online whether he knows how the Web works.
Tuesday, 24 February 2009
Problem solving
After getting the error, I have checked the page for errors and also checked that the .Net framework was installed properly, as the problem came from either the IIS or the .Net framework as I couldn't find the solution to the problem, I had posted the problem on the ecommerce group message shown below.
Details of the problem posted on the message board can be found here.
http://groups.google.co.uk/group/ecommercemetro/browse_thread/thread/e3d4de879859ec4b
Consulted the book and online resources, it was mentioned that the IIS in certain situations is not intialized properly like installing IIS after installing .Net, even though both programs are installed and working properly it was intialized. To configure the IIS to recognize the .Net framework the process to configure the IIS was mentioned in an online forum shown below.
http://www.sitepoint.com/forums/showthread.php?t=596277
Configuring the IIS
Through the command prompt the aspnet_regiis .exe file will need to be run, the process is shown below.
After the installation the website did not give errors when compiling the asp.net pages.
Server error for dynamic page
Having connected the database to the asp.net page and running it locally gave no problem at all.
Now after posting the files on to the webserver it gave the following error.
I have also posted the problem on the ecommerce groups link is given below.
http://groups.google.co.uk/group/ecommercemetro/browse_thread/thread/3c25c7a71db124ac?hl=en
Friday, 20 February 2009
Website Theme research
.bmp)
.bmp)
Zacposen had a very good home page, it showed the quality of the website the product and where the product is appealing to.
Another brilliant website was by Zuhar Murad, it had the same classic look as the fashion website specifially targeted to celebrity.
















