1
moflus
Re: Images NOT Displying in Custom Block
  • 2006/2/22 11:48

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


Use html:
<img src="http://www.XXXXXXX.co.uk/images/image.jpg"/>

Be sure to select HTML in the Content Type selector



2
moflus
Re: Five Pack Module installation 2.2
  • 2006/2/20 0:00

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


This usually happens when there is not the xoops_version.php file inside any folder in modules directory



3
moflus
Re: how to develop xoops module
  • 2006/2/19 23:53

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25





4
moflus
CriteriaCompo conditions
  • 2006/2/4 13:14

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


Is it possible to use distinct conditions 'AND' and 'OR' for each CriteriaElement?

Example:
SELECT * FROM my_table WHERE a>10 AND (b=5 OR c IS NULL)

If not, is it there another way to get Objects with this kind of condition?



5
moflus
Re: XoopsTree with only one query
  • 2006/1/28 20:14

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


So, why XoopsTopic is using XoopsTree instead?

I didn't know that XoopsObjectTree exists.
It's not documented in the wiki. Isn't it?



6
moflus
XoopsTree with only one query
  • 2006/1/28 19:21

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


The using of the XoopsTree class generates a lot of queries to the database.
Most modules are using it directly or by XoopsTopic
I have re-writen it to make only one query when it's intanciated.
I've preserved all the methods with the same return (checked)
The code is also shorter & faster than the original one.

If you want to have a look to the code:
http://www.moflus.com/modules/newbb/v ... 15&post_id=58#forumpost58



7
moflus
Re: Profile module fields
  • 2006/1/16 11:30

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


I've found it by myself

Just including the query in xoops_version.php



8
moflus
Re: Ajax in Xoops Template
  • 2006/1/9 18:54

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


Monster,

AJAX technology is used mainly to update form fields, not entery content.

You can manipulate DHML elements in asinchronous mode without recharging the entery page.

Test the examples in the xajax library and you'll see the possibilities.

An alternative is the use of iframes (I hate iframes) for full block updates.



9
moflus
Re: Ajax in Xoops Template
  • 2006/1/9 15:02

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


I'm spanish and my english is limited, too.

The goal of using the xajax library is that you don't need to make changes in the XOOPS theme

I'm only using it in a new module that I'm building.

What do you want to do with ajax in xoops?



10
moflus
Profile module fields
  • 2006/1/9 14:54

  • moflus

  • Just popping in

  • Posts: 24

  • Since: 2004/12/25


I'm using the Dynamic User Profile (Implemented in XOOPS 2.2)
described in the Dev wiki.
Congratulations. It's very useful.

Is it possible to make the options array dynamic?
$modversion['profile']['field'][1]['options'] = array();


I mean, a select type field can be filled with options coming from a MySQL query?




TopTop
(1) 2 3 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

56 user(s) are online (29 user(s) are browsing Support Forums)


Members: 0


Guests: 56


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