yusufakyol
Posts: 73
|
| Posted: 11/07/2008, 8:43 AM |
|
Hi,
Does anybody know it's possible dynamicly changes includepage and if yes, how?
Thanks all helps.
Best regards.
_________________
Best Regards |
 |
 |
Gena
Posts: 591
|
| Posted: 11/07/2008, 8:51 AM |
|
Quote yusufakyol:
Does anybody know it's possible dynamicly changes includepage and if yes, how?
What you mean by "change"?
_________________
Gena |
 |
 |
yusufakyol
Posts: 73
|
| Posted: 11/07/2008, 9:34 AM |
|
Hi,
I have two ccs includable page are named as newincludablepage1.php and newicludablepage2.php. I want to load one of these when user clicks one of two links.
Thanks for your help.
Best regards.
_________________
Best Regards |
 |
 |
Gena
Posts: 591
|
| Posted: 11/07/2008, 9:41 AM |
|
I see.
I'm using for this Pannels. So put two includable pages on your page, select code of first incl and press Panel icon - this will surrounds a Pannel over your inclpage. Make the same wih the second. So you will have Page like:
Panel1_begin
InclPage1
Panel1_end
Panel2_begin
InclPage2
Panel2_end
Go to Page event BeforeShow and put action Hide/Show component for each panels depending of passed parameters (put some additional parameters for your links)...
_________________
Gena |
 |
 |
yusufakyol
Posts: 73
|
| Posted: 11/07/2008, 10:30 AM |
|
Hi,
Super... Thanks for your fast response...
But one more question... If I include two panels, two programs would be run. And I don't want these. One program for first panel, second one for scond panel. Am I right?
May be you have more solution.
Thanks again.
Best regards.
_________________
Best Regards |
 |
 |
Gena
Posts: 591
|
| Posted: 11/07/2008, 12:07 PM |
|
You should Hide one panel and Show second and vice versa (using action Hide/Show component) so you will have just One includable page (first or second) on your Page. Also only one code will be executed for the panel - just for that which is visible.
_________________
Gena |
 |
 |
yusufakyol
Posts: 73
|
| Posted: 11/07/2008, 12:18 PM |
|
Hi Gena,
I learned many things from you.....Thanks too much...
Best regards.
_________________
Best Regards |
 |
 |
Gena
Posts: 591
|
| Posted: 11/07/2008, 1:01 PM |
|
You are welcome!
_________________
Gena |
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 11/12/2008, 5:27 AM |
|
yusufakyol
Could you please put [RESOLVED] or [SOLVED] in your thread header. Thanks.
|
 |
 |
yusufakyol
Posts: 73
|
| Posted: 11/12/2008, 5:39 AM |
|
[SOLVED]
Thanks to everybody...
_________________
Best Regards |
 |
 |