1
jpco_122122
bug on XOOPS!

I found this a little bug on XOOPS, there is no browse button for uploading an images or avatar.Also in mY aLbum module same thing happen. Can anyone help me to try to fix this?

2
Herko
Re: bug on XOOPS!
  • 2004/11/18 8:08

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


You'll have to enable the 'browse' button for avatars in the system admin -> general settings -> user preferences page.

And in system admin -> image manager you will have to create image categories that can be used to upload inmages to.

Herko

3
jpco_122122
Re: bug on XOOPS!

Thank you for the help. I have a question, I had Home, News, Forum, Calendar, and Downloads on my Menu, I want to add a text "CrimeMapping" and upon pressing it it will went to the linkhttp://im-server/muntinlupa/ how can I do this?

4
Herko
Re: bug on XOOPS!
  • 2004/11/18 10:22

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Hmm.. that requires a bit more work, because for this you have to edit the main menu block template.

1. Go to system admin -> templates
2. Clone the default template set, and give the clone a good name
3. Go to system module templates, blocks (scroll down), main menu block template, open it for editing.
4. After <!-- end module menu loop -->, add your link:
<class="menuMain" href="http://im-server/muntinlupa/">CrimeMapping</a>

5. this code is followed by </td>. Now save your changes and see your work

Herko

5
jpco_122122
Re: bug on XOOPS!

Thanks for the great help Herko. I had one last question, In XOOPS menu I had "Downloads", it does not have a browse button it only contain a link, How can I edit it to have a browse button?

6
jpco_122122
Re: bug on XOOPS!

I had already add this to the main menu by editing menu.html in edit templates: <a class="menuMain" href="http://im-server/muntinlupa/">
CrimeMapping</a>

How can I add another link "CrimeMapping Administration" only in the Administration menu. If the administrator had logged in the link "CrimeMapping will be replaced by a link called "CrimeMapping Administration" in the menu and have a link tohttp://frodelas/index_view.html .

7
irmtfan
Re: bug on XOOPS!
  • 2004/11/24 6:00

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


use this i hope it works for u:
<{if $xoops_isadmin}>
        <
class="menuMain" href="http://frodelas/index_view.html">CrimeMapping Administration</a>
      <{/if}>

btw it is not a module so what do u mean about admin ??

8
jpco_122122
Re: bug on XOOPS!

I had already add this to the main menu by editing menu.html in edit templates: <a class="menuMain" href="http://im-server/muntinlupa/">
CrimeMapping</a> and I am successful with this one so if anonymous user can click this they can view the content.

Now if an administrator had login the link "CrimeMapping" will be replaced by "CrimeMapping Administration" -->http://frodelas/index_view.html . How can I do this? Which file or templates should I edit?

9
irmtfan
Re: bug on XOOPS!
  • 2004/11/24 6:32

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


huum
did u see my last post at all? (#7)
read and try it first before double posting

10
jpco_122122
Re: bug on XOOPS!

Yes, I had already seen it, what files shall I edit? where do I paste that script?

Login

Who's Online

197 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 197


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