Dynamic category list link to product list page not working
I have a dynamic catagory list that is populated from a mySQL db
<?php do { ?>
<li><a href="product-list.php?CatID=<?php echo $row_Recordset1['CatID']; ?>"><?php echo $row_Recordset1['CatName']; ?></a></li>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
im not sure if the aboive is correct?
i need to link it to the product page and just dispaly all the products in that catagory
the product-list php code is
$var1_Recordset1 = "-1";
if (isset($_GET['CatID'])) {
$var1_Recordset1 = $_GET['CatID'];
mysql_select_db($database_lotties, $lotties);
$query_Recordset1 = sprintf("SELECT * FROM lottieProducts, lottieCat WHERE lottieCat.CatID = lottieProducts.CatID AND lottieCat.CatID = %s", GetSQLValueString($var1_Recordset1, "int"));
$Recordset1 = mysql_query($query_Recordset1, $lotties) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
thanks in advance
done it
$varCat_rsProductData = "0";
if (isset($_GET["cat"])) {
$varCat_rsProductData = $_GET["cat"];
mysql_select_db($database_lotties, $lotties);
$query_rsProductData = sprintf("SELECT * FROM lottieProducts WHERE lottieProducts.CatID = %s", GetSQLValueString($varCat_rsProductData, "int"));
$rsProductData = mysql_query($query_rsProductData, $lotties) or die(mysql_error());
$row_rsProductData = mysql_fetch_assoc($rsProductData);
$totalRows_rsProductData = mysql_num_rows($rsProductData);
link from cat list
<a href="product-list.php?cat=<?php echo $row_Recordset1['CatID']; ?>"><?php echo $row_Recordset1['CatName']; ?></a>
Similar Messages
-
Support link in Portal logon page not working
Hi All,
We are using the ´support´ link on the logon page of our Portal. When we click the support link, the system asks for UserId and e-mail adress. When we fill this in correctly, the system responds by displaying "New password sent to e-mail adress".
However, the password is not reset or anything and we still have to logon with the original old password. Where can this problem be rooted and where do I start to look for the cause of this.
We are using CUA and this is set on ECC 6.0 production system.
Message was edited by:
Jan LarosHai Laros,
I have gone through this issue...
I think your Portal is EP 7.0 SP12..
For logon page weare using two jar files umelogonbase.jar and com.sap.portal.runtime.logon_api.jar
There is some change in code of umelogonbase.jar file in SP12
com.sap.security.core.sapmimp.logon.logonbean method getLogonHelp
In SP12
public boolean getLogonHelp()
boolean rc = mySAPProperties.getBoolean("ume.logon.logon_help", true);
if(!rc)
rc = checkPermission("LOGON_HELP");
return rc;
private static boolean checkPermission(String permissionName)
String METHOD = "checkPermission";
boolean hasPermission = false;
if(trace.bePath())
trace.entering("checkPermission", new Object[] {
permissionName
try
boolean flag1;
try
IUser user = UMFactory.getAuthenticator().getLoggedInUser();
if(user == null)
user = AnonymousUser.getInstance().getAnonymousUser();
if(trace.beDebug())
String userName = user != null ? user.getName() : "no user";
trace.debugT("checkPermission", "The current user is [{0}].", new Object[] );
if(user != null)
LogonApplicationPermission permission = new LogonApplicationPermission(permissionName);
hasPermission = user.hasPermission(permission);
} else
trace.errorT("checkPermission", "The current user is null.");
boolean flag = hasPermission;
return flag;
catch(UMException umex)
flag1 = false;
return flag1;
finally
if(trace.bePath())
trace.exiting("checkPermission", new Boolean(hasPermission));
In SP10 code was
public boolean getLogonHelp()
return mySAPProperties.getBoolean("ume.logon.logon_help", true);
In your jsp page
if ( logonBean.getLogonHelp() ){
//code
logonBean.getLogonHelp() retuning true because of additional <b>LogonApplicationPermission</b> checking....
I think you got my point....
With reagrds
Eldose
Eldose -
Link to second portlet page not working.
I am trying the sample jsp portlet "multipage" that comes with the PDK. When I click the link the page refreshes and displays the new URL, but does nor display the second page's(second.jsp) content. I'm am using Oracle Portal version 3.0.7 and have heard that this is a bug. Any suggestions? The code I'm using is below.
<%@ page import="oracle.portal.provider.v1.*,oracle.portal.provider.v1.http.*" session="false" %>
<center>
Hello, this is the first page<p>
<a href="<%=HttpPortletRendererUtil.parameterizeLink(request, PortletRendererUtil.PAGE_LINK, HttpPortletRendererUtil.portletParameter(request, "next_page") + "=second.jsp") %">>second page</a>
</center>
nullSue,
I've got the current PDK(JPDK1.3) and second.jsp is in the same directory.
When I first open the portlet I get the following URL: http://mako.kcp.com/servlet/page?_dad=portal&_schema=PORTAL30&_type=portlet&_title=Multipage&_providerid=674344&_portletid=3&_mode=1
When I click the link the page refreshed, but the content for first.jsp still shows, but with the following URL: http://mako.kcp.com/servlet/page?674344.3.null.next_page=second.jsp&_dad=portal&_schema=PORTAL30&_type=portlet&_providerid=674344&_portletid=3&_referencepath=&_backurl=&_mode=1&_ti tle=Multipage
Any suggestions ffrom this info?
Thanks for your help,
Patrick -
Why is my link to My Albums page not working?
Earlier today I created a new page using the template "My Albums". I dragged each of my photo pages into the album to make it more organized. I redirected each of my links to the "My Albums" page. However, once it was posted onto the web using Mobile Me, the page does not exist. Is there an issue with directing links to a My Albums page, or did I do something wrong?
Here's my site:
http://electrica.la
ThanksI very much doubt that using CNAME for your domain name will solve issues that you have publishing your site to MobileMe. If you are having problems now, then this won't go away just because you start using CNAME forwarding - you are still publishing your site to MobileMe and not anywhere else, so they will all still be there whether you use CNAME forwarding or not.
1. To set up CNAME forwarding, enter your domain name into the personal domain name settings under your MobileMe account.
2. Go and log into your domain name registrar's site where you registered your domain name and then go to the DNS section and set up CNAME forwarding for your domain name.
You would normally need to forward both the www and the @ to web.me.com. The @ represents your domain name as is, (so http://domain.com) and the www represents your sub-domain (so http://www.domain.com).
Set them up so it should look something like this:
www CNAME web.me.com
@ CNAME web.me.com
This should then work and when you enter your url using your domain name, your site should come up. -
Links to site & external pages not working
I've spent all day working around the limitations of Muse. I created a simple site for my photography biz today with a slideshow home page, a contact page and two external pages all linked via a menu created from scratch using text and hyperlinks, not using any widgets. I intiially was having problems with the links defined on the master page as I was linking the text object as opposed to the actual text. Then after realizing I couldn't antively create a contact form w/o using Business catalyst I created one via Wufoo. The good part about that it that Wufoo works with MailChimp and Highrise. The bad part is that after pasting the html code my main menu is completely broken with no navigation whatsoever.
I'm using Muse 7.0.1 and Firefox 11 on a Mac running OSX 10.6.7.
Honestly, this is very subpar even for beta software. I think I'm just going to bite the bullet and take the time to learn Dreamweaver. The site URL is www.imagemakersny.com/photo.It turns out the issue and fix is pretty simple. On your master page, there is a rectangle with only top and bottom stroke, and no fill, that is used to create the lines above and below the links. This rectangle is currently 'above' the links, and so catches the clicks when they are attempted. To fix this, open the master page, and select the rectangle. Then click on the object menu, and select "send to back". Re-publish/export, and everything should work. Thanks for helping to improve Muse!
-
JSF : Dynamic link generated by commandLink does not work
In the following code, without <f:verbatim>, it is giving "Duplicate ID in the view" Exception. But with <f:verbatim>, the links generated by commandLink does not work. Please help me to solve this problem.
Thank you in advance.
Regards
Abdul
<%-- jsf:pagecode language="java" location="/src/pagecode/eservice/DisplayMoreEServices.java" --%><%-- /jsf:pagecode --%>
<%@ include file="/includes/g_common_include.jsp" %>
<%@page import="java.util.Map"%>
<%@page import="bh.com.cio.egov.EGOVConstants"%>
<%@page import="javax.portlet.PortletSession"%>
<%@page language="java"%>
<%
PortletSession ses = renderRequest.getPortletSession();
Map eServiceCatMap = (Map) ses.getAttribute(EGOVConstants.REQ_ESERVICE_LIST_BY_CAT);
renderRequest.setAttribute(EGOVConstants.REQ_ESERVICE_LIST_BY_CAT,eServiceCatMap);
%>
<%@page import="bh.com.cio.egov.vo.EServiceVO"%>
<f:view>
<script type="text/javascript">
function blinkThis(id, color, timeout)
var idElem = document.getElementById(id);
if(idElem)
idElem.getElementsByTagName('span')[0].style.color = color;
setTimeout('switchColor(\'' + id + '\', \'#8A7C5B\', ' + timeout + ')', timeout);
function switchColor(id, color, timeout)
var idElem = document.getElementById(id);
if(idElem)
idElem.getElementsByTagName('span')[0].style.color = color;
setTimeout('blinkThis(\'' + id + '\', \'#FF3030\', ' + timeout + ')', timeout);
</script>
<f:loadBundle basename="nls.egovresource" var="nls"/>
<hx:scriptCollector id="scriptCollector1">
<h:form id="form2">
<f:verbatim>
<div class="header-top">
<h:outputText value='#{nls["eservice_label_title"]}'></h:outputText>
</div>
<c:forEach items="${requestScope.REQ_ESERVICE_LIST_BY_CAT}" var="categoryVOs" varStatus="catIndex">
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td class="gray1" height="30px">
<c:out value="${categoryVOs.value.category.categoryName}" escapeXml="false"></c:out>
</td>
</tr>
<tr>
<td width="2">
<div align="right">
<img src='<%= imageRootDir + "dot.png"%>' width="4" height="1" />
</div>
</td>
<td width="100%" >
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<c:forEach items="${categoryVOs.value.eservice}" var="service" varStatus="serviceIndex">
<%
EServiceVO serviceObj = (EServiceVO) pageContext.getAttribute("service");
String action = null;
int serviceId= -1;
if(serviceObj!=null)
action = serviceObj.getServiceAction();
serviceId = serviceObj.getServiceId();
if(action!=null && action.startsWith("$"))
%>
<c:set var="jstl_to_jsf_serviceName" value="${service.serviceName}" scope="request"/>
<c:set var="jstl_to_jsf_url_en" value="${service.serviceAction}" scope="request"/>
<c:set var="jstl_to_jsf_url_ar" value="${service.serviceActionAr}" scope="request"/>
<tr>
<td height="17">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="95%" id="extMoreCell_${catIndex.index}_${serviceIndex.index}">
<img src='<%= imageRootDir +"arrow1.png"%>' width="15" height="16" border="0"/>
<h:commandLink styleClass="links menu-txt" action="#{pc_EServiceView.doExternalLinkAction}">
<h:outputText value="#{jstl_to_jsf_serviceName}" styleClass="menu-txt"/>
<f:param name="PARAM_ESERVICE_URL_EN" value="#{jstl_to_jsf_url_en}"></f:param>
<f:param name="PARAM_ESERVICE_URL_AR" value="#{jstl_to_jsf_url_ar}"></f:param>
<f:param name="JSP_ACTION" value="ACT_EXTERNAL_ESERVICE"></f:param>
</h:commandLink>
</td>
</tr>
</table>
<script type="text/javascript">
<c:if test="${service.serviceId eq '53'}">
blinkThis('extMoreCell_7_3', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '54'}">
blinkThis('extMoreCell_7_4', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '55'}">
blinkThis('extMoreCell_7_5', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '56'}">
blinkThis('extMoreCell_0_8', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '57'}">
blinkThis('extMoreCell_8_8', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '59'}">
blinkThis('extMoreCell_1_8', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '58'}">
blinkThis('extMoreCell_5_6', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '28'}">
blinkThis('extMoreCell_1_4', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '20'}">
blinkThis('extMoreCell_5_3', '#FF3030', 1000);
</c:if>
<c:if test="${service.serviceId eq '60'}">
blinkThis('extMoreCell_7_6', '#FF3030', 1000);
</c:if>
</script>
</td>
</tr>
<tr>
<td bgcolor="#FAF9FA" background='<%= imageRootDir + "line-bg-eservices.png"%>'><img src='<%= imageRootDir +"line-bg-eservices.png"%>' width="2" height="1" border="0"/></td>
</tr>
<%}
else if(action!=null)
%>
<c:set var="jstl_to_jsf_serviceName" value="${service.serviceName}" scope="request"/>
<wps:urlGeneration contentNode="${service.serviceAction}" allowRelativeURL="false" keepNavigationalState="true">
<%
//String urlC = "http://"+renderRequest.getServerName()+":"+renderRequest.getServerPort()+wpsURL;
String urlC = "" + wpsURL;
%>
<c:set var="url" value="<%=urlC%>" scope="request"/>
</wps:urlGeneration>
<tr>
<td height="17">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="intMoreCell_${catIndex.index}_${serviceIndex.index}">
<img src='<%= imageRootDir +"arrow1.png"%>' width="15" height="16" border="0"/>
<hx:outputLinkEx styleClass="links menu-txt" value="#{url}">
<h:outputText value="#{jstl_to_jsf_serviceName}" styleClass="menu-txt"></h:outputText>
</hx:outputLinkEx>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FAF9FA" background='<%= imageRootDir + "line-bg-eservices.png"%>' ><img src='<%= imageRootDir +"line-bg-eservices.png"%>' width="2" height="1" border="0"/></td>
</tr>
<%
%>
</c:forEach>
</table>
</td>
</tr>
</table>
</c:forEach>
</br>
<h:messages styleClass="messages" id="messages1"></h:messages>
</f:verbatim>
</h:form>
</hx:scriptCollector>
</f:view>1) Throw your code away and use h:dataTable instead of c:forEach to render a table of dynamic size.
or:
2) Hand-assign every UIInput and UICommand element inside the loop an unique ID. E.g. "commandLinkId" + loopIndex -
Field list on/off drag and drop not working in smartforms
Hello Friends,
field list on/off drag and drop not working in smartforms.
is there any settings or some components needs to be activated ??
i can drag the fields from the list but when i drop in the text node its not dropping tht field.
Regards,
SunnyHi Friends,
Even I am facing the same problems. What is the solutions for this ?
And may I know what software version (sap gui) are you using. -
Product allocation is not working after setting all required config!
Hello SD gurus, Would you please help me to resolve this issue?
I followed and configured all the required steps for product allocation in ECC 6.0 Version still the product allocation is not working as expected.
Here are the steps performed
1. Created procedure through OV1Z
Maintained Product allocation procedureT.code OV1Z
2. Maintain product allocation object Transaction code: OV2Z
3. Create required info structure as per requirement T.code MC21
4. Specify Hierarchy and Define the “Product allocation planning structure”
Transaction code: OV3Z
5.Define Consumption periods
6. Control product allocation
T. code: OV4Z
Selected the product allocation procedure and given the required criteria and assigned to Info. Structure S991. Activated ‘Requirement category’ for product allocation
8. T.code OVZ0
Activate schedule line category for product allocation
S991 Info structure Planning parameters updated
Mc7F
Create update
T.code MC24
Activate the update
T.code OMO1
Create planning Hierarchy
T.code: MC61/62
Maintain planning type
. T.Code: MC8A/B
Created the product allocation plan for required quantity through MC94 IN spite of reserving stock as shown against the product allocation material specific and customer specific product allocation is not worked and the regular Atp check allocated stock to some other customer when created SO.
Thanks for your help in advance
SriniHi Sumitra,
Thanks a lot for your quick response!
Actually to say availability check is working but not product allocation.
I checked the settings in Material master MRP 3 view for strategy group and it is 40.
Availability check is 02 assigned. OVZ9 settings are assigned correctly 02-A- SD Order.
Not knowing what is preventing to reserve the stock against product allocation!
Do you or any one know where to see the product allocation stock?
Best Regards& Thanks a lot for your help!
Srini -
Command Link in ADF table is not working/ PPR event not getting fired
Hi All,
I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is in IE9.
if i use IE in compatibility mode the links works fine, even in IE8 version also.
Browser: IE 9
Jdev version: 11.1.1.5.0
I tried all possible things, but nothing workout for me.
showPopupBehavior not working in IE9 for af:table buttons (jdev11.1.1.5.0)
Partial page rendering not working in ie9
Command Link in ADF table is not working
ThnksHi,
please file a bug if you have a customer support contract and provide a testcase
Frank -
The next link of advance table is not working ??
Hi,
The next link and also all properties of the advance table is not working as soon as i click on the next link the page gets hanged no other components of the page not working
i have two regions one is advance table region and one is default double column for showing all buttons in one row plz help..
regards
Dips (paddy)
Edited by: 918001 on Feb 29, 2012 10:24 PMTry this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
Frozen or unresponsive iPad
Resolve these most common issues:
• Display remains black or blank
• Touch screen not responding
• Application unexpectedly closes or freezes
http://www.apple.com/support/ipad/assistant/ipad/
iPad Frozen, not responding, how to fix
http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
Black or Blank Screen on iPad or iPhone
http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
What to Do When Your iPad Won't Turn On
http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
iOS: Not responding or does not turn on
http://support.apple.com/kb/TS3281
iPad: Basic troubleshooting
http://support.apple.com/kb/TS3274
Cheers, Tom -
Adobe CC Education Eligibility Page Not Working!
I work for a university and bought the educational version of CC. When I clicked the link in the email provided by Adobe to upload verification of my employment... I filled out the form and when I click the button at the bottom that says "Review and Submit" I get a page not found error. Someone at Adobe please help!
Different regions may have slightly different processes. Take a look at the following document: http://helpx.adobe.com/x-productkb/policy-pricing/education-faq.html
I hope that this will help you get going.
If you still get that Page Not Working error, try the same with a different browser and check. -
Adobe creative cloud product online help not working. Any idea what is the reason ??
I have to manually copy pdf file to open help for all suite....Please try another browser, if still it is not working, check the internet connectivity http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
In case the issue is still not resolved, do contact Adobe Support.
Regards
Rajshree -
hello there,
i bought lightroom 4 today (the student version), installed it and wanted to type in the product code and got kind of confused.. my product code is XXXXXX-XXXX-XXXX-XXXX-XXXX (X=letters,numbers) but what i need to type in is six times four numbers or letters. so my product code that is written down is 2 numbers or letters short. i did try to type in in whatsoever but it did not work. thanks for the helpHello
I just received CS6 with educational license, bought as a bundle, together with my new Macbook, but the product code does not work when I try to register at www.adobe.com/go/edu-apple.
Kind Regards
Allan Tang -
Link for territory mgmt is not working
Hi All,
We have territory management configured for three custom attributes.
Link for territory management is not working for territory assignment block on account overview screen.
Any hint how we can solve this issue?
Thanks and Regards,
Gauri.How are you resetting the password?
Resetting User Password in Lion, Mountain Lion & Mavericks
Boot into your Recovery Partition by hold down the Command and R keys whilst booting.
When the Recovery screen appears, go to the Utilities menu and open Terminal.
In Terminal, type:
resetpassword
...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
Good luck,
Clinton -
Login page not working in EBS R12 after autoconfig.
Hi,
We are using EBS R12 on windows 2003 server 32 on a test machine. As we were making some changes using autoconfig,
as the Login page not working in EBS R12 after running autoconfig.
Kindly help us.
Thanks in advance.Hi,
Rollback the changes and run AutoConfig, see if you get the same error or not then -- See (Note: 387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12) for details "2.5. Rolling Back an AutoConfig Session".
Regards,
Hussein
Maybe you are looking for
-
.pdf in preview won't print
For the past 2 days, I am having issues printing documents I am viewing in Preview. When I press (command P) the File button highlights briefly, but then the print screen does not come up. However, on occasion, it has worked. I have all software u
-
How to I get the tab line and the clock to appear on any page?
Once I had a line of tabs across the top of my screen -- all the open tabs. Now that line has shrunk only to be opened by moving the cursor to the topmost part of my screen. I don't like that. How do I get it back so the tabs are always showing??? At
-
Ethernet not working once into Mavericks
Hi there I have a problem that is quite frustrating. If I start my machine it appears on the switch that there is traffic going across the connection but once I am into Mavericks it is completely dead and comes up with "cable unplugged". I have tried
-
Is an Airport card all I need?
Hi everyone: I have a 1.8 GHz 20" iMac G5 running Tiger 10.4.11. I didn't have an AirPort card installed when I bought it, but now I need one so that I can use my iMac for presentations when I'm away from home. (My network is not wireless at home exc
-
StarOffice 9 on Windows 64 bit
Hi, I'm wondering if we could use and get support StarOffice 9 on Windows 64 bit... Any information would be very appreciated. Thanks, Masako Ofuchi