Audio driver problem with Rarin Ringtail
I have an note book VAIO VPCEG
1. Test
# aplay -l
or
# aplay --list-devices
result is none
2. Check for your Ubuntu Linux kernel
#uname -a
Linux mynotebook-VPCEG15FX 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
#lspci | grep audio
Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller
3. Resolving the problem
You must download .deb file
https://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-daily/+packages
Install it
# dpkg -i oem-audio-hda-daily-dkms_0.201305041137~raring1_all.deb
4. Check step 1
---
Additional information
https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
plugins 4 sandbox
Saturday, May 4, 2013
Tuesday, March 19, 2013
ProcessMaker in Mac OS X
How to I did install ProcessMaker on Mac OS X version 10.7.5
Update :(
Requirements
XAMPP, download it from
http://www.apachefriends.org/en/xampp-macosx.html
Steps to install XAMPP
- Download XAMPP and install follow the configuration by default, also this include move XAMPP folder to Applications folder, the installer help us with the task
- With “Finder” application you enter into folder “Applications>XAMPP” and execute application “XAMPP Control” in order to arrange Apache and MySQL
- You can test this URL http://localhost in you browser
Steps to install ProcessMaker
- Download ProcessMaker and unpack into folder “/Applications/XAMPP/htdocs”
- Set file permissions
- Configure Apache Web Server
Set file permissions
Then, execute the following commands as the "root" user so that
ProcessMaker can access the necessary files when run by the Apache
server:
cd
/Applications/XAMPP/htdocs/processmaker/
chmod
-R 770 shared/
cd
/Applications/XAMPP/htdocs/processmaker/workflow/engine/
chmod
-R 770 /Applications/XAMPP/htdocs/processmaker/workflow/public_html
chmod
-R 770 config content/languages plugins xmlform js/labels
chown
–R nobody:admin /Applications/XAMPP/htdocs/processmaker
Configure Apache Web Server
Edit the ProcessMaker configuration file to fit your environment:
/Applications/XAMPP/htdocs/processmaker/etc/pmos.conf
Eventually like this
# Please change the ip address with your server ip address and
# the ServerName with you own subdomains.
NameVirtualHost 127.0.0.1
#processmaker virtual host
<VirtualHost 127.0.0.1 >
ServerName "127.0.0.1"
DocumentRoot /Applications/XAMPP/htdocs/processmaker/workflow/public_html
DirectoryIndex index.html index.php
<Directory "/Applications/XAMPP/htdocs/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Allow from all
RewriteEngine on
RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>
Copy the virtual server configuration file:
cp /Applications/XAMPP/htdocs/processmaker/etc/pmos.conf /Applications/XAMPP/etc/extra/httpd-vhosts.conf
cp /Applications/XAMPP/htdocs/processmaker/etc/pmos.conf /Applications/XAMPP/etc/extra/httpd-vhosts.conf
From file /Applications/XAMPP/etc/httpd.conf unremark the sentence under
# User Home directories
leave like this:
# User home directories
Include /Applications/XAMPP/etc/extra/httpd-userdir.conf
# User Home directories
leave like this:
# User home directories
Include /Applications/XAMPP/etc/extra/httpd-userdir.conf
Finally trough the application “XAMPP Control” you restart Apache server, first stop the service and start again.
In your Internet browser (Safari or Firefox) enter http://127.0.0.1 and follow the steps for ProcessMaker Installation, you found more information in official wiki.
Known issuesIn your Internet browser (Safari or Firefox) enter http://127.0.0.1 and follow the steps for ProcessMaker Installation, you found more information in official wiki.
- If some screen don't appears you must restart the machine, sorry.
Update :(
- http://paritynews.com/software/item/789-firefox-not-coming-to-ios-confirms-sullivan
Thursday, January 24, 2013
ProcessMaker plugins with Smarty render
Here the code for controller /opt/plugins/my_first_plugin/my_first_plugin/services/render.smarty.php
<?php
/**
* Render
*/
session_start();
//error_reporting(E_ALL);
//ini_set("display_errors", 1);
$G_MAIN_MENU = "processmaker";
$G_ID_MENU_SELECTED = "ID_MY_FIRST_PLUGIN_MNU_01";
G::loadClass("pmFunctions");
$sQuery = "SELECT * FROM PMT_MY_DATA";
$aResp = executeQuery($sSQL);
$G_PUBLISH = new Publisher;
$aVars = array();
$aVars["PAGETITLE"] = "SAMPLE PAGE";
$aVars["PROJECTS"] = $aResp;
$G_PUBLISH->AddContent('smarty', 'my_first_plugin/render.smarty.html', '', '', $aVars);
G::RenderPage('publish', 'blank');
?>
And the code for the view /opt/plugins/my_first_plugin/my_first_plugin/render.smarty.html
<!-- template smarty -->
<html>
{literal}
<head>
<style type="text/css">
body{
margin: 0px;
padding: 0px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
#ftitle {font-family: Century Gothic, sans-serif; text-decoration: underline;}
#btable-b { font-family: "Lucida Sans Unicode","Lucida Grande",Sans-Serif; font-size: 12px; width: 700px; text-align: center; border-collapse: collapse; border-top: 4px solid #8E8E8E; border-bottom: 4px solid #8E8E8E; margin: 20px; }
#btable-b th {
font-size: 13px; font-weight: normal; border-right: 1px solid #8E8E8E; border-left: 1px solid #8E8E8E; color: #000; padding: 8px;
background: #fcfff4; background: -moz-linear-gradient(top, #fcfff4 0%, #bcbcbc 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfff4), color-stop(100%,#bcbcbc)); background: -webkit-linear-gradient(top, #fcfff4 0%,#bcbcbc 100%); background: -o-linear-gradient(top, #fcfff4 0%,#bcbcbc 100%); background: -ms-linear-gradient(top, #fcfff4 0%,#bcbcbc 100%); background: linear-gradient(to bottom, #fcfff4 0%,#bcbcbc 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#bcbcbc',GradientType=0 );
}
#btable-b td { background: none repeat scroll 0% 0% #fff; border-right: 1px solid #8E8E8E; border-left: 1px solid #8E8E8E; color: #474747; padding: 8px; }
#btable-b tr:hover td {background: none repeat scroll 0 0 #E8F3FF; color: #000000;}
</style>
</head>
{/literal}
<body>
<table cellspacing="0" cellpading="0" border="0" id="form-title">
<tr><th colspan="80">{$PAGETITLE}</th></tr>
</table>
<table cellspacing="0" cellpading="0" border="1" id="btable-b">
<tr>
<th align="right">#</th><th colspan="2" align="center">DETAIL</th><th align="center">STATUS</th>
</tr>
{foreach from=$RECORDS item=row}
<tr>
<td width="10%" align="right">{counter}</td>
<td width="70%" align="left">
{$row.DETAIL_FIELD}
<a href="../../my_first_plugin/services/view.php">
<font color="blue">View</font>
</a>
</td>
<td width="20%" align="left">
{if $row.STATUS_FIELD neq "INACTIVE"}
<font color="blue">{$row.STATUS_FIELD}</font>
{else}
<font color="red">OFF</font>
{/if}
</td>
</tr>
{/foreach}
</table>
</body>
</html>
You try it with the follow URL:
http://localhost/sysworkflow/en/classic/my_first_plugin/services/render.smarty.php
Saturday, January 5, 2013
Main interface and sub menu based on core of ProcessMaker
Here a detailed description to generate a new and different main interface of a plugin using code of core.
... asap ...
... asap ...
Wednesday, January 2, 2013
Default interface of plugin on ProcessMaker
The newest plugins generated with the command
# ./gulliver new-plugin my_first_plugin
Are plugins what uses interfaces generated with ExtJs Framework inside, that when you active the plugin then tab "my_first_plugin - application1" is activated on your main menu, if you click on this option show it:
The interface is blank and without logo and without main menu ... :(
Wednesday, December 26, 2012
Create a new pluggin
1. Move to directory
root@Ubuntu:/opt/processmaker/gulliver# cd /opt/processmaker/workflow/engine/
2. Create the pluginroot@Ubuntu:/opt/processmaker/workflow/engine# ./gulliver new-plugin my_first_plugin
using DSN Connection
creating plugin directory /opt/plugins/my_first_plugin
saved 395 bytes in file my_first_plugin/setup.xml [pluginSetup.xml]
saved 183 bytes in file my_first_plugin/messageShow.xml [pluginMessageShow.xml]
saved 3060 bytes in file my_first_plugin/config/schema.xml [pluginSchema.xml]
saved 2075 bytes in file my_first_plugin/config/propel.ini [pluginPropel.ini]
saved 2069 bytes in file my_first_plugin/config/propel.mysql.ini [pluginPropel.mysql.ini]
Change system logo [y/N]: N
Create an example Page [Y/n]: Y
saved 167 bytes in file my_first_plugin/menumy_first_plugin.php [pluginMenu]
saved 964 bytes in file my_first_plugin/my_first_pluginApplication.php [pluginApplication.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication.html [pluginApplication.html]
saved 6542 bytes in file my_first_plugin/my_first_pluginApplication.js [pluginApplication.js]
saved 1519 bytes in file my_first_plugin/my_first_pluginApplicationAjax.php [pluginApplicationAjax.php]
Create new option in the menu of cases [Y/n]: Y
saved 2440 bytes in file my_first_plugin/menuCasesmy_first_plugin.php [pluginMenuCases]
saved 567 bytes in file my_first_plugin/my_first_pluginApplication2.php [pluginApplication2.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication2.html [pluginApplication2.html]
saved 7615 bytes in file my_first_plugin/my_first_pluginApplication2.js [pluginApplication2.js]
saved 567 bytes in file my_first_plugin/my_first_pluginApplication3.php [pluginApplication3.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication3.html [pluginApplication3.html]
saved 581 bytes in file my_first_plugin/my_first_pluginApplication3.js [pluginApplication3.js]
Create the Role 'PROCESSMAKER_MY_FIRST_PLUGIN' and
the Permission 'PM_MY_FIRST_PLUGIN' [y/N]: N
Create external step for Processmaker [y/N]: N
Create an element for the Processmaker Dashboards [y/N]: N
Create a PmFunction Class for extending Processmaker [y/N]: N
saved 1024 bytes in file my_first_plugin.php [pluginMainFile]
saved 396 bytes in file my_first_plugin/class.my_first_plugin.php [pluginClass]
Your plugin is generated in directory /opt/plugins/my_first_plugin/
2.
Check the code generated
Enjoy the power of your curiosity.
root@Ubuntu:/opt/processmaker/gulliver# cd /opt/processmaker/workflow/engine/
2. Create the pluginroot@Ubuntu:/opt/processmaker/workflow/engine# ./gulliver new-plugin my_first_plugin
using DSN Connection
creating plugin directory /opt/plugins/my_first_plugin
saved 395 bytes in file my_first_plugin/setup.xml [pluginSetup.xml]
saved 183 bytes in file my_first_plugin/messageShow.xml [pluginMessageShow.xml]
saved 3060 bytes in file my_first_plugin/config/schema.xml [pluginSchema.xml]
saved 2075 bytes in file my_first_plugin/config/propel.ini [pluginPropel.ini]
saved 2069 bytes in file my_first_plugin/config/propel.mysql.ini [pluginPropel.mysql.ini]
Change system logo [y/N]: N
Create an example Page [Y/n]: Y
saved 167 bytes in file my_first_plugin/menumy_first_plugin.php [pluginMenu]
saved 964 bytes in file my_first_plugin/my_first_pluginApplication.php [pluginApplication.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication.html [pluginApplication.html]
saved 6542 bytes in file my_first_plugin/my_first_pluginApplication.js [pluginApplication.js]
saved 1519 bytes in file my_first_plugin/my_first_pluginApplicationAjax.php [pluginApplicationAjax.php]
Create new option in the menu of cases [Y/n]: Y
saved 2440 bytes in file my_first_plugin/menuCasesmy_first_plugin.php [pluginMenuCases]
saved 567 bytes in file my_first_plugin/my_first_pluginApplication2.php [pluginApplication2.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication2.html [pluginApplication2.html]
saved 7615 bytes in file my_first_plugin/my_first_pluginApplication2.js [pluginApplication2.js]
saved 567 bytes in file my_first_plugin/my_first_pluginApplication3.php [pluginApplication3.php]
saved 45 bytes in file my_first_plugin/my_first_pluginApplication3.html [pluginApplication3.html]
saved 581 bytes in file my_first_plugin/my_first_pluginApplication3.js [pluginApplication3.js]
Create the Role 'PROCESSMAKER_MY_FIRST_PLUGIN' and
the Permission 'PM_MY_FIRST_PLUGIN' [y/N]: N
Create external step for Processmaker [y/N]: N
Create an element for the Processmaker Dashboards [y/N]: N
Create a PmFunction Class for extending Processmaker [y/N]: N
saved 1024 bytes in file my_first_plugin.php [pluginMainFile]
saved 396 bytes in file my_first_plugin/class.my_first_plugin.php [pluginClass]
Your plugin is generated in directory /opt/plugins/my_first_plugin/
2.
Check the code generated
Enjoy the power of your curiosity.
Tuesday, December 25, 2012
ProcessMaker plugins and official wiki page
The best documentation for plugins development on ProcessMaker 2.0
http://wiki.processmaker.com/index.php/2.0.36/Plugin_Development
I found good tips, thanks.
http://wiki.processmaker.com/index.php/2.0.36/Plugin_Development
I found good tips, thanks.
Subscribe to:
Posts (Atom)