101
bumciach
Re: Structure and relational model of the XOOPS database
  • 2009/8/7 13:06

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I used to use DBDesigner4 for reverse engineering. Create nice diagrams. Enough to click the relationship. At least in the XOOPS core tables can find them easily on the column titles.
DBDesigner4 was replaced by MySQL Workbench. The community edition has no reverse engineering, but easily import models from DBDesigner4.



102
bumciach
Re: XoopsForm and ajax empty response
  • 2009/8/7 12:33

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


OK, found that it's the problem of browser not Xoops.
Now it works under IE (although there were some charset problems earlier). But under Firefox still no data sends from form during xajax response. Arghh...



103
bumciach
XoopsForm and ajax empty response
  • 2009/8/7 8:06

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I use xajax to validate the form.

At the beginning of what works:

index.php
$xoopsOption['template_main'] = 'my_form_template.tpl';    
$form = new XoopsThemeTabForm(...);
...
$form->display();

my_form_template.tpl
<div id="form-element-alert"></div>


The form shows below the 'form-element-alert'. If the input is empty (onBlur event), the div 'form-element-alert' shows message 'EMPTY'. If something is written into the input field, the message is 'OK'.

THE PROBLEM:
I did my own template form (div 'form-element-alert' box on every form element) in my_form_template.tpl, so I used $ form-> assign instead of $ form-> display

index.php
$xoopsOption['template_main'] = 'my_form_template.tpl';    
$form = new XoopsThemeTabForm(...);
...
$form->assign($xoopsTpl);


And now also the form is displayed correctly. But xajax sends an empty response, so always displays the message 'EMPTY'.

xajax debug:
POSTxjxfun=symbolExist
&xjxr=1249628528828
&xjxargs[]=
<
xjxobj>
</
xjxobj>

but should be
POSTxjxfun=symbolExist
&xjxr=1249631398417
&xjxargs[]=
<
xjxobj>
<
e><k>symbol</k><v></v></e>
...
<
e><k>submit</k><v><![CDATA[Save this form]]></v></e>
<
e><k>cancel</k><v>Cancel</v></e>
<
e><k>id</k><v></v></e>
<
e><k>op</k><v>new</v></e>
</
xjxobj>



104
bumciach
Re: Rant: When code doesn't want to play nice
  • 2009/8/6 18:55

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Oh, I hate the alternatives! ;)
Most of time I spend thinking of what the solution to select or switching between the different alternatives all the time. Not struggle in coding, only struggle in thoughts... I hate it! ;)



105
bumciach
Re: Where is the Project Management Quality
  • 2009/8/4 12:33

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Quote:

RotzKotz_ere wrote:
Quote:
Maybe we should shut them down, so we can avoid confusion.

It’s NOT maybe!
You have to, as soon as possible.
It only spreads redundancy, confusion and misinformation.


Definitely agree!
When I started to create my own modules, I got off to SourceForge, dev.xoops.org, Wiki on both (categories: Development, DevWiki, etc). This made me headache. A lot of time wasted on understand what is going on instead of coding.



106
bumciach
Re: how can embed smarty loop inside a javascript array
  • 2009/8/3 12:46

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Are you using Multimenu? I have noticed this module cause counter problem. Try add before foreach
<{counter start=print=no assign=mycounter}>

and then
<{counter}>
line[<{mycounter}>]=...



107
bumciach
Re: how can i upload more then one image with the class uploader
  • 2009/7/24 11:22

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


You can't. Class uploader uses only http protocol which can send one file at once.
The only workaround is to use Ajax or Flash technology.
There are some nice library (have not tried to integrate with XOOPS yet):
http://www.uploadify.com/download/
http://www.fyneworks.com/jquery/multiple-file-upload/



108
bumciach
Re: jqGrid with Xoops?
  • 2009/7/1 11:29

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


This was expected;)
So I have started, but it takes some time because of my other projects. In the first place I plan to focus on the function tableToGrid. This will let me (I hope) automatically on the fly convert existing html tables to this fancy grid and leave the plain html table for those without JavaScript.
If success I will share results with the community.



109
bumciach
jqGrid with Xoops?
  • 2009/6/26 13:01

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


More and more modules implements jquery. So, I wonder if anyone tried to integrate jQuery Grid Plugin with Xoops? I would rather not reinventing the wheel ;)



110
bumciach
Re: how can i create and use xoops object handler in my module?
  • 2009/6/24 11:16

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I'm at a similar stage in developing. It was very helpful for me to look up the code of XoopsFAQ module by Catzwolf.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=68221&start=0




TopTop
« 1 ... 8 9 10 (11) 12 13 14 »



Login

Who's Online

169 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

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

Latest GitHub Commits