1
moisty70
Re: Best IDE for XOOPs development
  • 2008/4/9 12:32

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


I also like text editors, usually UltraEdit but for subversion integration, debugging and a couple of things more I think an IDE would be interesting (at least) to test.

The problem with Zend is the price...



2
moisty70
Best IDE for XOOPs development
  • 2008/4/9 7:33

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Please tell me, from your experience, the best IDE for XOOPs or for PHP in general. Debugging would be nice.
PHPEclipse?
Aptana?
Zend?



3
moisty70
Re: Best Practices XOOPS / Subversion (or any other version control system)?
  • 2008/4/8 17:53

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Thanks
I think I know subversion best practices.
I barely know XOOPS best practices, BTW content about this is difficult to find, for me impossible.

But I think that the relation code-database that XOOPS development has, needs some tips for version control. Doesn't it?



4
moisty70
Best Practices XOOPS / Subversion (or any other version control system)?
  • 2008/4/8 12:49

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Hi, I've developed a XOOPs site with success and for my next project I plan to use a version control system, subversion because I'm not alone ;)

I see there are problems with code changes that need database changes, like templates, new modules, etc.

I would like to receive a first step guide for SVN and XOOPs

Thanks in advance.



5
moisty70
Re: How to create Home Page
  • 2007/11/1 11:02

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Great!!!
Thanks snow



6
moisty70
How to create Home Page
  • 2007/10/31 23:56

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Hello, I would like to know how to show content ( a page / template ) when the user clicks the Home link at Main Menu.

I've used a module as startpage but the module has to be hasMain=1. And the module also appears on main menu.



7
moisty70
Re: How to use a template for module administration
  • 2007/10/9 9:28

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Well I've found a way to do it. Tried something similar yesterday with no success.


require_once XOOPS_ROOT_PATH . '/class/template.php';
if (!isset($xoopsTpl)) {
$xoopsTpl = new XoopsTpl();
}

$xoopsTpl->assign ('referrals', $referrals);
$user_info = array ('uid' => $xoopsUser->getVar('uid'));
$xoopsTpl->assign ('lang_referrals_lista', _PROMO_REF_LIST);

echo $xoopsTpl->fetch('db:promociones_admin_list.html');



8
moisty70
How to use a template for module administration
  • 2007/10/9 8:21

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Hello,
I have a module for user referrals.
Inside this module I use a template where every user that logs can see their referrals (and some more data) in a list, I show this template with this code:

$xoopsOption['template_main'] = 'referrals_list.html';
include XOOPS_ROOT_PATH.'/header.php';
$xoopsTpl->assign ('referrals', $referrals);
$user_info = array ('uid' => $xoopsUser->getVar('uid'));
$xoopsTpl->assign ('lang_referrals_lista', _PROMO_REF_LIST);
...
include XOOPS_ROOT_PATH.'/footer.php';


How can I use this template on module administration, there xoopsTpl is not instantiated (not an object error)



9
moisty70
Re: How to declare a global variable?
  • 2007/10/2 10:35

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


I thought Globals are stored on session.
Ok, I'll do it with $_SESSION.

Where are XOOPS variables stored?
For example, xoopsConfig?

Thanks.



10
moisty70
Re: How to declare a global variable?
  • 2007/10/2 8:21

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Thanks.

So the problem is other, may be a reference problem or something like that.

I cannot get to it...

I use
global $cat;
$categoria = $cat_handler->get($catid);
$cat = $categoria;

And use global $cat when I try to use it later...




TopTop
(1) 2 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

66 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 66


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits