archive-org.com » ORG » G » GETSPARKS.ORG

Total: 447

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • CodeIgniter Sparks | thumb_helper
    marcomonteiro net Spark Website https github com mpmont thumb helper Repository Type git Number of Installs 2 363 Get the Latest 1 0 3 Pushed July 15th 2012 php tools spark install v1 0 3 thumb helper Or download this version manually Get thumb helper 1 0 3 zip How To INSTALLATION GUIDE Download the repository Copy thumb helper php to your application helpers folder That s it your good to go USAGE Loading the Helper this load helper thumb USING WITH UPLOAD LIBRARY After uploading a image you have access to an simple array that has all the information about your image Like this image data this upload data Info on image data More information about this here Codeigniter user guide libraries file uploading For now you can pass 4 params to the thumb helper Image data from upload Width Height Destination path Maintain Aspect Ratio like this create thumb image data 100 150 public images thumbs TRUE Keep in mind that the 3rd param is optional If only two params are passed to the thumb helper the thumb will resize the image maintaining the ratio If theres a 3rd param then by default the aspect ratio will not be maintained unless the 5th parameter is set to TRUE After the creation the thumb helper will return an array with the following content path The full path to the image thumb marker The marker for the thumb for now will always be equal to the thumb sizes that were passed to the thumb helper thumb name The final name of the thumb I made this return in case someone needed to sent some of these values to the database for example USING REMOTE FILE For that insted of passing the array from image upload you can just pass the

    Original URL path: http://getsparks.org/packages/thumb_helper/versions/HEAD/show (2016-02-09)
    Open archived version from archive


  • CodeIgniter Sparks | urilang
    Sets the language defined in the URI as the system s default language during runtime Tweet Contributor maxzender Email Log in to view Author Website Spark Website https github com maxzender codeigniter urilang Repository Type git Number of Installs 2 328 Get the Latest 1 0 1 Pushed January 19th 2012 php tools spark install v1 0 1 urilang Or download this version manually Get urilang 1 0 1 zip How To CodeIgniter URILang Sets the language defined in the URI as the system s default language during runtime How does it do this It checks for a language identifier in the URI If that is found a cookie containing that identifier is being set for later use see next point If no language identifier is set it checks for that cookie and uses the contained identifier If neither the identifier nor the cookie can be found it checks for the browser s default language If even this fails it falls back to English Installation Note that you should load URILang before you use this lang line or lang anywhere in your application If you use sparks this load spark urilang 1 0 1 If you don t use sparks

    Original URL path: http://getsparks.org/packages/urilang/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | schema
    schema Alternatively you can download the repository through GitHub extract the libraries Schema php and move it to the application libraries directory Then load it by calling this load library Creating Tables The Schema create table function allows you to define and create a table in one fell swoop It takes two parameters the table name as a string and a closure function or block which enables the nice schema defining DSL This function takes a single parameter which is an instance of Schema Table Definition You can then call methods on this object to define the schema for your database tables php Schema create table users function table Definition goes in here If you re not running PHP5 3 you can pass through FALSE boolean and create table will return the table object directly Finish your statements with a call to table create table php table Schema create table users FALSE table string name table create table Data Types Schema Table Definition has a bunch of methods that allow you to create data types These are all reasonably self explanatory integer name create an INT column string name constraint 200 create a VARCHAR column with optional constraint text name create a TEXT column date name create a DATE column datetime text create a DATETIME column boolean name MySQL doesn t have a native boolean type so we create a TINYINT There are also two special methods to speed up your development auto increment integer name allows you to specify an auto increment INT with required primary keys This is most helpful for adding an id column php table auto increment integer id timestamps automatically generates two columns created at and updated at both DATETIME columns Keys You can add keys indexes through two functions primary key name and key

    Original URL path: http://getsparks.org/packages/schema/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | gc-qrcode
    More 0 Love 2 Like 0 Hate 2 463 Installs Basic Information gc qrcode Spark for generating QR codes via the Google Chart API Tweet Contributor birderic Email Log in to view Author Website http eric famiglietti com Spark Website https github com eric famiglietti gc qrcode Repository Type git Number of Installs 2 463 Get the Latest 1 0 2 Pushed February 9th 2012 php tools spark install v1 0 2 gc qrcode Or download this version manually Get gc qrcode 1 0 2 zip How To gc qrcode Wrapper class for generating QR codes via the Google Charts API Installation Available via the Sparks package management system for CodeIgniter For info about how to install sparks go to http getsparks org install You can load the spark using this load spark gc qrcode version Usage Configuring your code The following methods are provided for configuring your QR code Only size is required to generate a code this gc qrcode size 350 data http example com output encoding UTF 8 error correction level L margin 0 Output encodings The valid output encodings are UTF 8 Shift JIS and ISO 8859 1 Error correction levels The valid error correction levels are L M Q H Generating your code Generate the URL for your QR code url this gc qrcode url Generate an img tag containg your QR code img this gc qrcode img By default the image tag will contain the src width and height attributes You can optionally pass an array of attributes as the first parameter img this gc qrcode img array class qr code You can also specify whether or not you want the img tag to be self closing This is also optional this gc qrcode img array TRUE Self closing this gc qrcode img array

    Original URL path: http://getsparks.org/packages/gc-qrcode/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | ci-breadcrumb
    Post March 11 2012 from codeigniter com The Top Sparks of 2011 December 31 2011 from codefury net CodeIgniter Starter Project A Starting Point for Any CI Dev December 12 2011 from github com NetTuts Tutorial for GetSparks November 24 2011 from net tutsplus com See More 0 Love 1 Like 0 Hate 2 336 Installs Basic Information ci breadcrumb CodeIgniter Breadcrumb Library Tweet Contributor apseymour Email Log in to view Author Website http www andrewseymour co uk Repository Type git Number of Installs 2 336 Get the Latest 1 0 0 Pushed November 29th 2011 php tools spark install v1 0 0 ci breadcrumb Or download this version manually Get ci breadcrumb 1 0 0 zip How To Breadcrumb Library for CodeIgniter2 This library will help you generate breadcrumbs the list of horizontal trailing links that are often displayed on sites The methods are simple and at the moment the library is at a basic level Requirements CodeIgniter 2 Usage Example load library this load library breadcrumb build up this breadcrumb clear this breadcrumb add crumb Home this will be a link this breadcrumb add crumb Food food this will be a link this breadcrumb add crumb Chocolate this

    Original URL path: http://getsparks.org/packages/ci-breadcrumb/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | sphinx
    Top Sparks of 2011 December 31 2011 from codefury net CodeIgniter Starter Project A Starting Point for Any CI Dev December 12 2011 from github com NetTuts Tutorial for GetSparks November 24 2011 from net tutsplus com See More 0 Love 0 Like 0 Hate 2 352 Installs Basic Information sphinx codeigniter interface to sphinx Tweet Contributor sirfilip Email Log in to view Author Website https github com sirfilip Spark Website https github com sirfilip sphinx Repository Type git Number of Installs 2 352 Get the Latest 0 0 4 Pushed November 27th 2011 php tools spark install v0 0 4 sphinx Or download this version manually Get sphinx 0 0 4 zip How To This is the codeigniter interface to the sphinx search engine This is the minimal requirement release You need to have sphinxsearch properly installed This library will use sphinxsearch API approach It delegates method calls to the sphinxsearch client following the ci convention Ex if sphinx client have method named SetServer you can call it via this sphinxsearch set server params here You can configure some settings like server etc by omitting the set and use snakes instead of camels Ex since we have SetMaxQueryTime method

    Original URL path: http://getsparks.org/packages/sphinx/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | formgenlib
    December 31 2011 from codefury net CodeIgniter Starter Project A Starting Point for Any CI Dev December 12 2011 from github com NetTuts Tutorial for GetSparks November 24 2011 from net tutsplus com See More 1 Love 1 Like 0 Hate 2 412 Installs Basic Information formgenlib Form Generation Library Tweet Contributor santacruz Email Log in to view Author Website http www frankmichel com Spark Website http frankmichel de formgenlib user guide Repository Type git Number of Installs 2 412 Get the Latest 2 0 2 Pushed June 25th 2012 php tools spark install v2 0 2 formgenlib Or download this version manually Get formgenlib 2 0 2 zip How To Form Generation Library Usage Load the spark like this this load spark formgenlib 2 0 2 Use the spark like this this form User Guide Please take a look at the user guide for detailed documentation http frankmichel com formgenlib user guide Github Repository Please send any issues and pull requests to https github com frankmichel formgenlib If you found bugs or have code improvements please contact me directly at info frankmichel com I hope you enjoy using this spark Older Versions 2 0 1 Pushed November 27th 2011

    Original URL path: http://getsparks.org/packages/formgenlib/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | access
    x Edit the login list Next open up sparks access x x x config access php and edit the login list If this is enabled it will prompt the user for their username for any page access Useful for restrcting an entire site config access site protection enabled true The logins that should be valid It s an associative array of usernames to passwords config access logins array putsup abrick The realm Should be somethng like Your Site Name config access realm NBA JAM Guestbook You re done At this point attempts to access your site should be met by a basic auth challenge Give it a try Protect only part of a site manually If you only want to protect a certain part of a site like an admin section Set access site protection enabled to false in the config In the controller that you want to protect call this access prompt Protect part of a site or sites automatically Let s say you have a publicly visible staging site like qa getsparks org It s not the best idea to have it so public Google crawls it people find it they get confused etc In the config there s a setting named access force list This is an array that contains a set of patterns Any time the request URL matches one of these patterns the prompt will be issued So at GetSparks we have config access force list array qa getsparks org This will make sure any requests to our qa site get prompted You can also use this as an exclusion this by setting another value config access force list include false Normally true With that setting every instance except for the QA site will be prompted Maintainer This project was written and is maintained by

    Original URL path: http://getsparks.org/packages/access/versions/HEAD/show (2016-02-09)
    Open archived version from archive



  •