Restrict Collaboration tab page view at project definition level only
Hi,
I have a requirement where the cProjects user should be able to view the Collaboration tab page at project definition level only & not at the phase, checklist, checklist item or task level. This is to prevent the user from assigning/creating collaborations at a level other than the project definition.
Is there a way out to get this setting done & how?
Regards
Deepak
My proposal is that you modify the logic in
CL_DPR_BSP_S_PRO_TYPE
Method SHOW_COLLABORATIONS
a small I condition here can control the tab view hide/unhide feature.
or modify the BSP page and take out the complete call
in
phaDetail.bsp
tskDetail.bsp
etc.
Message was edited by: Björn Kettner
Similar Messages
-
Partner Function in Project Definition Level
Hi All
I understand that it is possible to determine what are the partner functions available to the project based on the value indicated in the partner determination field of the project. The list of partner functions to be available are maintained in SPRO.
However, is it possible to configure the system in such a way that when a project is created the following also happens:
1. List of partner functions and users are created automatically at the project definition level according to the project type used.
Appreciate if anybody can advice on this.
Thanks and regards
ThomasHi,
Follow the below thread for 'PartnDetProc' config:
https://scn.sap.com/thread/834152
And after that, you can select your Project Type & PartnDetProc with in Project Profile.
OPSA->Project Profile->Control Tab->Basic Data Section->Project Type
OPSA->Project Profile->Control Tab->Basic Data Section->PartnDetProc
And as Amit said, Substitution Rule can be also a good option.
Regards
Shishir -
Disable "Delete" button only at project definition level
Dear Gurus,
Is anybody have any idea regarding how to disable "delete" button at project definition level (and remain enabled for phases, tasks,...)?
I tried it through Web dynpro application, but it got disabled for entire hierarchy.
Regards,
Ravindra>
Niranjan Dandekar wrote:
> Hi Ravi,
> I dont think its possible.
> Why dont you try User Status with Delete forbidden
>
> if you dont want to use complex one, this status can be very simple like
>
Proj execution
>
> As it is After Release of Project, you wont be able to delete Project.
>
> Niranjan
> Let me know if it helps!!!
Hi Niranjan,
Thanks for your reply,but i want to disable delete option at project defination level not at phase & task level when status is Transfred set to assign
Is there any idea?
Regards
Ravi -
Creating a tab page in marketing project
Hello there,
We want to create a custom tab page in marketing campaign page.
Is there step by step instruction to do it?
Thanks in advanceHi Suvarna,
Why do u have to create a separate login page? You can assign all your worksets to a role and assign it to a user so that on logging in the user will be able to view the worksets. Make sure to make entry point of role & worksets to Yes or if you want your worksets alone to be visible then you can make entry point of role as No.
For capturing portal login id in WD see this <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a770132b-0901-0010-5a88-b228ccc7b7b6">code sample</a>.
Hope this helps.
Regards,
Pooja. -
Add fields into a new tab page
Hi!
I am in cProject 4.0 and there is a functionality to add new tab pages with fields in cProject components. The IMG activity is Collaboration Projects -> Global Enhancements to Project Elements -> Show Additional Tab Page in cProjects.
The help for this activity specified that I only need customized it to works as well. It does not specified if I have to develop some extra BSP or webdynpro to work. I tried to put a new field in a new tab page in Project Definition, but only the new tab was showed. The new tab is empty.
I know that in cProject 3.0 it was necessary a BSP development. Is it necessary develop a BSP in 4.0 too?
Regards,
Rafael SoaresHi Vivek, how are you ?
I hope that you can clarify my doubts !
I created my own Web Dynpro Aplication and assigned it in the customizing from cProjects.
My aplication use fields the others tables (Z) and fields from table DPR_PROJECT (enhance CI_DPR_PROJECT). So, the logic to read and write my Z tables is working, but my problem is How Can I update the fields from CI_DPR_PROJECT structure ?
I imagine that I need to read the container from UI standard, but until the moment I can't resgate these values. In customizing is that if I use the fields from CI_DPR_PROJECT the update will be automatically.
Thank you very much,
Milena -
Set Tab Page property - Label property dynamically
Hi All,
I have a Tab page canvas.
My 1st tab canvas Label is "Projects".
If i entered 2 record means i need to change the Tab page label as "Projects 2".
IN which trigger , i will write a coding for that?
If i am in the Tabbed canvas , it is working .If i come to Main canvas the Tab canvas label is clearing.
Can u tell me suggestion for that.You could go with a combination of a Calculated item of type "Summary" and another calculated item of type "Formula":
Create a calculated item :BLOCK.IT_COUNT of type "summary" which counts one of the NOT NULL-items in your data-block.
Create a Program Unit liek that:
FUNCTION FK_CHANGE_COUNT
RETURN NUMBER IS
BEGIN
SET_TAB_PAGE_PROPERTY('YOUR_TAB_PAGE', LABEL, 'The Text' || :BLOCK.IT_COUNT);
RETURN 1;
END;Create a second calculated item of type "Formula", in the formula enter FK_CHANGE_COUNT.
Now, everytime the count of the block changes, the "dummy" function will be called to calculate whatever, and the function sets the Tab-Label to the desired value. -
How to add new tab page to equiment ?
Dear Guru's
i created the new equipement category K by coping the standard S.when i am creating the equipment while using equipment category S i am getting tab pages General,Location,organization,structure,Sales and Distribution.
But while using the equipment category K for creating the new equipment i am getting the tab pages General,Location,organization,structure 4 only.
why the 5 one Sales and Distribution is not coming ?
how to add new tab page like Partners ?In that fields like sold to party,ship to party ?
Could anybody help me in this regards
Thank you
suribabuIn Equipment category creation config in IMG, check for the View Profile for both the equipment category S & K.
For adding new tab, follow the IMG path.
PM & CS => Master data => Technical Objects => General Data => Set view profiles for Technical objects
Select the View profile which has been assigned to your equipment category & click Activity & layouts of views. In that screen, under seq.no, select the Partners.
Do the same for other requried tabs based on your requirement.
If there are same profile assigned to both equipment category, go to equipment creation creation => Edit => view selection. There you will find the required tabs. -
Stop all sounds or unload SWFs in Spry Tabbed Pages
Hello
I am using the Dreamweaver Spry Tabbed pages for a project.
On several of the tabbed pages I have flash content running in iFrames.
If the user does not stop the movie before clicking on another tab the sound will continue and the movie will keep running in the background.
How do I script the tabbed panel code to unload the swf content before going to another tab? And to reload the content when returning to pages with swf content again?
Thank you on beforehand.
ggaardeHi Sudarshan
Please go to:
http://gggraphic.com/t-mobile/tab_flash_test/
Tab 1 shows a flv by embedding the code right in the HTML
Tab 2 just shows text: Content 2
Tab 3 shows a flv imported from another HTML page in a iFrame
None of the movies are set to autoplay - you have to click the arrow to start them.
This is what I found:
On the Mac:
In Safari, Chrome and Firefox:
When playing the movie in Tab 1 (embedded flash object) > start the movie > then click tab 2 = the movie readily stops as desired, and loads the text on tab 2.
When playing the movie in Tab 3 (iFrame version) > start the movie > then click tab 2 = the movie keeps playing, and the sound will continue.
On the PC:
In IE 8 (which is my main audience) It makes no difference if the flash content is embedded or iFramed in = when clicking tab 2 the movies continues playback no matter which one (tab 1 or tab 3) is playing.
Chrome: (takes longer to load) Same as on the Mac = the embedded verion provides the desired function.
Firefox: (takes longer to load) Surprise! It does not matter is the Flash is embedded or iFramed in = When tab 2 is clicked the playback of either of the Flash versions stop.
What I would like:
Ideally I would love a fix for IE 8 that would allow stop playback of the iFrame version, since it offers many advantages over the embedded version.
Can you help me?
Thanks on beforehand.
ggaarde
The automatically generated standard Spry Assets are unchanged from your default.
This is my code for the tabbed system:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="../../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script src="../../Scripts/swfobject_modified.js" type="text/javascript"></script>
<link href="../../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
<li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
<li class="TabbedPanelsTab" tabindex="0">Tab 3</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">Flash Content - flash object embedded in code<br>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="360">
<param name="movie" value="TreeRemoval.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="../../Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="TreeRemoval.swf" width="640" height="360">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="../../Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div class="TabbedPanelsContent">Content 2</div>
<div class="TabbedPanelsContent">Content 3 - Flash content in iFrame <br>
<iframe src="http://gggraphic.com/t-mobile/tab_flash_test/iFrame_source.html " style="border:0px #FFFFFF none;" name="myiFrame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="360px" width="640px"></iframe>
</div>
</div>
</div>
<script type="text/javascript">
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
swfobject.registerObject("FlashID");
</script>
</body>
</html> -
Restrict Access To Page Not Working with Different Auth Levels
I have just started playing with the idea of using different auth levels to allow different users access to certain pages on my site.
Within my SQL database I have a authlevel table consisting of 3 possible levels (guest, user, admin)
I am using the Dreamweaver "Log in user" to log in users based on username, pass, and auth level and "Restrict access to page" set to allow user levels 'user' and 'admin'.
The problem, however, occurs when trying to log in. No matter what auth level I try I am redirected to my page where users should be redirected if they are not allowed to enter that page.
I have included below my code from my login page and the page where all authorized users (user and admin) should be directed upon entering the restricted area.
Login Page:
<?php require_once('../Connections/hondovfd.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?>
<?php
// *** Validate request to login to this site.
if (!isset($_SESSION)) {
session_start();
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
$_SESSION['PrevUrl'] = $_GET['accesscheck'];
if (isset($_POST['username'])) {
$loginUsername=$_POST['username'];
$password=$_POST['password'];
$MM_fldUserAuthorization = "authlevel";
$MM_redirectLoginSuccess = "/membersonly/membersonly.php";
$MM_redirectLoginFailed = "/membersonly/loginfailed.php";
$MM_redirecttoReferrer = false;
mysql_select_db($database_hondovfd, $hondovfd);
$LoginRS__query=sprintf("SELECT username, password, authlevel FROM login WHERE username=%s AND password=%s",
GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
$LoginRS = mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = mysql_result($LoginRS,0,'authlevel');
//declare two session variables and assign them
$_SESSION['MM_Username'] = $loginUsername;
$_SESSION['MM_UserGroup'] = $loginStrGroup;
if (isset($_SESSION['PrevUrl']) && false) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
header("Location: " . $MM_redirectLoginSuccess );
else {
header("Location: ". $MM_redirectLoginFailed );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Log In</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="../stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/index.php">Home</a></li>
<li><a href="/support.php">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/people.php">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/medical.php">Medical</a></li>
<li><a href="/apparatus.php">Apparatus</a></li>
<li><a href="/training.php">Training</a></li>
<li><a href="/volunteer.php">Volunteer</a></li>
<li><a href="/statistics.php">Statistics</a></li>
<li><a href="/patchtrading.php">Patch Trading</a></li>
</ul>
</li>
<li><a href="/album.php">Photo Gallery</a></li>
<li><a href="/calendar.php">Calendar</a></li>
<li><a href="/news.php">Blog/News</a></li>
<li><a href="/links.php">Links</a></li>
<li><a href="/contact.php">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
<p>Call Statistics for <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?> as of <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%"><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
<tr>
<td>Fire Calls</td>
<td><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Members Only Login</td>
</tr>
<tr>
<td><form ACTION="<?php echo $loginFormAction; ?>" id="login" name="login" method="POST">
<table width="40%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%">Username:</td>
<td width="69%"><input name="username" type="text" /></td>
</tr>
<tr>
<td>Password</td>
<td><input name="password" type="password" /></td>
</tr>
</table>
<input name="Submit" type="submit" />
</form></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
<?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
</body>
<!-- InstanceEnd --></html>
Other Page:
<?php
if (!isset($_SESSION)) {
session_start();
$MM_authorizedUsers = "user,admin";
$MM_donotCheckaccess = "false";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
if (($strUsers == "") && false) {
$isValid = true;
return $isValid;
$MM_restrictGoTo = "/membersonly/loginfailed.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
$MM_referrer .= "?" . $QUERY_STRING;
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Members Only Area</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="../stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/index.php">Home</a></li>
<li><a href="/support.php">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/people.php">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/medical.php">Medical</a></li>
<li><a href="/apparatus.php">Apparatus</a></li>
<li><a href="/training.php">Training</a></li>
<li><a href="/volunteer.php">Volunteer</a></li>
<li><a href="/statistics.php">Statistics</a></li>
<li><a href="/patchtrading.php">Patch Trading</a></li>
</ul>
</li>
<li><a href="/album.php">Photo Gallery</a></li>
<li><a href="/calendar.php">Calendar</a></li>
<li><a href="/news.php">Blog/News</a></li>
<li><a href="/links.php">Links</a></li>
<li><a href="/contact.php">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
<p>Call Statistics for <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?> as of <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%"><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
<tr>
<td>Fire Calls</td>
<td><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Members Only Area</td>
</tr>
<tr>
<td><p><a href="/membersonly/documents.php">Useful Documents</a></p>
<p><a href="/membersonly/IncidentCount01_08.pdf">Current Call Statistics</a> as of 9/3/09</p>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script><!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
<?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
</body>
<!-- InstanceEnd --></html>you don't need all that bloat. set a session during login of some kind of uniquely identifying id. i.e.
$_SESSION['id'] = $row_rs['id'];
then on the pages you need to protect, check it like this....
<?php
session_start();
if (!(isset($_SESSION['id']) && $_SESSION['id'] != '')) {
die(header("Location: http://www.notinprotectedareas.com")); }
?>
you can use an include file i.e.
<?php require_once('login_check.php'); ?>
where file is name login_check.php to make your auth controls clean on your protected pages. -
Global error page for portal project
Hi
This is regarding weblogic 8.1.
We have a portal project which contains several portlets. For handling exceptions
in a page flow we have a global error page at the project root level and each
portlet redirects to this error page /error.jsp in case of any errors.
When the user is redirected to this error page the page is displayed in the portlet
context. How can we make this error page to take up the whole screen and display
it outside of the portlet context so that all other links within the portal (books
and pages) are not displayed to the user.
In all cases, the redirection to the error page occurs from a page flow.
Thanks in advance,
SameerSameer,
Please post this question to the weblogic.developer.interest.portal
newsgroup.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sameer Dalal" <[email protected]> wrote in message
news:3f4bd37f$[email protected]..
>
Hi
This is regarding weblogic 8.1.
We have a portal project which contains several portlets. For handlingexceptions
in a page flow we have a global error page at the project root level andeach
portlet redirects to this error page /error.jsp in case of any errors.
When the user is redirected to this error page the page is displayed inthe portlet
context. How can we make this error page to take up the whole screen anddisplay
it outside of the portlet context so that all other links within theportal (books
and pages) are not displayed to the user.
In all cases, the redirection to the error page occurs from a page flow.
Thanks in advance,
Sameer -
Data Transfer Not Up-To-Date and To Be Archived at Project definition ?
Hi All,
I want to know about the statuses "Data Transfer Not Up-To-Date and To Be Archived at Project definition level?" In documentation Flagged for Transfer and To Assign are only mentioned.
Thanks and Regards,
Arti.Hello Arti,
the system sets this status when there is a problem with the replication. For example, in the customizing of your project type (accounting area) you have defined the type of transfer as 'Automatic as of release of project'.
Now, for example, you have a project that has status 'Created - Transferred - Data Transfer Not Up-To-Date - Assigned', this means that the replication is not yet complete because according to the customizing setting you need to release the project first.
Hope this helps!
Best regards,
Silvia -
Hi!
I have a canvas wich consist of four tab pages. Each tab page has a datablock. When the user clicks a tab, the cursor should be set in the datablock of the tab page. Any suggestions how to implement this?
My problem is that I have not found a function that returns the active(the one that is visible to the user) tab page.
Regards,
MortenI think that you can use When-Tab-Page-Changed trigger on form level. In this trigger you can test :SYSTEM.TAB_NEW_PAGE variable.
IF :SYSTEM.TAB_NEW_PAGE = ... THEN
GO_BLOCK(...);
END IF; -
Finish date cannot be set at project definiton level
Dear Experts,
On creating a project from a simulation, we need to copy some date constraints from the simulation into the new project. One of this is the finish constraint at project definition level.
While we got all of the other dates to be copied correctly, the finish constraint is not getting correctly populated by using DPR_ATTRIBUTES exit.
Do you have any other ideas on why is this happening for this specific attribute or how can we fill it in?
Thanks in advance!
Neil
Edit: It seems like the BADI is not working fine for the Project Definition attributes. Has any of you experienced the same issue?
Edited by: Neil Billqvist on Apr 13, 2011 9:45 AMSolved by applying SAP note
-
Implementing Badi for additional tab page & creating views in cProjects 3.1
Hi,
I am implementing DPR_ADD_SAP_TAB_I for adding new tab page in Cprojects 3.1.
Please tell me whether we have to create any veiw?
if it is please tell me the procedure & stepsHi...
Implement the BAdI DPR_ADD_SAP_TAB_I
and write following code in its method GET_ADD_TAB_DATA
method IF_EX_DPR_ADD_SAP_TAB_I~GET_ADD_TAB_DATA .
field-symbols: <tab_data> type DPR_TS_SAP_TAB_CTRL.
data: lt_tab_data type DPR_TT_SAP_TAB_CTRL.
constants: lc_pre_ctrl type string value 'CTRL_TAB_',
lc_suff_ctrl type string value '.DO'.
lt_tab_data = ct_comp_ctrl.
loop at lt_tab_data assigning <tab_data>.
case <tab_data>-obj_type.
project definition
when CL_DPR_CO=>SC_OT_PROJECT.
<tab_data>-tab_title = 'otr(zotr_cust_txt/proj_txt)'.
concatenate lc_pre_ctrl CL_DPR_CO=>SC_OT_PROJECT lc_suff_ctrl
into <tab_data>-controller.
endcase.
endloop.
ct_comp_ctrl = lt_tab_data.
EV_BSP_APPL = 'CST_ADD'.
endmethod.
Regards,
Reema. -
How to populate WBS element and Project definition in Additional Tab
Hi,
I have a 2 requirements
1) we need to populate WBS element and Project definition of an order in PM
IW 32 trasnaction (Additional data tab).
2)Also i need to program settlement rules in CJ02 for WBS elements .
How do i approach ? when i do manually it is taking the values in IW 32 when the status is released.
So i think first we need to chnage the Status from Created to released and then start working on step 1 and Step 2
Kindly suggest.
Thanks,
Pradeep.Problem one solved ......
Basically we need to put the status of WBS elememnts and then write a BDC for additional data tab.
Looking into issue 2......
Maybe you are looking for
-
First of all, I have Windows XP/HE/SP3 and my main browser is IE8, tho i also have Google and did have, FF V#21. And while using the FF browser, was alerted that my current version was outdated, etc, even tho I just installed V#21 only 1 week ago, bu
-
Our household now has 2 iPhone 4S's, an iPhone 5, a first generation iPad, and a new iPad mini. The wires are driving me nuts. Is there anything out there that will allow me to charge all of these devices in one place?
-
SAP MM Purchase Order custom field pulling through to FI
Hi I have no idea where to start. I need to create a custom field in the Purchase order which has to pull through to FI. I've created an Account Assignment category I - Insurance and need to have a field on the Purchase order where the users can fi
-
How to show the internal batch number for order in make to order scenario
Hi !!! Gurus!! I am working on make to order scenario .For delivery of order may I see the batch no.of esch order. How system will get the internal number batch. I have config. batch management. What should be the next process. Regards, Nitin
-
Transpose Of The Internal Table
I have The Data In ITAB (Internal Table ) I want To Transpose the Row To Column. Pls Any one Help me Thanks , Vijayakanth.K Moderator Message: Very generic question. Similar questions have been discussed in the forums. Try to implement the solutions