Reputation Activity
-
Tom got a reaction from Grant Barker in Backlink tool?http://www.backlinkwatch.com/
Seems to do exactly what you want
-
Tom reacted to Matthew Stocker in Johns Website DesignI don't think we should all make complaints guys, I mean come on, we are lowering ourselves then.
John, good luck to you sir, but please, at least listen to some of the advice given here, our industry is just full of complete waste of spaces, and we don't want another one to join the ranks. You say you are at college, I have just left college and I seem to be doing fine, it just depends on how much effort you put into learning the skills.
Thank you and good night
Matt
-
Tom got a reaction from TylerCollins in Report Bugshttp://www.bubblebum.co.uk [For people who don't think to look in the subtitle )
Everything worked fine for me; Google Chrome on Windows XP. Might be worth removing the outline on links though.
Nice looking site mate.
-
Tom reacted to KieranA in PHP TemplatesTheres entire libraries out there dedicated to this.
www.smarty.net
Or you can use a class like this (just coded it right now, haven't tested it so heh)
With the class below you'd do the following to set up:
Create a directory called classes/ in your root dir
Create a directory called templates/ in your root dir
In classes/ create a php file called template.class.php
Copy and paste the code at the bottom of this post until the last }
Save it.
Then open up templates/ and create a folder called layouts/
Inside templates/layouts/ create a file called default.php which will contain your entire sliced up layout (HTML)
Find the exact center (were you want the content to go) and dump this piece of code:
<?php echo $content_for_layout; ?>
Save the file.
Go back to the templates/ folder and create a file called "contactform.php" or something (as a test)
Dump in some text and put in a few variables (e.g. <?php echo $forename; ?> <?php echo $email; ?>)
Go back to your root dir after saving that file and create another one called "contact.php"
Put the following code in:
include ('classes/template.class.php'); $template = new Template; // Using 2 params $template->assign('username','Kieran'); // Using an array $template->assign(array( 'email' => 'something@something.com' 'forename' => 'My name!' ) ); $template->set('default'); // Output form in default layout:) $template->output('contactform');
Save and test.
<?php Class Template { private $vars = array(); private $template = FALSE; const ROOT = './public_html'; public function assign($key,$val = FALSE) { // Allow parameter to be string or an array and assign them if (is_array($key)) { array_merge($vars,$val); } else { $vars[$key] = $val; } } public function set($template) { // Class scope $this->template = $template; } public function output($file,$return=FALSE) { // Extract variables for use in template files. extract($this->vars); // Template set? if (!$this->template) { // Return single file. ob_start(); include(self::ROOT . '/templates/'.$file.'.php'); $contents = ob_get_clean(); } else { // Collect output ob_start(); include(self::ROOT . '/templates/'.$file.'.php'); $contents_for_layout = ob_get_clean(); // Collect output ob_start(); include(self::ROOT . '/templates/layouts/'.$this->template.'.php'); $contents = ob_get_clean(); // No need for it anymore unset($contents_for_layout); } $contents = ob_get_clean(); if ($return) { return $contents; } else { echo $contents; } } } // Usage $template = new Template; // Using 2 params $template->assign('username','Kieran'); // Using an array $template->assign(array( 'email' => 'something@something.com' 'name' => 'My name' ) ); $template->set('default'); // Output form in default layout:) $template->output('forms/emailform');
-
Tom reacted to webdeveloper93 in How to do javascript form validationOk so for people who dont wanna really use php for validation which might be considered alittle bit harder imma show u an easy way to do it in javascript below we will use 3 fields name,email,password
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>validation</title> </head> <body> <script language="JavaScript" type="text/javascript"> function validate(){ if(document.form.name.value.length < 1){ alert("Please enter your name"); return false; } if(document.form.email.value.length < 1){ alert("Please enter your email"); return false; } if(document.form.password.value.length < 1){ alert("Please enter your a password"); return false; } } </script> <form name="form" method="POST" action="test.html" onSubmit="return validate();"> <p><b>Name</b><br /><input type="text" name="name" size="30"></p> <p><b>Email</b><br /><input type="text" name="email" size="30"></p> <p><b>Password</b><br /><input type="password" name="password" size="30"></p> <input type="submit" name="submit" value="Submit"> </form> </body> </html>
You may also do this as messages instead of pop ups by changing the JavaScript to
<script language="JavaScript" type="text/javascript"> function validate(){ if(document.form.name.value.length < 1){ var message ="I am sorry you must fill in your name"; document.write(message); return false; } if(document.form.email.value.length < 1){ var message ="I am sorry you must fill in your email"; document.write(message); return false; } if(document.form.password.value.length < 1){ var message ="I am sorry you must fill in your password"; document.write(message); return false; } } </script>
But anyways i do hope this is useful to some people if you don't wanna do it in php but um incase you do i my as well show you that also lol heres the php code to validate using php.
<?php $name = $_POST['name']; $email = $_POST['email']; $password = $_POST['password']; $errors = array(); if(isset($_POST['submit'])){ if(!$name){ $errors[] = "I am sorry you must fill in your name"; } if(!$email){ $errors[] = "I am sorry you must fill in your email"; } if(!$name){ $errors[] = "I am sorry you must fill in your password"; } if(count($errors) > 0){ foreach($errors AS $error){ echo "$error <br />"; } }else{ //If no errors do this //If no errors do this } } ?>
Ok well as you can see javascript is a little bit easier to do validation well i hope you enjoyed this and find it useful
-
Tom reacted to Jay Gilford in Quote Displaying ScriptCool, glad you got it working
-
Tom reacted to MOTIF.tv in Junior web designer I got the job !Just got the call, They finished interviewing today and I got the job !
Thanks for all the support you guys have been giving me and I'm sure I'll be pestering you when I'm at my new Job.
-
Tom got a reaction from Maxson in I can't access this site anymore.Shameless plug
SiteChecker.info - Check if a site really is down, and get an email notification on return.
-
Tom reacted to BenTheDesigner in help with my navigation pleaseHi oldbook
I agree with davewilly. I've attached an example for you to take a look at. I kept it very simple, but provided a div split into 3 both horizontally and vertically. Hope it helps you.
With regards to using includes, I will explain the best I can . PHP enables you to call in external files for various reasons, one popular reason is to load in parts of your page for example the header, left navigation, footer etc. This is useful because you can effectively seperate out each section of your site, and load each when it's needed - this allows you to better organise your code, and spend less time editing multiple pages - which is what you were trying to avoid doing in your original post. I'd start by having a read up on Google, but this is your basic include construct:
<?php $page = 'home.php'; include_once('inc/header.php'); include_once('inc/'.$page); include_once('inc/footer.php'); ?>
Used in conjunction with a switch, you can use it to define all the pages of your site, and set $page accordingly Hope this helps.
BenTheDesigner
Example for Oldbook.zip
-
Tom reacted to http://www.mydediserver.co in Query helpHello,
We can do this using a script. A sample script for duplicating all tables in a database with another name is attached herewith. Please try and run the script in a test environment before any updates in a live database.
Thanks,
MyDediServer Support
db_duplicate.php.gz
-
Tom reacted to http://www.mydediserver.co in Query helpHello,
MySql query is given below.
CREATE TABLE v2_tablename as select * from tablename;
where tablename is the name of table. You need to do this for every table in the database.
Please note that the above query will duplicate all records in the table. But if you do not want to duplicate records with table, please use the following query.
CREATE TABLE v2_tablename as select * from tablename limit 0;
Thanks,
MyDediServer Support
-
Tom reacted to http://www.mydediserver.co in Query helpHello,
We can do the same using phpMyAdmin also. The steps are given below.
Select database and then table from PhpMyAdmin
Select "Operations" menu
Select "Copy table to (database.table): "
From here you can duplicate table with options "Structure only" Or "Structure and data"
Thanks,
MyDediServer Support
-
Tom reacted to traxor in Design Showcase WebsiteWell then you've misread what I said, I said it'd be easier to get a developer to do it than it would be to learn yourself, because to get to that level from nothing, it would take you years to get it right with the submit thing etc, unless it's just a manual thing, which I don't think it is. Plus, if you look at the back end, it's crazy.
-
Tom reacted to Mark L Bentley in How much to build this?That's the next stage. It should be possible. I'll let you know how I get on.
-
Tom reacted to Mark L Bentley in How much to build this?I've decided to stay away from the plugin. Here is what I have so far. It's messing up if you click next before the animation has finished so i need to sort that.
-
Tom reacted to Mark L Bentley in How much to build this?I'm not sure you'll be able to get that effect the the cycle plugin. Good luck with it. I found this that might be more adaptable for this effect. I'm going to have ago see what I can make of it. If i get it done i'll let you know.
-
Tom reacted to mr p in How much would u charge for this?*enters the ring*
You may as well crap all over it for what it'll be worth Maybe ten hours is possible if you had a detailed brief and all elements of the project handed to you on a plate, but what about the process?
I mean, first of all you've got the initial client contact to discuss what they're after; then maybe write a proposal having done some research; squeeze the content out of them; plan the site; design the site; get the design signed off; code it up; test it out; get it live.
Probably missed out a few bits there as well. The point I'm making is that the cost/timescale of the site needs to take into account the whole process. The 10 hours you're talking is surely only possible if the client gives you everything you need immediately and near total control over the planning/design. And that rarely happens in the real world.
I'm not saying you can't do it in ten hours, just that you'd need to be halfway through the process already so that designing and coding was all that was left.
-
Tom reacted to Pendulum in How much would u charge for this?Its a nice site, my first impression of the homepage was very good. I think a client could pay £500 - £750 for a site like that and get a good deal. The first reply that valued the site at £100 is like bitchslapping the OP across the face. The bloke who said he could produce the whole site in 10 hours was almost as bad. I don't blame the OP for becoming a bit angry given the ridiculous valuations he received.
-
Tom reacted to terydinho in How much would u charge for this?Alzer: I can understand your reason for posting that link up (great article by the way), but it still comes down to personal preference.
There is no set price for design work - it is simply as much as you can get away with charging. I have seen some sites that people have paid upwards of £10k for and they are so basic it is laughable. The fact of the matter is, that you can't use a standard pricing system with design, it is all very personal. If we standardised payments for design work then most agencies would be out of work very quickly.
Also, in relation to that link you posted... do you consider yourself to have a high base rate/cost of doing business? An agency with an office and many staff will have a high codb and therefore prices will be higher, for a freelancer (like many of the people on this site) the codb is rather low and therefore they can pass on these 'savings' to the client.
Obviously the client gets what they pay for, not in terms of quality of design or coding, but in sheer man-power and account management ability.
This whole subject is pointless to discuss; price is 100% subjective and if you took 100 designers/agencies, they would all charge different rates to do the same job.
I really can't see why this thread has ended up in a slagging match between members; price is something that people will never ever agree on 100% and if you choose to charge more for your designs then well done to you for convincing a client to pay a decent amount.
-
Tom reacted to traxor in Feedback please :)The white one is the nicest one you've done, the others have far too much going on in them, and whilst they were probably complicated, they look quite simple. Less is more.
-
Tom got a reaction from Loxley in Feedback please :)Looks really nice! Works perfectly if it's for a watersports company, otherwise I would have agreed with chriswhite.
I'm not 100% on the way you've cut out the top and bottom of the main content area, looks a bit strange to me. Other than that it's a great design, good job!
-
Tom reacted to Ethan Ross in Feedback please :)The white one is horrific.
-
Tom reacted to Robbie in How much would u charge for this?For the first time in a long time I feel ashamed to be Irish.
You class yourself as an advanced web designer yet you can hardly spell and use capital letters correctly. I can understand a web design company maybe charging over €1000 for a site like that as companies like that have overheads and other employees to pay unlike freelance designers who work for themselves.
I'd charge €500 for that site and easily have it done in 2/3 days. That's just my price, maybe other designer will charge more and have extras like a CMS but everyone will vary. Any designer who'd take 3k for that exact site is just plain greedy.
I think everyone else here know's how far you'll go with that attitude
-
Tom reacted to alzer81 in How much would u charge for this?i just think ur talkin crap sayin that u could design and code that in 10 hours. thats all. i have asked on a another design forum (which has a much higher standard of design as this place) and they have replied with sayin u should be asking for as much as €3000 for such a site. "A €450 designer probably doesn't know what he/she is doing, probably using a WYSIWYG editor, no thought about things like usability, accessability or findability. i suppose you usually get what you pay for (or in a lot of cases, less)"
-
Tom reacted to alzer81 in How much would u charge for this?ah god. im not gonna get into this. ur design skills dont look up to much so if u think u could design my site in 10 hours all i can say is fair enough. maybe u could code a couple of pages in 10 hours but u wouldnt be able to design it