In the bog object, there are two options
1) To load a page from the project, or
2) To provide a URL, like this for example : https://squadron-125.org.il/viewadobe.p ... ipur40.pdf
How can I add a dynamic 2nd argument to the url, it is the user name who logged in, so I can't set it to a fixed value
But let's say - I have it in a PHP Session variable
How?
Cheers
Calling a blog item
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/g ... arted.html
Quick 'n Easy Web Builder FAQ
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/g ... arted.html
Quick 'n Easy Web Builder FAQ
Re: Calling a blog item
Maybe this will work?
Code: Select all
https://squadron-125.org.il/viewadobe.php?pdffile=<?php $_SESSION['username'] ?>.pdf
Re: Calling a blog item
No, That's not what I mean.
In the meantime, I found out that I can't use the session variable, I need to get the name out of a cookie
So, I need to have something like this:
https://squadron-125.org.il/viewadobe.p ... r=username;
But, the username is retrieved from a cookie. IT is 2 different arguments I need to pass.
In the Windows WB, I recall being able to have 2-3 events chained together - but I don't seem to be able to do it in QAEWB, or can I ?
Thank you
In the meantime, I found out that I can't use the session variable, I need to get the name out of a cookie
So, I need to have something like this:
https://squadron-125.org.il/viewadobe.p ... r=username;
But, the username is retrieved from a cookie. IT is 2 different arguments I need to pass.
In the Windows WB, I recall being able to have 2-3 events chained together - but I don't seem to be able to do it in QAEWB, or can I ?
Thank you
Re: Calling a blog item
Events in QWB work the same as in WB.
You can add multiple events to an object.
You can add multiple events to an object.
Re: Calling a blog item
OK, I tried to add the following:
event-1 : a javascript function
event-2 : window.reload(true);
event-3 : Another javascript - which redirects to the next web page
Is this correct?
I still prefer the option of passing two arguments to the URL, if possible with a php call from a cookie - but how?
Thanks
event-1 : a javascript function
event-2 : window.reload(true);
event-3 : Another javascript - which redirects to the next web page
Is this correct?
I still prefer the option of passing two arguments to the URL, if possible with a php call from a cookie - but how?
Thanks
Re: Calling a blog item
I do not think these actions can used together.
window.reload(true) will reload the page so everything after that will be ignored.
Note that this is unrelated to QWB, Events and JavaScript are standard browser functionality.
window.reload(true) will reload the page so everything after that will be ignored.
Note that this is unrelated to QWB, Events and JavaScript are standard browser functionality.
Re: Calling a blog item
So, is it ok to just skip 2nd call?
I know it is not related to WB, just thought I can get some help
Cheers
I know it is not related to WB, just thought I can get some help
Cheers
Re: Calling a blog item
Did you try?