Search results for "php"

jQuery for Beginners

Posted: 23rd Nov 2009

Following my article on Woorkup, I thought I'd just post a working demo of what I wrote about - a basic jQuery form fade.

Copy and paste the code below in to your website, and it should work! I have also put a working demo below as well.

<script src="http://code.jquery.com/jquery-latest.pack.js" type="text/javascript"></script>

<script type="text/javascript">
$(function(){
    $('.showform').click(function(event){
        event.preventDefault();
        $('#mydiv').fadeIn();
    });
});
</script>

<!--Start of container div, and form-->

<div id="mydiv" style="display:none;">
    <form id="myform" action="wherever.php" method="post">
        <input name="myinput" type="text" />
        <input type="submit" value="Submit" />
    </form>
</div>

<p>To show the form <a class="showform" href="/mylink.php">click here</a>.</p>

<!-- End of form and container div -->

To show the form click here.



What we do.

Posted: 25th Sep 2009

Most of our business is now providing CMS powered websites to new businesses and web agencies. Because of our experience and work-flow we are able to offer very competitive fixed fees for our service.

For example, did you know that we can provide a CMS powered website, with template build and support for under £500 ($750)?

We recently launched a new face to Haloweb which does exactly what it says on the tin. CMS PHP provides the design, template build and support for a low, fixed price. And what's more we support many CMS (e.g. Wordpress, Drupal, Halogy).

So if you want us to help you out in this area, email us!



CMS PHP

Posted: 18th Sep 2009

Blog CMS PHP

As clients of Haloweb will know, we have been working with content management systems for the last 4-5 years, designing CMS powered websites and supporting them.

Well we are launching a new face to Haloweb which is CMS PHP - a very specific service that designs templates for a website, installs them in to any PHP based CMS, and provides ongoing support for £15.00 per month (or $20.00 /pm).

The site has just gone live, in fact it took us just 1 day to design, build and integrate in to Halogy thanks to the new Halogy Template Import tool (we'll cover this shortly)!



Working With WordPress Themes

Posted: 14th Apr 2009

blog-sm

We just finished working on a blog for a Shoe company. We used Wordpress for the Blog engine and we have to say overall it's pretty cool. Installing templates or 'themes' isn't too bad but you have to know PHP and learn the naming conventions of all the Wordpress components - in other words you have to read their documentation (boring!!!).

But yeah the blog looks great, and the implementation was relatively easy... but not as easy as Halogy of course.



Jquery Zoom Effect

Posted: 6th Apr 2009

blog-jqzoom

We just found an amazing Jquery zoom plugin which we've used on a clothes shop website. It is very cool check it out!



Tidy Domain Name with a Regular Expression

Posted: 27th Mar 2009

TECHY WARNING: This post has 'techy talk' be warned

We have just been working on Halogy and making a Javascript and PHP function that tidies domain names. We thought we would share it!

If you want to remove the 'http://www' from a string, or even just the 'www' or the 'http://' use this really nifty regular expression:


// get the old untidy domain string and tidy it
$str = 'http://www.haloweb.co.uk';
$newStr = preg_replace('/^(http)s?:\/+((w+)\.)?|^www\.|\/+/i', '', $str);

//  and this will output your new tidy string!
echo $newStr;



CodeIgniter - Custom errors using the Form Validation class

Posted: 4th Mar 2009

TECHY WARNING - This post has techy-talk, be warned

Recently I've been using the new Form Validation Class on CodeIgniter and though overall it is much better than the previous validation class I found a gripe with it recently when trying to add custom error messages using the "validation_errors()" helper.

Read more