Wiki

Sorted by viewsX
Displaying 391-400 of 702 result(s).

How to ensure unicity to url

Created 3 years ago by zaccariaTips3 comments – viewed 10,625 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

URL component access functions

Created 3 years ago by Steve FriedlTips1 comment – viewed 10,579 times – ( +28 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

Managing constants easily

Created 2 years ago by briiC.lvTips4 comments – viewed 10,544 times – ( +4 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

How to create a wrapper for a js library

Created 3 years ago by zaccariaHow-tos2 comments – viewed 10,448 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Create sitemap.xml file dynamically on root folder with one hit

Created about a year ago by kiran sharmaHow-tos1 comment – viewed 10,384 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 10,364 times – ( +5 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Ordering Models by Weight with CJuiSortable

Created 4 years ago by Matt KelliherTutorials2 comments – viewed 10,323 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

Advanced CTabView using CClipWidget

Created 5 years ago by krillzipTutorials1 comment – viewed 10,308 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Using SQLite and CDbMessageSource as a module

Created 2 years ago by pheadeauxHow-tos5 comments – viewed 10,300 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Create image thumbnails with php_img_preview

Created 2 years ago by Anas AbuDayahTutorials6 comments – viewed 10,296 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views