How to redirect a page on iweb
Hi I have an online store @ cafepress that I built with them..Is there a way to create a page on Iweb that visitors click (the tab) and are then taken to that specific page or is there a way to embed that page into an iweb page....any help would be appreciated.
You can make an external link for taking visitors on that page or you can embed that page in yours through an iframe but that doesn't work very well so I wouldn't recommend you to do that.
Reagrds,
Cédric
Similar Messages
-
How to redirect a page to a new window instead of the current one
Can someone please tell me how to redirect a page to new window.
I mean I am running a JSP with a button and on clicking it i am opening a new window (thru javascript offcourse),
Now response.sendirect("New.jsp") should be opened in that new window opened.
I tried it but the New.jsp page is opened in the current page (Even though new window is opened ! ).
Please help.Hi,
U can use the following code to Pop up in new window
Jsp1.jsp
<%
if(action != "")
response .sendRedirect("Jsp2.jsp");
else
%>
<html><head><title>JSP 1</title>
<script language="JavaScript">
function View()
window.open("Jsp1.jsp?action=view","View","");
</script>
</head><body>
<form name="frm" method="post">
<input type="button" value="View" onclick="View()">
</form>
</body>
</html>
<% -
How long does one page in iWeb go?
Hi,
I currently have a website up on freewebs.com and now I have my own domain name and am working on making a new site with iWeb and just started using it the other day.
When you are working on a page within iWeb lets say the Welcome page, are you limited to one page or can you keep on going within that page so it scrolls down. Let's say my first page is really 5 pages do I just keep adding stuff to that first page and it will automatically scroll when someone opens it in their browser (provided they click the down arrow)?
What I'm really asking is, is their a limit to how long your first page is? I hope this is making sense here.
S.I don't think that a page in iWeb is limited in it's length. There maybe a limit that apple has placed on it, but it is well past 6000 pixels. You can change how long your page is by opening the inspector and clicking on the second tab from the left. This will open your "page" dialouge. Edit the length of your page by increasing the number in the "content height" field. About the automatic updating of the length in your page; that does happen, but only when you move certain things. iWeb will not lengthen your page when you keep adding more stuff into it. It will increase the length, however, if you litterally move the position of something that is a default item in your selected template. For instance, iWeb will update the length of your page if you move the position of that default text field (wich is in French or somethinng) beyond the current page's "page length" limitation. You can see more clearly the boundaries wich you've set for yourself by changing temporarily the "browser background" color (also in the "page" dialouge in the inspector.
One other tip: (this is not at all related) Personally I don't like the look or configuration of the links in Apple's provided navigation menu. I choose not to display the nav menu and I use my own. It takes more work - you have to worry about style and all of that in addition to coordinating all those links. so let's say you use a tab configuration like i do. I have five tabs, and I have about 40 pages on my website. That means I had to make 200 links just for my custom nav menu. Coordinating them to make sure each one is correctly configured is another thing. I think it's worth it though. - And the copy and paste technology invented 3 billion years ago has been used more and more by me to complete that task! check it out if you like at DesignNashville.com.
got ?'s email at [email protected] and I'll see what I can do for you. -
How to redirect the page to home after alert message in APEX
Hi All,
I have 4 tab and home page APEX report in that home page I have organization to select as parameter for all the page which is mandatory column so without select the organization in home page I can move to other 4 page but some time users directly pressing the tab for this I have create the ORG_ALERT in each 4 page which this we are able to see the pop-up message when we directly hitting on tab but after select the OK to alert message the page is run for long time and it show all the organization data which I don't want so how can I modify the alert so that after pop-up message it will go to home page.
Declare Output VARCHAR2 (20);
begin
Output := 1;
Output := NVL( :AI_ORGANIZATION_ID , 0);
IF Output = '0' THEN
APEX_UTIL.SET_SESSION_STATE('AI_ORGANIZATION_CODE','');
HTP.p ('<script type="text/javascript">');
HTP.p ('alert("No Organization selected.\n Please select an Organization");' );
HTP.p ('</script>');
END IF;
END;
Regards,
SushantHi Kiran,
I have created two process -- On Load - After Header
1) Sequence=10
Declare Output VARCHAR2 (20);
begin
Output := 1;
Output := NVL( :AI_ORGANIZATION_ID , 0);
IF Output = '0' THEN
APEX_UTIL.SET_SESSION_STATE('AI_ORGANIZATION_CODE','');
HTP.p ('<script type="text/javascript">');
HTP.p ('alert("No Organization selected.\n Please select an Organization");' );
HTP.p ('</script>');
END IF;
END;
2) Sequence=20
Declare Output VARCHAR2 (20);
begin
Output := 1;
Output := NVL( :AI_ORGANIZATION_ID , 0);
IF Output = '0' THEN
htp.init;
owa_util.redirect_url('f?p=&APP_ID.:1:&APP_SESSION.');
ELSE
htp.init;
owa_util.redirect_url('f?p=&APP_ID.:4:&APP_SESSION.');
END IF;
END;
but after click on tab directly it is not showing the pop-up message and directly going to home page. I want when I click on pop-up message to OK then it need to redirect the home page also from home page when I am selecting any organization and trying to go on tab it is not going maybe due to owa_util.redirect_url. Please advise.
Regards,
Sushant -
How do you publish pages with iweb using multiple computers?
I own a business and have been creating a website through iweb. My partner has done the bulk of the work on his laptop. I created a page on mine, but cannot seem to figure out how to get it loaded into the site on his computer.
Can anyone help?You can't merge the separate data contained on the two computers, so you will probabably need to recreate your page on the other machine. It's possible to use two computers to work on a site by exchanging the data file between them. This file is at
Users/username/Library/Application Support/iWeb/Domain
But you need to have the same one on both machines if they are both editing the same site. -
Hi,
I try to create a page the is redirected to another page, but don't work.
What can I do? When the page is redirected the top level navigation must be refreshed?
I write this code:
IPageContext myContext = PageContextFactory.createPageContext(request, response);
if (myContext == null) {
System.out.println("htmlb service did not start up as expected.");
String URL = path to page in PCD;
Document mydocu = myContext.getDocument();
mydocu = myContext.createDocument("Pagina da redirigere");
mydocu.setHeadRawText("<meta http-equiv=\"refresh\" content=\"1; url=" + URL + "/>");
Anybody can help me?
Thanks in advance.
regards,
StefanoHi,
I don't know if this solves your problem, but this is an iView that redirects to www.google.es:
<pre>
import java.io.IOException;
import com.sapportals.portal.prt.component.*;
import javax.servlet.http.HttpServletResponse;
public class Redirect extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
HttpServletResponse resp = request.getServletResponse(true);
try {
resp.sendRedirect("http://www.google.es/");
} catch (IOException e) {
e.printStackTrace();
</pre>
Hope it helps,
jc! -
How to redirect a page that does not exist
Hello everyone. Thanks for the feedback so far.
I am editing an old site and there are going to be some pages that do not exist anymore.
Is there a way to have an automatic redirect so that if any user types in ANY page that does not exist sitewide, they can be directed to another main redirection page which displays a message and then to the main page again?
The current site is littered with empty pages with a redirect link on each at the moment which does not look good and it's awful to maintain as these non-meaningful filenames the original developer has used are no help at all.
Thank you in advance for all feedback
TerryWhat is the web address of the old site?
If it's on a Linux server then you can use .htaccess rewrites to automate much of the redirection heavy lifting
http://kb.mediatemple.net/questions/85/Using+.htaccess+rewrite+rules#gs
https://my.bluehost.com/cgi/help/htaccess_redirect -
How to add sub pages in iWeb templates
Anybody knows how to add a sub pages in the templates? I want to add sub pages under the main header, e.g. "About Us."
Just to say that you can do it in the way that Steve has already said and I did this on one of my sites and it worked really well.
Lets take your example of About George. You create your page About George and you include this page in your navigation menu. Now lets suppose that you have more that you want to add about George with two other pages - George at Work and George at Play. You want to link to these pages from About George, but you don't want the page names visible. Well, you can do this by creating the pages and then going to Inspector. Click on pages and then check don't include in navigation menu. Then you can create links on the About George page to get to the other pages George at Work and George at Play - use shapes or text boxes to create these with something like Back and Next on those pages to take you forward to the next page and then back to the main page.
I think you will need to create your own nav bar to be able to achieve this, as it means linking to different pages, but it does work well. -
How to redirect viewers to my iWeb site on a new domain?
I've moved my website to a new domain with a new Web host (which was much easier than I expected). Now, I'd like to redirect anyone who clicks on my old site to my new one, but I haven't found a way to do that. Any suggestions?
If you use personal domain at MobileMe then nothing will change.
Delete the CNAME record where you manage your domainname and point to your new host.
It takes a few hours for the change to propagate thru the network, so do not delete your MMe site yet.
Your visitor won't notice.
If you use the web.me.com address then it is more complicated.
Duplicate the index.html file in your site folder as many times as there are webpages and rename each duplicate to the name of each webpage. You have to delete the original webpage.
Then open each renamed file in a plaintext/HTML editor of your choice and change the redirect URL to the same page on your new host.
It looks like this :
<html><head><title></title><meta http-equiv="Refresh" content="0; URL=http://url.to.new.page.html"></head><body></body></html>
Do so AFTER you publish to your new host.
Practice. -
How to make a "/" page in iWeb?
I'm using the latest iWeb. My website is http://www.JOHNisFUNNY.com ... From there I have pages such as "videos" and "freelance" that people click on and it takes them to that specific page.
I'd like to be able to type in JOHNisFUNNY.com/videos and it takes them right there.
Can someone help me do this? I called up my hosting provider and they told me had to be done through iWeb.
Thanks!Simply publish to a local folder from iWeb and upload your site using Cyberduck, which can be downloaded for free. Rather than uploading your whole site folder just upload the contents and not the whole folder and your url will then be http://www.domain.com/page name.html, eliminating the site name.
Not though, that if you do this and you have any RSS feeds in place they will not work, as you break iWeb site structure by not uploading the site folder which the RSS feed needs to work. -
How Do I link pages in iweb??
Hi,
I can't seem to get the inspector to work with me??
I can't seem to activate the bax where it says enable hyperlink?? Don't know what I'm doing wrong.
ThanksAssuming you've selected with the mouse something to hyperlink, what kind of object or text is it? By the way, iWeb's Help viewer has step-by-step instructions under "Working with text and adding links'.
-
How can i redirect a page to Login screen when sessionis timeout???
I have a problem in my portal development.
I set the "<b>Session timeout= 01</b>" parameter in the<b> Visual Administrator</b>
server_0 > services > Web Container
Runtime > sap.com/irj > irj (view button)
However, when the session is timeout then the page become to be "red"!!! That is, there is an Exception. I'd like to redirect the page to the "Login screen", but I don't know how. <b>Does anybody know how can I do it</b>?
Thanks in advance.Hi,
the http session invalidation must be checked at application level do it DYNPAGE only .you can call the following method.
public void expireSession(IPortalComponentRequest request)
long lastAccessedTime=request.getServletRequest().getSession().getLastAccessedTime();
Date currentDate = new Date();
Calendar currentDateCal = new GregorianCalendar();
currentDateCal.setTime(currentDate);
long systemTime = currentDateCal.getTimeInMillis();
long sessionExpiryTime = systemTime - lastAccessedTime;
long sessionExpiryTimeProp = 600000; //dont hard code.get from property file
if(sessionExpiryTime >= sessionExpiryTimeProp)
try
IPortalComponentResponse response=(IPortalComponentResponse)this.getResponse();
String sessionExpiryPage ="/irj/servlet/prt/portal/prtroot/com.sap.portal.masthead.LogOutComponent?logout_submit=true";
response.write ("<script language="javascript">");
response.write("parent.window.location.replace('"+sessionExpiryPage+"','','toolbar:No,status: No,location: N0');");
response.write("</script>");
}catch(Exception e) -
How do I stop firefox from redirecting every page I click on in Google search? No matter what I search for in Google when I click on it Firefox redirects me to some other search, sales, or contest page. I have a security program running, no maleware, adware, or virus on my pc. Thanks for the help in advance.
Sounds like a dose of search redirect malware or a redirect virus.
Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
SuperAntispyware - [http://www.superantispyware.com/] <br />
AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
Also, if you have a search engine re-direct problem, see this:<br />
http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
[http://www.spywarewarrior.com/index.php] <br />
[http://forum.aumha.org/] <br />
[http://www.spywareinfoforum.com/] <br />
[http://bleepingcomputer.com] -
How to redirect to different page after login in APEX 4.1
Dear All,
Here my Requirement is,When the users login,
when they entered their username and password and pressed login button,
they have to redirected to different pages based on the type of user.
Here my LOGIN_TABLE has following 3 columns,
1.Username
2.Password
3.Type.
The TYPE has 2 values, employee and admin.
when the type is admin they should be redirected to page 2,
reaining i.e employee users has to be redirected to page 3.
How can I do this? please give some suggestion.
Thank you.
regards,
GurujothiDear Christian,
Thank you for your reply,
I would like to explain something,
When I using the following function,
*create or replace FUNCTION custom_auth_g (
p_username IN VARCHAR2,
p_password IN VARCHAR2)
RETURN BOOLEAN IS
BEGIN
FOR c1 IN (SELECT 1
FROM login_table
WHERE upper(username) = upper(p_username)
AND upper(password) = upper(p_password))
LOOP
RETURN TRUE;
END LOOP;
RETURN FALSE;
END;*
When login, It checks in the login_table table and if the username is exist with the pass word it successfully entered inside the application.
for all users only one page which we set.
My Login_table also contains type which has 2 type as I mentined above.
But As I mentioned earliar based on the user type it has to be redirected to 2 different page.
I found this Package but I cant understand,Can you please Explain?
*create or replace PACKAGE app_security_pkg
AS
PROCEDURE add_user
p_username IN VARCHAR2
,p_password IN VARCHAR2
PROCEDURE login
p_uname IN VARCHAR2
,p_password IN VARCHAR2
,p_session_id IN VARCHAR2
,p_flow_page IN VARCHAR2
FUNCTION get_hash
p_username IN VARCHAR2
,p_password IN VARCHAR2
RETURN VARCHAR2;
PROCEDURE valid_user2
p_username IN VARCHAR2
,p_password IN VARCHAR2
FUNCTION valid_user
p_username IN VARCHAR2
,p_password IN VARCHAR2
RETURN BOOLEAN;
END app_security_pkg;*
*create or replace PACKAGE BODY app_security_pkg
AS
PROCEDURE login
p_uname IN VARCHAR2
,p_password IN VARCHAR2
,p_session_id IN VARCHAR2
,p_flow_page IN VARCHAR2
IS
lv_goto_page NUMBER DEFAULT 1;
BEGIN
-- This logic is a demonstration of how to redirect
-- to different pages depending on who successfully
-- authenticates. In my example, it simply demonstrates
-- the ADMIN user going to page 1 and all other users going
-- to page 2. Add you own logic here to detrmin which page
-- a user should be directed to post authentication.
IF UPPER(p_uname) = 'ADMIN'
THEN
lv_goto_page := 1;
ELSE
lv_goto_page := 2;
END IF;
APEX_UTIL.SET_SESSION_STATE('FSP_AFTER_LOGIN_URL');
wwv_flow_custom_auth_std.login
p_uname => p_uname,
p_password => p_password,
p_session_id => p_session_id,
p_flow_page => p_flow_page || ':' || lv_goto_page
EXCEPTION
WHEN OTHERS
THEN
RAISE;
END login;
PROCEDURE add_user
p_username IN VARCHAR2
,p_password IN VARCHAR2
AS
BEGIN
INSERT INTO app_users (username, PASSWORD)
VALUES (UPPER (p_username),
get_hash (TRIM (p_username), p_password));
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
RAISE;
END add_user;
-- Function to Perform a oneway hash of the users
-- passwords. This cannot be reversed. This exmaple
-- is a very week hash and if been used on a production
-- system, you may want to use a stronger hash algorithm.
-- Read the Documentation for more info on DBMS_CRYPTO as
-- this is the supported package from Oracle and
-- DBMS_OBFUSCATION_TOOLKIT is now depricated.
FUNCTION get_hash (p_username IN VARCHAR2, p_password IN VARCHAR2)
RETURN VARCHAR2
AS
BEGIN
RETURN DBMS_OBFUSCATION_TOOLKIT.md5 (
input_string => UPPER (p_username)
|| '/'
|| UPPER (p_password));
END get_hash;
PROCEDURE valid_user2 (p_username IN VARCHAR2, p_password IN VARCHAR2)
AS
v_dummy VARCHAR2 (1);
BEGIN
SELECT '1'
INTO v_dummy
FROM app_users
WHERE UPPER (username) = UPPER (p_username)
AND PASSWORD = get_hash (p_username, p_password);
EXCEPTION
WHEN NO_DATA_FOUND
THEN raise_application_error (-20000, 'Invalid username / password.');
END valid_user2;
FUNCTION valid_user (p_username IN VARCHAR2, p_password IN VARCHAR2)
RETURN BOOLEAN
AS
BEGIN
valid_user2 (UPPER (p_username), p_password);
RETURN TRUE;
EXCEPTION
WHEN OTHERS
THEN RETURN FALSE;
END valid_user;
END app_security_pkg;*
And you said "assign an URL to FSP_AFTER_LOGIN_URL, depending on the Type column",
Where to assign,Could you please Explain?
Thank you. -
How to redirect to other page in a dialogListener?
Hi All,
I am using JDeveloper 11g with ADF BC.
How to redirect to another page from a dialogListener of <af:dialog>?
I have a page with a [Delete] button on it. When user click on the delete button, a confirmation dialog will appear to ask "Are you sure? [Yes/No]". If user answer [Yes], I will delete the current record, and go to another page. I can call a Operation Binding in the dialogListener, but I don't know how to go to another page.
public void handleDeleteDialog(DialogEvent dialogEvent) {
OperationBinding operationBinding = bindings.getOperationBinding("Delete");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
// redirect to another page?
Regards,
Samson FuHi Samson,
Check following link for your query:-
Re: page has to navigate to the next page when clicking button in the popup
You can also make usae of Navigation Handler to invoke the navigation action in your task flow as
FacesContext facesCtx = FacesContext.getCurrentInstance();
NavigationHandler nh = facesCtx.getApplication().getNavigationHandler();
nh.handleNavigation(facesCtx, "", "ActionNameInTaskFlow");
Vikram
Maybe you are looking for
-
Hello! How can I make a measure that has the first two beats as normal 16th notes, then the last two beats as triplet 16th notes? I'm putting the notes straight into the score. Oh, and I'm in 4/4 time. Exactly what I did: 1. Score>Insert>16th note. P
-
I have a Mac Mini and I have hooked up the sound output to my JVC Home Theatre systems so I can play iTunes through it. The problem is that the sound level is very low even with all the outputs turned up to max. I need to have the JVC up to near max
-
I created an extra iTunes library for my wife and now i can't find either of them
I created an extra iTunes library for my wife by following the instructions on Apples website and everything was working perfect. So when I opened iTunes i could select whether i was using her phone or mine. Everything was perfect then today I have t
-
Why my smartform can't be printed when I print preview my layout?
it always gave me a message that a spool request has been created, but when I select print it can't be printed in the printer, why? thank you in advance!
-
Why cant I browse to my 1152 ???
Hi All, I have the 1152 connected to a Linksys router. My PC is connected to the same Linksys router. My PC is 192.168.1.101. The AP is 192.168.1.102. I can ping it fine. I put 192.168.1.102 in my browser and I get nothing. Says IE cannot display the