Tuesday, February 26, 2008
adobe spry links
http://labs.adobe.com/technologies/spry/home.html - Spry Home Page
http://labs.adobe.com/technologies/spry/articles/menu_bar/index.html - Menu bar documentation
http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html - Advanced menu bar styling
http://labs.adobe.com/technologies/spry/articles/menu_bar/index.html - Menu bar documentation
http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html - Advanced menu bar styling
Monday, February 18, 2008
Tuesday, February 12, 2008
add user fields to joomla 1.5 for frontend editing
HACK WARINING
backup jos_users using phpmyadmin or similar
add fields to jos_users i.e. address1, state etc
open components>com_user>views>user>tmpl>form.php
copy and change existing form fields
open components>com_user>models>user.php
duplicate existing entries and change names
i.e. $post['username'] = JRequest::getVar('username', '', 'post', 'username');
$post['address1'] = JRequest::getVar('address1', '', 'post', 'address1');
$post['state'] = JRequest::getVar('state', '', 'post', 'state');
open>libraries>joomla>database>table>user.php
duplicate existing entries and change names
i.e. var $email = null;
var $address1 = null;
var $state = null;
backup jos_users using phpmyadmin or similar
add fields to jos_users i.e. address1, state etc
open components>com_user>views>user>tmpl>form.php
copy and change existing form fields
open components>com_user>models>user.php
duplicate existing entries and change names
i.e. $post['username'] = JRequest::getVar('username', '', 'post', 'username');
$post['address1'] = JRequest::getVar('address1', '', 'post', 'address1');
$post['state'] = JRequest::getVar('state', '', 'post', 'state');
open>libraries>joomla>database>table>user.php
duplicate existing entries and change names
i.e. var $email = null;
var $address1 = null;
var $state = null;
EasySQL for Joomla1.5RC, if you without phpMyAdmin
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2867/Itemid,35/
Subscribe to:
Posts (Atom)