21
jpco_122122
Re: bug on XOOPS!

yes, it will not to show the URL or the address bar for security purposes. I put a little bit of javascript like
'tollbar=no, menu=no' but still unsuccessful.

22
jpco_122122
Re: bug on XOOPS!

I've been using this script in the mainmenu.html and I had a problem when an Administrator had logged in no problem the link/window will popup but if an anonymous user click the link CrimeMapping it didn't popup it proceed on the same page.

What can I do to fix this?


<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->


<{if !$xoops_isadmin}><a class="menuMain"> <a href="http://im-server/muntinlupa/index_view.htm">
target="_self" onClick="MyWindow=window.open('http://imserver/muntinlupa/','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1024,height=768'); return false;">
CrimeMapping</a><{/if}>


<{if $xoops_isadmin}><a class="menuMain"> <a href="http://im-server/muntinlupa/"
target="_self" onClick="MyWindow=window.open('http://imserver/muntinlupa/','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1024,height=768'); return false;"> CrimeMapping Administration</a><{/if}>




</td>
</tr>
</table>

23
jpco_122122
Re: bug on XOOPS!

I put the 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 <!-- end module menu loop -->, add your link:

<{if !$xoops_isadmin}>
<a class="menuMain" href="http://im-server/muntinlupa/">CrimeMapping</a>
<{/if}>
<{if $xoops_isadmin}>
<a class="menuMain" href="http://frodelas/index_view.html">CrimeMapping Administration</a>
<{/if}>

My question is I had created another group called PCP1 & PCP2 and 2 links in my menu namely "PCP1 Administration & PCP2 Administration, how can I make PCP1 access only the page "PCP1 Administration" & PCP2 can access only "PCP2 Administration" page?

Please help me...

Login

Who's Online

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


Members: 0


Guests: 113


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