Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 1st October 2010, 16:13
bruno_floyd bruno_floyd is offline
Member
 
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
Default

I figured out a solution for the loop...

i created 2 vars on my listform_actions.ini.php file with the variables I wanted:

Code:
$app->tpl->setVar('total_comissao', $valor);
$app->tpl->setVar('total_nao_comissao', $valor2);
And it worked!

Regarding to the data, is it possible to use my convert code:

Code:
$tempData = explode("-", $this->dataRecord['data_cadastro']);
$this->dataRecord['data_cadastro'] = $tempData[2]."/".$tempData[1]."/".$tempData[0];
inside the onShow() method?

Last edited by bruno_floyd; 1st October 2010 at 16:16.
Reply With Quote
Sponsored Links
  #32  
Old 13th April 2011, 10:20
pma_ pma_ is offline
Junior Member
 
Join Date: Apr 2011
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by bruno_floyd View Post
Hi guys,

I'm trying to creat a new module following the instructions based on this tutorial:
http://docs.ispconfig.org/development/interface/

I created the DB Table of the new module on my own at the main account accoding to the model used on the other tables... and did all the steps, changing what is concerned to my new module instead of "help".

I'm able to select the new module for the admin, but when I login again and click on the link of the it, I got the following error on a alertbox:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../themes/default/css/central.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="uniForm">
<div id="errorMsg">
<h3>Error</h3>
<ol>
<li>301</li>
</ol>
</div>
</div>
</body>
</html>


Does anybody knows what's going on?
Thanks guys!
I have exactly same problem, how did you solve one? I have latest ISP installed.

EDIT: problem solved I just changed foder names in module.conf.php

Last edited by pma_; 13th April 2011 at 11:59.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius and Mysql uvstudios HOWTO-Related Questions 4 19th February 2014 12:11
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 4th April 2010 23:28
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 17:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.