xoops forums

Forum Index


Board index » All Posts (LiliVG)




LiliVG

Just popping in
Posted on: 2007/2/18 21:42
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#11

Re: change XoopsFormTextArea to FormTextArea not working?

I had to delete Kiovi, it gave me a blank page when i selected it in the CBB forum.


LiliVG

Just popping in
Posted on: 2007/2/18 21:41
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#12

Re: change XoopsFormTextArea to FormTextArea not working?

I found I also can't use the FormDhtmlTextArea in xoopseditor either, but I can use XoopsFormDhtmlTextAreaExtended in xoopseditor. I looked at the files, and the extended is formatted similarly to editors in xoopsform with a clear definition. The ones I can't use are defined using foreach statements. So how do I need to structure the information in edituser.php so that they're not invalid foreach values?


LiliVG

Just popping in
Posted on: 2007/2/18 20:53
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#13

Re: change XoopsFormTextArea to FormTextArea not working?

Ok, I ran debug, and this is the warning I got back on edituser.php:

Warning: Invalid argument supplied for foreach() in file /class/xoopseditor/textarea/textarea.php line 34


Can anyone help me figure out what this means and what I need to do about it to make it work?

Thanks!


LiliVG

Just popping in
Posted on: 2007/2/18 12:02
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#14

Re: change XoopsFormTextArea to FormTextArea not working?

Well, I don't think the issue is that it's in xoopseditor because I could add a XoopsFormDhtmlTextAreaExtended with no problem and that's in xoopseditor. Which is why I'm so baffled that this one isn't working. I think what I need to know is what is the config order for FormTextArea...is it the same as XoopsFormTextArea?

Thanks for helping me with this btw


LiliVG

Just popping in
Posted on: 2007/2/18 11:42
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#15

Re: change XoopsFormTextArea to FormTextArea not working?

It's FormTextArea (the plain text editor in the folder xoopseditor) I need, not XoopsFormTextArea (which is an editor in the folder xoopsform). All the editors in xoopsform are very easy to read the order, it says plainly right in that file like you said. The structure of the files in xoopseditor are different, so it's not as clear. That's part of my problem.


LiliVG

Just popping in
Posted on: 2007/2/18 10:59
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#16

change XoopsFormTextArea to FormTextArea not working?

I'm changing the editors in the edit profile page edituser.php (running 2.0.16) and it works fine if I change it from XoopsFormTextArea to XoopsFormDhtmlTextArea for example, but when I change it to FormTextArea (just the plain text editor in xoopseditors) the box shows up in the form, but it doesn't retrieve or submit any text in the box, not even the language reference shows up("Extra Info" title), it's just all empty. I have included the associated php files in xoopsformloader.php.
I've been searching this site for several days now, and the closest I've come to finding why this might be is the config order (at least i think that's what it's called) ei: XoopsFormTextArea($caption, $name, $value... vs ($caption $value, $name... but I can't find the FormTextArea definition in the devwiki to see what order they're supposed to be in, and the php file makes it look like the textarea editor should have the exact same configs as the XoopsFormTextArea, but clearly that isn't so because a simple swap of editor names doesn't work the way it does with the others.
I don't know what else to do. Can anyone help me?


LiliVG

Just popping in
Posted on: 2007/2/13 19:48
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#17

Re: Possible bug in login

Quote:

Xerelo wrote:
When you forget the password and you insert your email to recover it, you are redirected to lostpass.php. There it be showed that a mail has been sent you to recover the password. If then you remember the password and you initiate session from that page, it will appear you the first screen saying that the loggin was correct and that you will be redirected to the main page, nevertheless you are redirected to the page of lostpass.php, being catched in a loop, being all along in this page. If you stop the load of the page and go to index.php, you are correctly logged.



This is the exact problem I have too. Is there a solution for this yet?


LiliVG

Just popping in
Posted on: 2007/2/13 2:29
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#18

Block not showing up?

I'm trying to add a block to my module and it's not showing up. I have all the block entries for xoops_version.php, I have the block.php with the function to return the block, and I have a template for the block. The block shos up perfectly in admin, but just won't show up on the front page. I've checked permissions and they are all set to access...I don't know what else to do? The weird thing is it was showing up fine, and then it disapeared...lol

**edit** nevermind, it was just a typo, I fixed it and it's all fine now :)


LiliVG

Just popping in
Posted on: 2007/2/13 2:25
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#19

Re: is defined in which file?

Thank you Dave

As it turns out, I can use <{$xoops_url}> for what I'm working on and it works ok, so I don't want to make it more complicated for myself if I don't need to (what with me being such a noob and all )


LiliVG

Just popping in
Posted on: 2007/2/13 0:52
LiliVG
LiliVG (Show more)
Just popping in
Posts: 65
Since: 2005/12/25
#20

Re: is defined in which file?

It's a very simple module that is 98% html. And no, I'm not completely familiar with exactly how all of the files in XOOPS interact with each other, but I'm learning. A person's gotta start somewhere, right? And for your information, my module is almost completely done, and works fine, so I can't be all that incompetent.



TopTop
« 1 (2) 3 4 5 6 »