PDA

View Full Version : Duplicate Design Page, possible?


hslbh
11-15-2006, 11:37 PM
I have a question, I have a design that have 3 setup position

for example, design1.php, design2.php, design3.php

I have modify the php code of the design3.php to have a slideshow where the banner is

is there is away to duplicated the design3.php, with all the same setup / layout but then i can go in and modify the code to put a different slideshow

so when i create a catagory, i can pick this duplidated design3 and have a total new page with the different slide show ?

any expert advice ..or any help at all, is greatly appreciated!

thanks guys.

thomas
11-16-2006, 12:23 AM
you should create a design4.php page, by copying the design3.php page

You would need to edit the install.php page as well to add the new design

hslbh
11-16-2006, 12:29 AM
yes, i think of that

but to edit the install.php is where i am clueless :(

do I need to reinstall the template for it to work?

thomas
11-16-2006, 01:27 AM
yes you would have to reinstall it.

Can you post a link to the site?

hslbh
11-16-2006, 02:58 AM
oh i got it to work! hehe

i can't really show the site, it's xxx rated

thanks for the help !

hslbh
11-16-2006, 06:13 AM
Ran into a little problem
$skinname = 'indiqo.media >> Effect';
$numdesigns = 6;
$previewimage = 'effect/images/efc_preview.jpg';

$authorname = 'Maximilian Bartel (indiqo.media)';
$authorlink = 220;

$designpath[] = 'effect/effect_1.php';
$maxplugins[] = 30;
$imagepath[] = 'effect/images/efc_design_1.jpg';

$designpath[] = 'effect/effect_2.php';
$maxplugins[] = 20;
$imagepath[] = 'effect/images/efc_design_2.jpg';

$designpath[] = 'effect/effect_3.php';
$maxplugins[] = 10;
$imagepath[] = 'effect/images/efc_design_3.jpg';

$designpath[] = 'effect/effect_1x.php';
$maxplugins[] = 30;
$imagepath[] = 'effect/images/efc_design_1.jpg';

$designpath[] = 'effect/effect_2x.php';
$maxplugins[] = 20;
$imagepath[] = 'effect/images/efc_design_2.jpg';

$designpath[] = 'effect/effect_3x.php';
$maxplugins[] = 10;
$imagepath[] = 'effect/images/efc_design_3.jpg';
?>

I duplicated the whole thing, it work fine, except for the design_3
everytime i chose it, it would pick design 6, which is the design_3x

I have no idea

RandomNinjaAtk
11-16-2006, 11:56 AM
Chane the images too in the install, even if the same pic, I ran into a problem once, because the same image was being used for more then one design. It would only choose the first one. Everytime I tried to select the other design but with the same pic, it never worked.

Hope this helps!

So for your 3x.php designs, make a duplicate of the pic that is also 3x.jpg!

hslbh
11-17-2006, 02:03 AM
wow, thanks RandomNinja ! great tip
also, thanks for help thomas.