291431
Herko
Re: pulldown navigation menu
  • 2003/10/5 13:21

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


This thread was posted a long time ago, way before I was part of the XOOPS Core Team, and when w4z004 was still an active member. Back even in the days before XOOPS 2. Now, with Smarty templates and theming, a lot more is possible.
This function is still high on the wish list, and will be added to the XOOPS 2.1 roadmap, if I have anything to say over this (wait a minute, I actualy do! ). Dropping this at the XOOPS Module Development site will do you no good at the moment, not much happening there.
However, why not use an existing dmtml script, the main menu block code and create a new module (like iMunu did) that adds an alternative menu, not as a block, but as a theme integrated smarty variable? Then you could put it anywhere you want...

Just my 2 cents

Herko



291432
Herko
Re: bug in xoopscodes.php
  • 2003/10/5 13:14

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Thanks, we'll add this to the list for review for the next version

Herko



291433
mrgym
Re: dynamic sub-menus - proposal to change xoops menus
  • 2003/10/5 13:08

  • mrgym

  • Just popping in

  • Posts: 28

  • Since: 2002/4/26


Exactly! I want the ability to dynamically place submenu items under my appname in the lblock menu. I COULD place this submenu in "my" module cblock space, but that would be confusing from a usability standpoint AND take-up valuable screen space in the module area.

Specifically, I suggest moving the logic related to assembling the lblock menu to footer.php. The module could either declare an array of submenu URL's ($xoopsModule['vars']['submenu']?), or create a submenu array in xoopsTpl to be picked-up in the footer.php logic.

I can "hack" a solution where I declare a xoopsDB object in xoops_version.php and then unset() it, but the ability to create lblock submenus would be a great functionality to offer any module developer.






291434
brash
Re: This page loaded in x seconds
  • 2003/10/5 12:56

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


I'm using 2.0.4 and would also appreciate a bit more detail on how to do this. I'm having a few performance issues, and I don't want to have to leave the debug mode on to get load time information.



291435
Derya
bug in xoopscodes.php
  • 2003/10/5 12:06

  • Derya

  • Module Developer

  • Posts: 40

  • Since: 2003/5/12


Hi,

If you insert bb-code and smilies on some textareas (Download submitting e.g.) they aren't inserted at the current cursorpostion.
This is a bug in include/xoopscodes.php on line 72 (missing some js calls).
Replace:
echo "<img src='".XOOPS_URL."/images/bold.gif' alt='bold' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeBold("".$hiddentext."");' />&nbsp;<img src='".XOOPS_URL."/images/italic.gif' alt='italic' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeItalic("".$hiddentext."");' />&nbsp;<img src='".XOOPS_URL."/images/underline.gif' alt='underline' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeUnderline("".$hiddentext."");'/>&nbsp;<img src='".XOOPS_URL."/images/linethrough.gif' alt='linethrough' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeLineThrough("".$hiddentext."");' /></a>&nbsp;<input type='text' id='".$textarea_id."Addtext' size='20' />&nbsp;<input type='button' onclick='xoopsCodeText("$textarea_id", "".$hiddentext."")' value='"._ADD."' /><br /><br /><textarea id='".$textarea_id."'  name='".$textarea_id."' cols='$cols' rows='$rows'>".$GLOBALS[$textarea_id]."</textarea><br />n";

(all in one line)

with:
echo "<img src='".XOOPS_URL."/images/bold.gif' alt='bold' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeBold("".$hiddentext."");' />&nbsp;<img src='".XOOPS_URL."/images/italic.gif' alt='italic' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeItalic("".$hiddentext."");' />&nbsp;<img src='".XOOPS_URL."/images/underline.gif' alt='underline' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeUnderline("".$hiddentext."");'/>&nbsp;<img src='".XOOPS_URL."/images/linethrough.gif' alt='linethrough' onmouseover='style.cursor="hand"' onclick='setVisible("".$hiddentext."");makeLineThrough("".$hiddentext."");' /></a>&nbsp;<input type='text' id='".$textarea_id."Addtext' size='20' />&nbsp;<input type='button' onclick='xoopsCodeText("$textarea_id", "".$hiddentext."")' value='"._ADD."' /><br /><br /><textarea id='".$textarea_id."' onselect="xoopsSavePosition('{$textarea_id}');" onclick="xoopsSavePosition('{$textarea_id}');" onkeyup="xoopsSavePosition('{$textarea_id}');" name='".$textarea_id."' cols='$cols' rows='$rows'>".$GLOBALS[$textarea_id]."</textarea><br />n";

(all in one line)

greetz
derya



291436
bassyard
CP System admin icon is gone
  • 2003/10/5 11:43

  • bassyard

  • Not too shy to talk

  • Posts: 157

  • Since: 2003/10/5


Hi I've got a problem with my Control Panel:

Resized ImageI can't access the system admin, it's gone as you can see on the image on the left
I don't know what went wrong and my programming knowledge isn't that good to sort it out on my own...

It disapeared after i uploaded and installed XoopsGallery, I don't know if this causes the problem, the gallery works just fine...

I'm the webmaster and all access rights are granted to me

Can somebody plz help me



291437
Gamut
Re: pulldown navigation menu
  • 2003/10/5 11:33

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Has anyone developed, or is anyone developing, an integrated dynamically generated navigation module for XOOPS which enables a choice between standard sidebar block menu and hozizontal pulldown menus? An additional element would be the capacity to dynamically include menu and sub-menu heirarchy based on permissions.

I was searching the XOOPS forum for information on integrated dynamic, heirarchical pulldown menus for navigation. I see that there was a lot of discussion in the threads "Pulldown Navigation Menu" and "Horizontal DHTML Menu Issues" around March 2002.

Herko made some strong points about separating informational blocks from navigational blocks. w4z004 stated that "we are experimenting with phplayers" then the thread basically died out. I am not sure if w4z004's "we" was the XOOPS core team or just referring to himself in the first person plural.

I have looked at iMenu and MultiMenu block modules, which have some degree of integration with XOOPS, but both still fall short of an ideal comprehensive navigation management solution to the question I posed in my first paragraph above.

Question to w4z004: What was the end result of the experimentation?

Question to Herko: Did you ever get a satisfactory resolution to your investigations in this area?

Question to wider XOOPS community: Has anyone developed a module or solution to this XOOPS navigation challenge?

If there is enough interest generated I will list this as a requested module for development at the XOOPS Module Development site. I personally think it would be a major enhancement of XOOPS's solid foundation as a CMS.



291438
gruessle
Re: SQMAIL PROBLEM
  • 2003/10/5 10:26

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Well I would be interested in doing that too.

Don't you think it would be easier if you posted here?

Then we don't have to bother you.

Gruessle



291439
mvandam
Re: Using $_SESSION variables
  • 2003/10/5 9:12

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


OK, I see now what you're doing with the 404. Perhaps all you need to add to the error404.php page is the statement

session_start();

??

Also you may have problems if you defined a 'custom' session name in the XOOPS preferences. If so, you will need to account for that in the 404 php page as well.

That's all I can think of right now...

Good luck



291440
gruessle
Tutorials
  • 2003/10/5 8:48

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


I have following error:

Line :429
Char :24
Error :Syntax error
Code :0
URL :http://www.vmclinks.com/x/modules/tutorials/submit.php?op=addTutorial&createdir=0&cid=2

I did

2. chmod modules/tutorials, modules/tutorials/cache and modules/tutorials/images to 777

and 666 for config.php

BUT I can't figure out where to change #4
4. Activate in the preference of XOOPS "Allow HTML tags in user comments?"

Do you have a min to help me?







Login

Who's Online

176 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 176


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