Friday, May 4, 2012
Problem Solving Log
While developing my website in Dreamweaver, I ran into a handful of issues. First issue was sizing. I did not want the page to scroll so I had to figure out a gerneric frame size that would fit most computer screens used by our viewers.
The same frame was maintained on all pages containing the logo header, a frame of 700x394 and a footer containing our nav bar and social media widgets.
The biggest issue I had with the footer was I could not get the nav bar and the social media widgets to sit on the same plain with each staying to their respective sides. I would have the nav bar below and all the way to the left of the 700x394 frame and the widgest below and all the way to the right of the frame. But everytime the widgets would just appear on a line below the nav bar.
To fix this I had to take each separate <div> (the nav bar <div> and the social media <div>) Place them within one container <div> that measured the width of the over all frame. I then had to take the nav bar <div> and size the width to 50% of the overall container size. I think had to set a float left. Opposite of the nav bar <div>, I took the social media <div>, set the width of the overall container size and applied a float right. It still was a little uneven, but I Sized down my social media widgets until it layed on the same line as the nav bar.
The other big issue I had was once I took my final code and tried to host it on our domain site, two of the three social widgets failed to show up on all for pages (home, works, about, contact)
The solution was I had to change the permissions on two of the the three widgets from 600 to 744.
Another problem I ran into was trying to host all of our works from vimeo, on our works page, without changing the consistent frame
To solve this issue, I actually just went to vimeo.com and then clicked on 'Tools' in the navbar. Within tools, there are options for embedded widgets that play vimeo hosted videos on your site.
There is a hubnut option (which i used with slideshow capabilities) and a badge option, which displays a montage of all of your recent vimeo hosted videos. http://vimeo.com/widget
www.mhmmproductions.com
Tucker's Problem Log
The first step of our logs are when we are on the search for a template for our website. The two platforms that I have narrowed my search down to are Blogger and Wordpress. Both are set up to be blog style format, which will cater to the design I require.
Add Socials plugins, OpenGraph, Comments and FB connect. Publish your content to all your FB pages and on your personnal wall on Facebook Easy to install and setup. Use Iframe or Xfbml or HTML5 Add Like button and comments to pages, posts and custom posts types, at top, bottom or both. Widgets and Shortcodes available for each Facebook socials plugins. Use post thumbnail for openGraph, Fix like button with url linter, use pattern to defined custom openGraph meta, etc... Works in Facebook Tabs and Facebook Canvas! Use both SDK's PHP v.3.1.1 AND JS v3
Spencers Problem Log
Wednesday, May 2, 2012
Granelli- Completed page and problem log.
My design is a mockup self promotional website that is a test for future ideas. The WIX website builder is a useful tool in creating a modern looking webpage that did not come with many problems. The main problem that I have encountered thus far is having separate background images on each page of your website. I'd like to use separate images in order to show a multitude of examples that promote the concept or idea. I ended up just using a dark background and stretching pictures to fill the background, I would have liked more flexibility within this area but the WIX features are somewhat limited.
Problem Log
1. Problem: Having separate background images through WIX
Solutions: You can create a website based entirely of "Master" pages. Create a new website in Wix for every page of your website. Instead of using the menu bar, you can use "Text Buttons" arranged in a menu style to link between pages easily.
http://www.wix.com/support/main/flash/wix-editor/site-settings/site-background
2. Problem: Multiple master pages lead to increased load time between pages.
Here is an example, http://www.wix.com/bodlax/alexgranellihome
The link "Gallery" runs much smoother between pages
3. Webpage sizing- The builder view shrinks actual webpage size. Published webpage appears larger and requires scrolling to view.
The website looks decent in the builder view but the size of everything seems to increase when viewing the actual webpage.
Solution- Trial and Error. Try to make everything smaller and allow for a even border around the page layout. WIX doesn’t have a good way of showing rulers or any sizing information in the builder. The gridlines available are for a much more generic page layout with a column on the left for link, a body area, and a header.
Lastly- It seems necessary to be very careful in the choice/size/and layout of the texts I use. Some pages are visually non uniform and this takes away from the aesthetic side of the website.
4. Centering images and text on webpage. Wix doesn’t provide a way to center anything on the webpage. It’s entirely based off your own judgement and therefore leaves room for error. I simply tried to line up the pages equally but there is no way to know for sure if anything is centered.
Tuesday, May 1, 2012
Date for Class Final
Thursday, April 26, 2012
Problem Solving Log
Problem-While using the blogger dynamic template design I was having trouble getting the thumbnail picture for each video to show up.
Solution: had to find a code to put in that would show just an image that would link to the video. However, I changed the template from the dynamic view to a regular layout so this is no longer a problem for me when uploading videos
Problem- For the Crew page on my website I wanted to post each persons picture with their name to the left of it, but when trying to upload, the names and pictures went down the page instead of next to each other, 3 wide like I wanted.
Solution- I first started by trying to mess with the code inside of the blogger but that didn’t help so Chris helped me try to figure it out and make a table in dreamweaver. However, posting the pictures in the table and then posting the html from dreamweaver didn’t work because it wouldn’t recognize the source. I ended up solving this by finding a code for a table for blogger templates and just inserting the pictures into that.
Problem-I couldn't find a facebook badge located in the available badges from blogger to link to the facebook group page that we have.
Solution-I found a website that offers all different designs for badges to website such as facebook, twitter, linkdin etc., (which is at http://www.iconfinder.com/). I then used the custom html gadget to import the facebook badge as an image and linked it to the URL of the facebook.
http://strangebrw.blogspot.com/
Problem solving log
Wednesday, April 25, 2012
Ankhet Mobile Problem Solving
Solution: Modify headers sent from server for image data to clarify cacheability
Implementation: Not Done
Problem: Zoom works properly on iPhone but not on Kindle Fire
Solution: iPhone auto-creates a viewport from the beginning of the first visual component to the end of the last visual component. Kindle renders more or less like a desktop. Create a viewport for Kindle Fire.
Implementation: Viewport with minSize ~= 2.0 and maxSize ~= 3.0 with User-Scaleable = 1
Problem: mysql_real_escape_string requires a live connection to a mySQL database, so it can grab the character encoding. I don't have a mySQL database.
Solution: Use mysql_escape_string (deprecated, possible it'll be removed) or a dummy mySQL database with the same charset at the MSSQL database.
Implementation: Switched to MySQL 5.5 database backed by Sonic.net
Problem: Unable to use any mysql_, mssql_ or sqlsrv_ PHP functions with the default GoDaddy configuration (despite having databases for both mysql and MSSQL).
Solution: Switch somewhere that lets me finish my site.
Implementation: Call sonic.net. Get satisfaction in under 10 minutes.
Problem: Sonic.net doesn't support sqlsrv_ functions (linux based hosting) and mssql_ functions are deprecated.
Solution: Switch to a MySQL database, use the already extant mysql_ functions to interface with the database.
Implementation: see above.
Problem: default.php doesn't display at http://ankhet-mobile.net, instead a directiory of contents comes up.
Solution: Rename default.php to index.php.
Implementation: done (future: redirect index.php to default.php transparently, not done)
Problem: PHP pages are cluttered and contain large portions of if(bool) echo '[HTML CODE]';
Solution: Migrate HTML out of PHP
Implementation: Use include() to bring in HTML as needed, reducing page size, processing time and increasing readability.
Problem: HTML/PHP pages to be included are visible without being inside their including page.
Solution: Enforce inclusion over direct viewing.
Implementation: <?php if($_SERVER['PHP_SELF'] !== "[PAGENAME]") { header("HTTP/1.1 404 Not Found"); echo '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL '.$_SERVER['PHP_SELF'].' was not found on this server.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.41 Server at [SERVER] Port 80</ADDRESS>
</BODY></HTML>'; exit; } ?>
Problem: Sessions dying on every page, requiring new login.
Solution: session_start() must be on every page.
Implementation: Put session_start() just after <?php in most cases, or use ob_start()
Problem: Sessions persist forever.
Solution: Add logout button
Implementation: <?php
ob_start();
session_start();
session_destroy();
header("Location: [FRONTPAGE]");
ob_end_clean();
?>
Problem: Registration and some other abilities need to be restricted to testing only.
Solution: A debug variable, put somewhere it'll always be available.
Implementation: Wrap the abilities in question in if (AnkhDEBUG) {} and define() AnkhDEBUG in ankhetdb.php as it's included on every page.
Problem: Registration dumps you back on the main page with no indication your registration worked
Solution: Auto-login if successful.
Implementation: Change $returnVal to an array() with [0] being success and [1] being message. If [0] start_session, header location: index.php else continue on register.php, displaying [1] as appropriate.
Problem(s): Lots of problems with getting data into the table.
Solution/Implementation: Print the query being sent, debug debug debug, make sure of use ` instead of ' when referring to MySQL tables/databases (MySQL idosyncracy)
Problem: game.php needs to require login
Solution: Check if user is logged in, otherwise redirect
Implementation: Check if a particular session variable exists, if not use the above header location: technique to redirect to index.php for session start.
Thursday, April 19, 2012
Tuesday, April 17, 2012
Creating a customized map that you can embed in your website
Tuesday, April 10, 2012
Kirby - Problem solving log
Solution: Took a better picture with a higher resolution and cropped it in photoshop.
Problem: I'd like to make a page just for photos maybe using flickr.
Solution: I created an account and embeded it in the site. http://www.flickr.com/photos/77619906@N06/sets/72157629893824355/
Problem: Make the map of the route a google map.
Solution: Used the My maps application on google and created an interactive map of the route. http://www.youtube.com/watch?v=TftFnot5uXw
Then I adjusted the width so it matched the width of the picture that displays below it. <iframe width="508".
Problem: My boarder in the Right Div tag needed to blend better with the background but we could not change the opacity with out changing the opacity of the entire div.
Solution: Using the eyedropper tool on photoshop we were able to make a background for the boarder and set the transparency to 85%. It worked well and did not effect the transparency od the text and images in the div.
Problem: Easy to fix but, I wanted the water horizon in the picture on the home page to match with the background image.
Solution: I just adjusted the margin-top to 63px in the left and right Div tag. It seemed to be as close of a match as possible.
A Granelli completed home page
My design is a mockup self promotional website that is a test for future ideas. The WIX website builder is a useful tool in creating a modern looking webpage that did not come with many problems. The main problem that I have encountered thus far is having separate background images on each page of your website. I'd like to use separate images in order to show a multitude of examples that promote the concept or idea. I ended up just using a dark background and stretching pictures to fill the background, I would have liked more flexibility within this area but the WIX features are somewhat limited.
Problem Log
1. Problem: Having separate background images through WIX
Solutions: You can create a website based entirely of "Master" pages. Create a new website in Wix for every page of your website. Instead of using the menu bar, you can use "Text Buttons" arranged in a menu style to link between pages easily.
http://www.wix.com/support/main/flash/wix-editor/site-settings/site-background
2. Problem: Multiple master pages lead to increased load time between pages.
Here is an example, http://www.wix.com/bodlax/alexgranellihome
The link "Gallery" runs much smoother between pages
3. Webpage sizing- The builder view shrinks actual webpage size. Published webpage appears larger and requires scrolling to view.
The website looks decent in the builder view but the size of everything seems to increase when viewing the actual webpage.
Solution- Trial and Error. Try to make everything smaller and allow for a even border around the page layout. WIX doesn’t have a good way of showing rulers or any sizing information in the builder. The gridlines available are for a much more generic page layout with a column on the left for link, a body area, and a header.
Lastly- It seems necessary to be very careful in the choice/size/and layout of the texts I use. Some pages are visually non uniform and this takes away from the aesthetic side of the website.
4. Centering images and text on webpage. Wix doesn’t provide a way to center anything on the webpage. It’s entirely based off your own judgement and therefore leaves room for error. I simply tried to line up the pages equally but there is no way to know for sure if anything is centered.
Thursday, April 5, 2012
Video 2012-04-04
Tuesday, April 3, 2012
Class-Assignment: Due dates for the This Month
A week from then, on Tuesday 4/17, you must have all the written content for your static pages finalized, and all your images assembled. You will turn the writing in as a printed word document.
The following week, on Thursday 4/26, a draft of your website with all the static pages in place, with text and images, is due. I'll take a look at the sites during that class.
This is how your final grade will break down
25%: Class and blog assignments (assignments to date)
75%: Your final website
That latter 75% will be composed of the following:
15% your "problem solving" log, due at the final
15% your Tuesday 4/10 presentation
15% your Tuesday 4/17 delivery of website content
15% your Thursday 4/26 draft of your site
15% your completed and polished website, due at the final
Thursday, March 29, 2012
m brill problem-solving log
Tahoe Community Sailing will be the website for the Tahoe Community Sailing not for profit organization. Currently they only have a Facebook group page, so this will help get their name further out into the digital world. The website will be used to relay event information, accept donations via PayPal and send mass emails to anyone who has provided their email address by donating or joining their mailing list.
The target audience for this page will be those who contribute to the organization or otherwise participate in organization events as well as those who have an interest in sailing. The primary beneficiaries of the organization are kids and teens, but the website will most likely be targeted more towards their parents, as the kids will need permission before they can participate in any events.
Network Solutions (NS) will take care of the hosting and database services for the website. I chose NS because they are reliable and fairly inexpensive, while still providing all the capability the website could ever need. They also perform daily incremental database backups, which will minimize any data loss in case of an accidental, erroneous database entry or server failure. The website will be run through the Drupal CMS, to allow the Tahoe Community Sailing organization to update the content without requiring additional assistance.
Tahoe Community Sailing-- Drupal nav bar displaying on front page:
- found $is_front variable. set if statement to remove nav bar on front page
- Water loop choppy:
- layered duplicate video with fade to ease transition
- flash header links not functioning:
- fixed with navigateToURL(request, '_self') expression
Emerald City Lan-
- side columns are uneven length:
- found class in css file and set explicit min-height and height
- security flaw in seat reservation allows users to reserve seat without first registering:
- added if statement to verify guest exists in registration database prior to inserting seat reservation
- brother wanted automatic confirmation as opposed to existing manual verification:
- found PayPal Instant Payment Notification (IPN). setup script to receive IPN and update database to reflect that the guests payment had been successfully received
Aerobatic Company & Flight School, Inc.-
- students able to schedule flights with off duty instructors:
- added a "time on" database and script that allows instructors to set times they are available. modified schedule new/edit flight scripts to first verify the instructor is available before displaying available instructors to student to reduce confusion. added secondary verification to prevent students from altering form values manually and bypassing first verification.
- students unable to contact new instructor:
- added link to success prompt, directing students to page with instructor contact information
- quick confirmation buttons broken in flight list:
- when i rewrote the main schedule i changed from day/time to flight id to target specific flights but did not change to this system in the flight list. updated code to reflect changes
My web site is actually a blog with one main page where I post my picture of the day so that people can follow me. It s nothing more than a picture and video post page.
*My issues (photoshop)
I can't resize picture
*My wishes
I wish I could superimpose picture without hiding one.
I want to create slide show as well .