1
ladios
module update problem - can't write to main menu
  • 2005/5/28 15:27

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


I don't know if this is really a bug b'cos it happens rather randomly and I only came across it twice and was unable to reproduce it on purpose:

when installing or upgrading modules i sometimes come across errors statings that there is a 'Failed open file' and that XOOPS was 'unable to write to main menu' and the module's admin icon didnt show up (at the left of admin page).

Luckily it can be fixed by deleting the adminmenu.php under the cache directory and have XOOPS regenerate the menu.

does anyone have the same problem?



2
ladios
Module Compatibility for New XOOPS ver (2.1, 2.2...)
  • 2004/8/22 16:00

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


i'm just wondering how the module architecture will change from the current 2.0 structure?

will the transition/conversion be painful?



3
ladios
BUG: class XoopsFormDateTime
  • 2004/6/14 1:41

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


sorry i double clicked

pls delete this one

thx~



4
ladios
BUG: class XoopsFormDateTime
  • 2004/6/14 1:40

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


Problem:
the date field is not displayed correctly: instead of the
usual 'yyyy-mm-dd', it displays the int value e.g. '1232424123'

Fix:
in the file /class/xoopsform/formdatetime.php
locate-
$this->addElement(new XoopsFormTextDateSelect('', $name.'[date]', $size, $value));
and change it to-
$this->addElement(new XoopsFormTextDateSelect('', $name.'[date]', $size, date('Y-m-d', $value)));



5
ladios
Re: Too many </div>
  • 2003/10/29 8:01

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


i think the problem lies in this line

advertisements...</a></div></div>

just remove one of the '</div>' and it should be ok...

Quote:

gruessle wrote:
Following is from the source code. I have one </div> to many in there and I can't figure out where it comes from.
Do you have any ideas where I could check?

Quote:

<!-- End center-left blocks loop -->

</td><td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<div style="padding: 0px;">
<fieldset style="border:1px solid #4A3108;margin:5px;padding:5px;">
<legend class="blockTitle"><img src="http://www.guyscope.com/themes/yuzuan/point.gif"> Classifieds</legend>
<div class="blockContent"> search: <a href="http://www.guyscope.com/modules/myAds/index.php?pa=viewannonces&lid=1">BERSA THUNDER .380...</a><br>
<br>
<a href="http://www.guyscope.com/modules/myAds/">All advertisements...</a></div></div>
</fieldset>
</div> <!-- End center-right blocks loop -->


This is onhttp://vmclinks.com



6
ladios
ThemeForm bug in xoops 2.0.5
  • 2003/10/13 3:04

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


file concerned:
.\class\xoopsform\themeform.php

what is wrong:
insertBreak($extra = '', $class= '') member function
--> got its logic wrong, will not display $extra at all

solution:
fixed here

function insertBreak($extra = '', $class= '')
{
$class = ($class != '') ? " class='$class'" : '';
if ($extra == '') {
$extra = "<tr><td colspan='2'$class></td></tr>";
$this->addElement($extra);
} else {
$extra = "<tr><td colspan='2'$class>$extra</td></tr>";
$this->addElement($extra);
}
}



7
ladios
Re: minical of the AgendaX
  • 2003/10/13 2:51

  • ladios

  • Just popping in

  • Posts: 7

  • Since: 2003/10/13


i think u can either
1. go into the source and hack it
or
2. try giving it a blank image to show

Quote:

marcan wrote:
I just install AgendaX and I've putted the minical block on my home page. This works find but there's an image that is not loaded on this minical, juts under the name of themonth. I don't know how else to describe it so here is a screenshot Resized Image

What could I do to correct that. Thanks to any help !




TopTop



Login

Who's Online

149 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 149


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