 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Dean Clatworthy: Theming/styling error messages in Symfony 2
by Chris Cornutt August 30, 2012 @ 11:40:40
For the Symfony2 users out there, Dean Clatworthy has a handy tip to help you customize the output of your application a bit more - a method for styling the error messages coming from forms using a custom template.
I spent a large portion of my day today trying to customize the HTML produced by Symfony 2 for form errors. The documentation has a section on how to do this, but for the life of me, I could not make it work. Here is a working, re-usable solution.
His solution involves the creation of a template in your "/Resources/views/Form/" directory that contains a Twig template for the error set output. This is then applied in your view using an additional parameter on the error output tag, including this new template from the "Form" directory. This sort of styling could also be applied if you needed custom elements with their own layouts in your forms as well.
voice your opinion now!
symfony2 error message theme style twig template tutorial
Designer Daily: 8 useful recipes to improve your WordPress theme
by Chris Cornutt August 19, 2010 @ 12:39:21
On the Designer Daily blog there's a recent post sharing eight simple bits of code you can use in your WordPress site to help make your theme even better.
Blog engine or CMS, call it whatever you want but WordPress is a great tool for web designers. It just get a little hard to use sometimes when you want to do some more advanced things in your theme and you are not a coder. Here are 8 snippets of code that have helped me in recent projects.
The eight snippets they share show how to include:
- Include post thumbnail in RSS feed
- Next & Previous Post Titles With Thumbnails
- Search Specific Category in WordPress
- List top 10 authors of the blog with their last post
- Automatically insert content in your RSS feed
- Display a Comment's Number in a List
- Display your most commented posts in your blog sidebar
- Excluding Posts from Your WordPress Feed
Each item links back to the full recipe it came from.
voice your opinion now!
wordpress theme recipes snippet code
NETTUTS.com: 16 Vital Checks Before Releasing a WordPress Theme
by Chris Cornutt August 05, 2010 @ 13:48:51
On the NETTUTS.com blog today there's a new post that includes a list of sixteen things you need to be sure to check before releasing your WordPress theme.
Releasing a WordPress theme on a marketplace, such as ThemeForest, where the audience is so large and diverse, has some challenges. You cannot test a solution directly with the client. You need to plan in advance for all edge cases, and ensure that your theme is as customizable as possible. If you're inexperienced, chances are that some things will unfortunately slip through the cracks. Luckily for you, we have drawn on our hard-earned wisdom to help you avoid repeating the same mistakes we made.
Among the things they suggest checking are things like:
- Don't Display Comments on Protected Posts
- Introduce Right-To-Left Support
- Make Paginated Entries Work
- Do not Forget wp_footer() and wp_head()
- Support Custom Menus
- Make User-Visible Strings Translatable
Each item on the list comes complete with a description and code (when it's needed).
voice your opinion now!
wordpress check list release theme
Hokuten.net: A WordPress User's Guide to Drupal
by Chris Cornutt July 28, 2010 @ 08:13:35
If you're a WordPress user and have been wanting to get into Drupal, you should check out this guide on hokuten.net. It gives you information on two main points - installation and theming.
Anyone who has worked with both knows that anything you can do in WordPress, you can do in Drupal, and vice versa. It just takes some elbow grease. [Drupal] is a great thing to learn because of its broad market, but WordPress developers might find some difficulty getting acclimated'"Drupal has a much higher learning curve.
They mention some of the differences between the installation of the two (creating settings files, making additional directories) and a table showing the correlating theme files between the two.
voice your opinion now!
wordpress user guide drupal install theme
Marco Tabini's Blog: WordPress, the GPL and cherries on top
by Chris Cornutt July 16, 2010 @ 13:58:44
In case you've missed the latest happenings in the WordPress community, Marco Tabini is here to catch you up. The issue? Licensing of themes for WordPress.
The WordPress community is abuzz with news that the WP Foundation has essentially gone to war with the makers of the Thesis WP theme. The substance of the argument, as I understand it, is that the makers of WordPress claim that themes, since they rely on WP's GPL'ed code to run, must be covered by the GPL as well because they are derivative works. Thesis, on the other hand, is distributed under a commercial license, therefore violating this tenet.
Marco talks about all of the legal implications of the issue and some of the stances each side has taken - WordPress saying that since the code has a foundation on it, it must be covered and the themers saying that's ridiculous. As Marco points out, however, is that the opinions of non-legal professionals doesn't really matter. What matters is what would hold up if this issue were ever pressed into a legal arena. He even includes some suggestions he wishes the WPF would take to heart including to just back off.
voice your opinion now!
wordpress theme gpl legal wpf issue
Digett.com: How to Theme the Comment Form in Drupal 6
by Chris Cornutt July 01, 2010 @ 11:26:02
If you're a Drupal user and are looking for a way to change up that standard comment form that comes pre-loaded in the site, you should check out this new post on the Digett blog about the handy hook_form_alter function.
I've grown to have an affinity for Drupal's hook_form_alter function. Truly, modifying a form doesn't have to be as complicated as it may seem. One of the most generic Drupal forms (in my opinion) is the pesky comment form. Out of the box, it comes complete with name, email, homepage, subject, and comment fields.
A few snippets of code included in the post show you how to customize the form by removing some fields, changing labels on others and update the value of one of the buttons - all with a simple implementation of a hook theme.
voice your opinion now!
drupal theme content form hookformalter tutorial
CatsWhoCode.com: Best practices for WordPress coding
by Chris Cornutt April 07, 2010 @ 09:24:32
New on the CatsWhoCode blog today there's a post from Jean-Baptiste Jung for all of the WordPress-ers out there with some best practices to help you in your theme or plugin development.
Coding a WordPress theme or plugin can seem to be an easy task at first, but if you want to produce work that is more professional, you have to worry about things such as internationalization and security. In this article, I'm going to show you the best practices I have learned in 3 years of developing with WordPress.
There's six main tips he share including "Think International", "Speed up development using community tools and templates" and "Make use of hooks, actions and filters". Each tip also comes with a few links to some resources where you can find out more details on the technology involved.
voice your opinion now!
bestpractices wordpress development plugin theme
Federico Cargnelutti' Blog: Adding theme support to your Zend Framework application
by Chris Cornutt September 21, 2009 @ 13:30:45
On his blog today Federico Cargnelutti has posted an easy way you can add theme support (self-contained site templates) to your Zend Framework application.
This is a brief explanation on how to add theme support to your Zend Framework application and how to ensure those themes are self-contained, easy to distribute and install. Themes are very powerful and extremely easy to develop. They allow you to quickly switch between layouts and change the look and feel of your application. You can use themes to show, for example, a mobile friendly version of your site.
It's a three step process to get them up and running - modify your site's directory structure, update the Bootstrap class to append in the new "templates" directory and copy over all of your view scripts to the new directory.
voice your opinion now!
tutorial zendframework theme support
CatsWhoCode.com: How to make a translatable WordPress theme
by Chris Cornutt August 21, 2009 @ 10:18:47
New from the CatsWhoCode.com blog there's a few helpful hints on making your WordPress theme easily translatable:
Althought English is the most represented language over the Internet, it is a good thing to think about people who speak other languages and offer them trabslated WordPress theme. In this step-by-step tutorial, you'll learn how to take a WordPress theme and make it translatable for any language.
You'll need to add in a few functions to handle the loading of various language templates and use them, along with language-specific .PO files, to make switching languages as simple as changing the value of a constant in a define.
voice your opinion now!
translate wordpress theme tutorial
NETTUTS.com: Getting Started with Magento Ecommerce!
by Chris Cornutt April 08, 2009 @ 09:38:28
The Magento eCommerce platform is quickly becoming one of the favorites, but it's also known for being bit tricky. This new tutorial from NETTUTS.com shows you how to take some of the first steps - installation, working with the admin interface and themeing.
Magento is the next generation of eCommerce! It is incredibly well architectured, fully flexible, scalable, and fun to work with. If you've ever thought about creating an online shop, Magento is your choice! Today we are going to install it locally with XAMPP Lite and review the essentials.
The tutorial also helps you to install the XAMPP package - a Windows all-inclusive web platform that includes Apache, MySQL, PHP and phpMyAdmin. Once its started, you can create the database Magento needs and import its data. Log into the admin, change a few settings and you're all set.
voice your opinion now!
magento ecommerce xampp theme admin mysql tutorial screenshot
|
Community Events
Don't see your event here? Let us know!
|