Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: bug on XOOPS!
by jpco_122122 on 2005/1/28 6:08:29

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...
Re: bug on XOOPS!
by jpco_122122 on 2004/12/9 13:18:54

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>
Re: bug on XOOPS!
by jpco_122122 on 2004/11/24 9:01:30

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.
Re: bug on XOOPS!
by irmtfan on 2004/11/24 8:19:21

dont show URL?
so show what? i dont know how it can be
Re: bug on XOOPS!
by jpco_122122 on 2004/11/24 8:10:23

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?

Who's Online

136 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits