1
dynek
PGSQL Support
  • 2005/3/7 8:07

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


Hi!

I read some stuff on these forums and on the net but can't figure out if there's a way to get XOOPS to work with PGSQL.

I downloaded XOOPS version 2.0.9.2 and only have MySQL in the database list. Is there a way to also have pgsql ?

If so please lemme know I'd really appreciate it. We need to be able to use PGSQL for many reasons (views, PL SQL, ...)

I read that some people got it working. If you are one of these people, could you please gimme a link where I could get the pgsql enabled version of xoops?

Thanks a lot for your work. It's a really great CMS!



2
dynek
Re: Hide main menu
  • 2005/2/8 7:42

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


I get that but I never set this option for my other pages so I don't know what parameter I should give it!

I just want to use the form functions of XOOPS and the default template.. There should be one since I don't specify anything on my module so long as I don't open up another window.



3
dynek
Re: Hide main menu
  • 2005/2/7 12:17

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


I still don't have any colors or font style. Can you please help?



4
dynek
Re: Hide main menu
  • 2005/2/3 6:02

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


I took some time yesterday to check what you said and I really don't understand.

When I create a module I use $myform->assign($xoopsTpl); and it uses a template.

What should I specify template_main if I want to use the template of the default theme?

Thanks a lot for your help



5
dynek
Re: Hide main menu
  • 2005/2/2 14:11

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


.ext ?

I use the default template.. Don't understand what you mean.



6
dynek
Re: Hide main menu
  • 2005/2/2 11:32

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


In the main windows I open a smaller one with javascript.
Here's a part of the code of the window I open:

<?php
require_once "../../mainfile.php";
require_once 
XOOPS_ROOT_PATH."/class/template.php";
require_once 
XOOPS_ROOT_PATH."/class/xoopsformloader.php";

$xoopsTpl = new XoopsTpl();
global 
$xoopsDB;

$my_form = new XoopsThemeForm(_SOUS_ENVOYES_WINDOW,"myform",$_SERVER['PHP_SELF']);
$ctrldate = new XoopsFormTextDateSelect(null"date"nullstrtotime($db_date));
$my_form->addElement($ctrldate,true);
$ctrlnobl = new XoopsFormText("Le no bl""nobl"1515$db_nobl);
$my_form->addElement($ctrlnobl,true);
$hidden = new XoopsFormHidden("param_op","save");
$my_form->addElement($hidden);
$hidden2 = new XoopsFormHidden("sous_pk",$sous_pk);
$my_form->addElement($hidden2);
$hidden3 = new XoopsFormHidden("exist"$exist);
$my_form->addElement($hidden3);
$send = new XoopsFormButton(null,"save",_SOUS_ENVOYES_BUTTON,"submit");
$my_form->addElement($send);
$my_form->assign($xoopsTpl);


The problem is that I assign $xoopsTpl...
Because if I use ->display I see my form. But I'd need the template (colors and style).

Thanks for your help



7
dynek
Re: Hide main menu
  • 2005/2/2 10:36

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


oh ok. I have the DB controls but still no template I guess.

I did what you said but I still don't see my form.



8
dynek
Hide main menu
  • 2005/2/2 8:07

  • dynek

  • Just popping in

  • Posts: 8

  • Since: 2005/2/2 8


Hi!

First of all I'm sorry if it's not the correct forum to post this to but I couldn't find any other that would fit better.

I'm developing a module for XOOPS and I'd like to open a window using javascript and in this window I need to have access to the forms controls and db controls of Xoops.
I did it but the only way to have access to these controls is to include the header.php file. In this file there's the menu and I need to get rid off it in this window.

Is there any way in PHP to hide it only in this window ?

Thanks for your help!




TopTop



Login

Who's Online

234 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits