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

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


originally post Herko:
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 , add your link:
<{if $xoops_isadmin}>
        <
class="menuMain" href="http://frodelas/index_view.html">CrimeMapping Administrationa>
      <{/if}>

12
jpco_122122
Re: bug on XOOPS!

CrimeMapping


<{if $xoops_isadmin}>
CrimeMapping Administration
<{/if}>

I put this in menu.html in templates. The problem is when an administrator had login it has 2 link one is "CrimeMapping" and the second is "CrimeMapping Administration". How can I replace the "CrimeMapping" with "CrimeMapping Administration" link upon administrator login so it won't produce 2 links.

13
jpco_122122
Re: bug on XOOPS!

<{if $xoops_isadmin}>
CrimeMapping Administration
<{/if}>


I put this all alone, yes only the administrator have the access on it, but the anonymous user cannot view anymore the link because the first link is now missing.

14
Herko
Re: bug on XOOPS!
  • 2004/11/24 7:09

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


<{if !$xoops_isadmin}>CrimeMapping<{/if}>

<{if $xoops_isadmin}>
CrimeMapping Administration
<{/if}>

15
irmtfan
Re: bug on XOOPS!
  • 2004/11/24 7:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


u must put that link up to this one:
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 , add your link:
<{if !$xoops_isadmin}>
<
class="menuMain" href="http://im-server/muntinlupa/">CrimeMappinga>
<{/if}>
<{if 
$xoops_isadmin}>
        <
class="menuMain" href="http://frodelas/index_view.html">CrimeMapping Administrationa>
      <{/if}>

Herko you'll be quicker that me

16
jpco_122122
Re: bug on XOOPS!

I add a user group Department Head, they all have access except to system admin rights, module admin rights. But they cannot view the link "CrimeMapping Administration" only the "CrimeMapping" link. How can I do this?

17
jpco_122122
Re: bug on XOOPS!

I want also the link http://im-server/muntinlupa/ will not be having the URL or address bar. How can I edit it?

18
irmtfan
Re: bug on XOOPS!
  • 2004/11/24 7:57

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
I add a user group Department Head, they all have access except to system admin rights, module admin rights. But they cannot view the link "CrimeMapping Administration" only the "CrimeMapping" link. How can I do this?

u must get access to at least one option in system admin rights
i have 2 suggestions for u
1- access to banners and disable banners at general preferences this is safe
2- access to find users also be safe and that group cant edit users

Quote:
I want also the link http://im-server/muntinlupa/ will not be having the URL or address bar. How can I edit it?

do u mean this instead of ussing exact url?
<{$xoops_url}>
if you define in mainfile.php at this url you can replace this

19
jpco_122122
Re: bug on XOOPS!

What's the relationship of the banner to the link "CrimeMapping"? but it works..


I want also upon the user had click the "CrimeMapping" link it will show the page but it will not show the URL bar or address bar where we type for example http://www.yahoo.com. How can I edit it?

20
irmtfan
Re: bug on XOOPS!
  • 2004/11/24 8:19

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


dont show URL?
so show what? i dont know how it can be

Login

Who's Online

310 user(s) are online (255 user(s) are browsing Support Forums)


Members: 0


Guests: 310


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits