Wiki

Sorted by commentsX
Displaying 401-410 of 685 result(s).

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 5,909 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

Define general array and variable and call it to anywhere in application

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 5,090 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

Getting nulls from database instead of empty strings

Created 3 years ago by samdarkTips2 comments – viewed 8,853 times – ( +12 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

Migration the database schema to another one

Created 2 months ago by KonApazTutorials2 comments – viewed 908 times – ( +1 ) – version 1.1
In this wiki I will show how to copy a schema from a database to another one

A simple class to use a different db for a module

Created 3 years ago by tydeas_drTips2 comments – viewed 12,269 times – ( +9 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

Using Pear Mail Mail_Mime and Mail_Queue

Created 3 years ago by LorenHow-tos2 comments – viewed 8,203 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Sort and save order of model-elements drag & drop

Created about a month ago by KonApazTutorials2 comments – viewed 2,184 times – ( +2 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories

Using rights extension with different table and column name

Created about a month ago by turiHow-tos2 comments – viewed 1,022 times – ( +1 ) – version 1.1
Once you have installed and configured the rights extension in your application, you can change the table name from 'User' to any table name you want and similarly for 'username' column to any other column name.

How to create a Widget - Recent Comments widget

Created about a month ago by Nisanth thulasiHow-tos2 comments – viewed 1,759 times – ( +2 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

How to create a wrapper for a js library

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