Saturday, May 19, 2012

Customize Wordpress 2.9 excerpts

Posted by admin On April - 18 - 2010 ADD COMMENTS

In WordPress themes, you would see the homepage displaying blocks of post excerpts. These excerpts are generated using the template tag

<?php the_excerpt(); ?>

By default this template tag returns the first 55 words of the post’s content. This teaser is generated only if you have not specified any custom excerpt from your post editor section. But what if you want to display more than 55 words on your excerpts? Simple, just add the following code to your theme function.php file. It will return first 100 words of post’s content.

function new_excerpt_length($length) {

return 100;

}

add_filter(‘excerpt_length’, ‘new_excerpt_length’);

What about the [...] string at the end of excerpt
By default WordPress excerpts shows a [...] string at the end of the excerpt. what if you want to change this to a link. something like [Read More] which links to full post view.To do that just add the following code to your functions.php file.

function new_excerpt_more($more) {

return ‘<a href=”‘. get_permalink($post->ID) . ‘”>’ . ‘ [Read More]‘ . ‘</a>’;

}

add_filter(‘excerpt_more’, ‘new_excerpt_more’);

Reference: WordPress Codex

Popularity: 4% [?]

Excecuting php code on wordpress post/pages

Posted by admin On April - 18 - 2010 ADD COMMENTS

The Exec-PHP plugin executes PHP code in posts, pages and text widgets.

Features:

  • Executes PHP code in the excerpt and the content portion of your posts and pages
  • Configurable execution of PHP code in text widgets (for WordPress 2.2 or higher)
  • Write PHP code in familiar syntax, eg. <?php ... ?>
  • Works in your newsfeeds
  • Information about which users are allowed to execute PHP with the current security settings (for WordPress 2.1 or higher)
  • Configurable user warnings for inappropriate blog and user settings (for WordPress 2.1 or higher)
  • Restrict execution of PHP code in posts and pages to certain users by using roles and capabilities
  • Update notifications through the ‘Plugins’ menu in WordPress if a new version of the Exec-PHP plugin is available (for WordPress 2.3 or higher)
  • Internationalization support (english and german included, many more available)
  • Comes with documentation


For support and further information about the Exec-PHP plugin see the plugins homepage at http://bluesome.net/post/2005/08/18/50/.

Popularity: 3% [?]

Free PHP Editors

Posted by admin On April - 18 - 2010 1 COMMENT

Notepad++

A free source code editor supports various languages including HTML, PHP, SQL and more. It supports syntax highlighting and WYSIWYG environment. It is under GPL license.

License: Free | DetailsVisit Website

Komodo Edit

Free open source editor for languages like Perl, PHP, Python, Ruby, JavaScript, CSS, HTML, and XML.

License: Free | DetailsVisit Website

Context Editor

It is a small and fast editor for software developers. It supports PHP and other various languages. It is a freeware.

License: Free | DetailsVisit Website

Eclipse PDT

Free IDE Framework for supports many languages with code formatter, debugger and parser. You will need to download PHP pluginPHPEclipsefrom sourceforge.

License: Free | DetailsVisit Website

PSPad

Free editor for PHP, HTML and other various environments. It has a built in ftp client and spell checker.

License: Free | DetailsVisit Website

Geany

Geany is a free, light weight IDE on Linux platforms. It supports editing of PHP, HTML, Perl and many more languages.

License: Free | DetailsVisit Website

Dev-PHP IDE

Dev-PHP is a powerful IDE for PHP to create PHP scripts and applications. It is a free software with GNU General public license.

License: Free | DetailsVisit Website

PHP Editor
PHP Editor is a freeware editor with syntax hightlighting for PHP and other multitude of programming languages. It has a built in browser and a small webserver.

License: Free | DetailsVisit Website

PHP Coder
PHP Code is a free to download IDE for PHP programming and development. It is lightweight and supports full syntax highlighting for PHP and HTML

License: Free | DetailsVisit Website

Netbeans IDE
Netbeans IDE is a free and open source IDE which can be easily configured for PHP programming.

License: Free | DetailsVisit Website

Aptana Studio
Aptana Studio community edition is a open source implementation for ajax and PHP.

License: Free | DetailsVisit Website

Davors PHP Editor
Compact, fast and easy to use IDE for PHP developers. It is free for download.

License: Free | DetailsVisit Website

Codelobster PHP Editor
Multifunctional PHP editor supporting autocomplete PHP, HTML, JavaScript, CSS code highlighting with debugger and SQL autocompleter. It is free for download

License: Free | DetailsVisit Website

Alleycode
Free html editor for easy management of your projects. It has also integration to CSS and PHP highlighting.

License: Free | DetailsVisit Website

WinSyntax Editor
A free light weight PHP code editor with syntax highlighting. It is a freeware and works for Win 98/2000/XP systems.

License: Free | DetailsVisit Website

Ide.PHP A web based editor for server side PHP code. It is written with PHP and free to use.

License: Free | DetailsVisit Website

HapEdit

A freeware editor for PHP, HTML and ASP for Windows.

License: Free | DetailsVisit Website

tsWebEditor

An open source editor for HTML, PHP, Perl, JavaScript, CSS and many other languages. It has syntax highlighting, code completion, php debugger and SQL designer.

License: Free | DetailsVisit Website

WebTide

Freeware editor for all html, php and javascript including xml files. It has features like code completion and runs on Window, Mac os X and linux. It is a freeware editor.

License: Free | DetailsVisit Website

HTML-Kit

Free editor for HTML, CSS and PHP. It is limited to personal use only.

License: Free | DetailsVisit Website

Roadsend PHP

Free open source software with IDE, compiler and syntax highlighter. It is free to download and works in Linux, OpenBSD and Windows platforms.

Referance :http://free-php-editor.com/

Popularity: 12% [?]

WAMP SERVER

WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin to easily manage your databases.

WampServer installs automatically (installer), and its usage is very intuitive. You will be able to tune your server without even touching the setting files.

WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP releases as you want.
WampServer also has a trayicon to manage your server and its settings.

Installing

Double click on the downloaded file and just follow the instructions. Everything is automatic. The WampServer package is delivered whith the latest releases of Apache, MySQL and PHP.

Once WampServer is installed, you can add other releases by downloading them on this website. They will then appear in the WampServer menu and you will be able to switch releases with a simple click.
Each release of Apache, MySQL and PHP has its own settings and its own files (datas for MySQL).

Functionalities

WampServer’s functionalities are very complete and easy to use so we won’t explain here how to use them.

With a left click on WampServer’s icon, you will be able to:
- manage your Apache and MySQL services
- switch online/offline (give access to everyone or only localhost)
- install and switch Apache, MySQL and PHP releases
- manage your servers settings
- access your logs
- access your settings files
- create alias

With a right click :
- change WampServer’s menu language
- access this page

How to start

When you install WampServer, a “www” directory is created (generally c:\wamp\www). Create a directory inside for your project and put your PHP files in it.
Click on the link “Localhost” in the WampServer menu or open your browser and open the http://localhost address.
Add Apache, MySQL and PHP releases

WampServer allows you to install almost all the existing releases of Apache, PHP and MySQL so you can reproduce exactly the settings of your production server.
To add a new release, donwload it here and install it.

Then click on the WampServer menu and activate the release that you want to use.

Wait until the WampServer icon become white again and start to work.

Popularity: 13% [?]

Ultimate Online CSS Tools

Posted by admin On April - 18 - 2010 2 COMMENTS

This is a list of online css tools to help web designers produce code easier and quicker.

Fonts

Typetester

Typetester is an online application for comparison of the fonts for the screen.

Em Calculator

Em Calculator is a small JavaScript tool which helps making scalable and accessible CSS design. It converts size in pixels to relative em units, which are based on a text size.

CSS Type Set

CSS Type Set is a hands-on typography tool allowing designers and developers to interactively test and learn how to style their web content.

Font Tester

Font Tester is a free online font comparison tool. It allows you to visually compare fonts side by side with different CSS font styles applied.

PXtoEM Conversion

PXtoEM is px to em conversion made simple. Choose your body font size in pixels (px)and out comes a complete pixel (px) to em conversion table, making elastic web design with CSS a snap.

CSSTXT

Create a style to your text.

CSS Layouts Creator and Generators

YUI – CSS Grid Builder

The CSS Grid Builder is a simple web-based interface for quickly creating any number of layouts that rely solely on YUI’s CSS files.

YAML Builder

A tool for visual layout development of YAML based CSS layouts.

iStylr

Online CSS Template Generator

Grid Designer

A Tool for designing grids and typography.

CSS Creator

This generator will create a fluid or fixed width floated column layout, with up to 3 columns and with header and footer. Values can be specified in either pixels, ems or percentages.

DrawAble Markup Language

It provides you the possibility to literally draw your website’s code.

CSS Generator

Create Cross-Browser List-Based Navigation Bars with Ease.

CSSMate

An Interactive Online CSS Editor to design your CSS styles.

QrONE CSS Designer

A CSS Style Editor.

CSS Frame Generator

Simple tool that will generate CSS frame out of your XHTML structure.

XHTML/CSS Markup Generator

Simple tool to help you start XHTML/CSS coding faster.

Sky CSS Tool

Sky CSS allows you to create CSS classes almost without using manuscript code.

CSS Creator – CSS Generator

CSS Creator allows you to choose a style for your web page.

CSS Grid Calculator

Use the CSS Grid Calculator to quickly visualize page layout and draw grids in a variety of ways.

CSS Generator

This tool will create a basic style sheet.

Dynamic 3 Column Layout Generator

A usable generator for 3 column layout.

Construct Your CSS

WYSIWYG Layout Editor, Semantic & Table-Free.

Blueprint Grid CSS Generator

This tool will help you generate more flexible versions of Blueprint’s grid.css and compressed.css and grid.png files.

CSS Frameworks

Blueprint

Blueprint is a CSS framework, which aims to cut down on your CSS development time.

Yet Another Multicolumn Layout

Yet Another Multicolumn Layout (YAML) is an (X)HTML/CSS framework for creating modern and flexible floated layouts. The structure is extremely versatile in its programming and absolutely accessible for end users.

Hartija – Css Print Framework

An Universal Cascading Style Sheets for Web Printing.

Elements

It was built to help designers write CSS faster and more efficient.

960 Grid System

The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels.

Logic CSS Framework

The Logic CSS framework is a collection of CSS files and PHP utilities to cut development times for web-standards compliant xHTML layouts.

SenCSs

SenCSS is a sensible standards CSS Framework. This means that SenCSS tries to supply standard styling for all repetitive parts of your CSS.

Tripoli

Tripoli is a generic CSS standard for HTML rendering. By resetting and rebuilding browser standards, Tripoli forms a stable, cross-browser rendering foundation for your web projects.

BlueTrip CSS Framework

BlueTrip gives you a sensible set of styles and a common way to build a website so that you can skip past the grunt work and get right to designing.

Grids CSS

The foundational YUI Grids CSS offers four preset page widths, six preset templates, and the ability to stack and nest subdivided regions of two, three, or four columns.

Formatters, Optimizers and Compressors

Code Beautifier

Online CSS Formatter and Optimizer.

Clean CSS

Optimize and format your CSS using a variety of different compression settings. Fixes sloppy code and generates clean and concise CSS.

CSS SuperScrub

This tool can significantly reduce the size and complexity of your CSS by programmatically stripping unneeded content, stripping redundant calls, and intelligently grouping the remaining element names.

Online CSS Optimizer

Online CSS Optimizer is a web tool for reducing the file size of cascading style sheets.

CSS Drive Gallery – CSS Compressor

You can choose from three levels of compression, depending on how legible you want the compressed CSS to be versus degree of compression.

Online CSS Optimizer

Online CSS Optimizer which reduces the file size of your CSS code.

Robson – CSS Compressor

The CSS Compressor makes major changes to stylesheets and is still in developement, so it may not work correctly.

FlumpCakes – Online CSS Optimizer

This tools takes in a CSS file, and parses and outputs a leaner version, removing any redundancies and attributes which are not needed.

Format CSS Online

Automatically format your CSS so they are easy to read and edit.

PrettyPrinter

An online code beautyfier.

Tabifier

The tabifier is a tool to properly indent computer code.

Validation

The W3C CSS Validation Service

The W3C CSS Validation Service is a free software created by the W3C to help Web designers and Web developers check Cascading Style Sheets (CSS).

CSS Analyser

This service has been provided to allow you to check the validity of your CSS against the W3C’s validation service, along with a colour contrast test, and a test to ensure that relevant sizes are specified in relative units of measurement.

CSS Redundancy Checker

Use this tool to find CSS selectors that aren’t used by any of your HTML files and may be redundant.

CSS Forms

JotForm

First Web Based WYSIWYG Form Builder. Create and publish web forms using your browser.

Wufoo

Wufoo makes collecting information on the web easy.

FormSmarts

FormSmarts is an integrated web form service that lets you create forms, publish them online, and get form results.

FormAssembly

Create Web Forms and Collect Responses with our State-of-the-Art Form Builder and Processing Service.

Navigation

CSS Menu Builder

Create a standard compliant xhtml/css menu for your website.

CSS Menu Generator

CSS Menu Generator is here to provide the average webmaster with tools to create custom, cross browser compatible website menus.

TabCreatr

Free Css Menu Generator.

Reset CSS

Reset CSS

The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on.

Yahoo! UI Library: Reset CSS

The foundational YUI Reset CSS file removes and neutralizes the inconsistent default styling of HTML elements, creating a level playing field across A-grade browsers.

Master Stylesheet: The Most Useful CSS Technique

A basic master stylesheet.

Blank CSS Layouts

A collection of 168 Grid and CSS Layouts

These CSS Layouts offer full Grade-A browser support. That means that these CSS Layouts will look and behave the same in all internet browsers, like Internet Explores 6 (IE6), Internet Explorer 7 (IE7), Firefox, Opera, Safari and so on.

Faux Column CSS Layouts

42 faux-column CSS layouts for downloading.

Fixed Width CSS Layouts

53 fixed-width CSS layouts for downloading.

___layouts

The foundational ___layouts file offers five preset page widths, the option to have a fixed width or a text “zoom” style scaling effect and two core templates which give you the ability to nest subdivided regions of one to four columns.

The Only CSS Layout You Need

10 different layouts with example pages, all based on the same HTML.

Little Boxes

Workarounds for CSS browser issues.

Other Tools

PSD 2 CSS Online

Dynamic Web Pages from your Photoshop Designs in Seconds!.

Conditional-CSS

Conditional-CSS allows you to write maintainable CSS with conditional logic to target specific CSS statements at both individual browsers and groups of browsers.

CSS Evolve

CSSEvolve lets you play with many properties of a web site, including the site’s color scheme, fonts, borders, and more.

CSS Text Wrapper

The CSS Text Wrapper allows you to easily make HTML text wrap in shapes other than just a rectangle.

The Box Office

The Box Office lets you wrap/float/contour text around freeform images using CSS for usage in (X)HTML pages.

Popularity: 31% [?]

Another Useful tools for Web Design

Posted by admin On April - 18 - 2010 ADD COMMENTS

When we  talk about   making  layout and design  interactively like drawing  i prefer  using the  following  tools

Drawter

this allowing making of web page layout like making drawing and  generates the code , its easy to   make the web pages

link :http://drawter.com/

CleanCSS

CleanCSS is a powerful CSS optimizer and formatter. Basically, it takes your CSS code and makes it cleaner and more concise.

The CSS optimizer was originally developed by some awesome dudes over at CSS Tidy. They built the program and have made it free for everyone to use. I stumbled across their optimizer one day while looking for help with my CSS. I wanted to know the shortest way I could style a background of a web site without having to use all the “background-image” and “background-repeat” tags. I found some other optimizers which I tried, but none worked as well as CSS Tidy. It was actually hosted on some random CD Burning website. Why? I have no idea.

But after I posted about it on my blog, I noticed that a week later, the site no longer existed. I was bummed because I was trying to show my fellow designers at work this amazing utility. So I took the liberty and installed CSS Tidy on my own webserver and registerd cleancss.com. I also styled it up to my liking (see the grass green colors?). So now I can make sure this kick-ass CSS utility stays up forever. And gets used by web designers everywhere.

link :http://www.cleancss.com/

CSS designer

link:http://builder.yaml.de/

Popularity: 4% [?]

FREE Interior Design Applications

Posted by admin On April - 18 - 2010 1 COMMENT

Sweet Home 3D

Sweet Home 3D is a free interior design application that helps you place your furniture on a house 2D plan, with a 3D preview.

Available at http://www.sweethome3d.eu/, this program is aimed at people who want to design their interior quickly, whether they are moving or they just want to redesign their existing home. Numerous visual guides help you draw the plan of your home and layout furniture. You may draw the walls of your rooms upon the image of an existing plan, and then, drag and drop furniture onto the plan from a catalog organized by categories. Each change in the 2D plan is simultaneously updated in the 3D view, to show you a realistic rendering of your layout.

This guide shows you how to create a home with Sweet Home 3D version 2.3. After describing its user interface, you’ll learn how to draw the walls of your home, and how to layout the furniture. The example created in this tutorial is available at http://www.sweethome3d.eu/examples/userGuideExample.sh3d (3.2 MB).

For more information, you may also view Sweet Home 3D video tutorial and use Sweet Home 3D help accessible from the Help button found in the tool bar of Sweet Home 3D windows.

Download Link :http://www.sweethome3d.eu/index.jsp

Popularity: 8% [?]

improve your SEO potential

For most people the upcoming holiday season will be one for relaxing and spending quality time with the family. But, [...]

Open source CMS

nomey
Cross-platform
Anomey is a small but effective framework and CMS for developing and maintaining web sites. (GPL)
BIGACE
Cross-platform
BIGACE is a multi-site, multi-language and [...]

Web Development / Frameworks

Bitweaver
Cross-platform
Bitweaver is a free and open source web application framework and content management system. (LGPL)
CakePHP
Cross-platform
CakePHP is a rapid development framework for [...]

Web Development Utilities

CKeditor
Cross-platform
This HTML text editor brings to the web much of the power of desktop editors like MS Word. It’s lightweight [...]

TAG CLOUD


Fatal error: Call to undefined function get_theme_option() in /home/sitescod/public_html/wp-content/themes/chronicle/footer.php on line 14