Page 1 of 1

*** SOLVED *** Clone Option

Posted: Sat Dec 16, 2023 12:19 am
by KingSparta
Today I was working with 3 files

AA-Grapevines1.html
AA-Grapevines2.html
AA-Grapevines3.html

I Cloned #1, and that gave me (2) AA-Grapevines2.html files

Re: Clone Option

Posted: Sat Dec 16, 2023 11:30 am
by Pablo
Do you have a DEMO project?

Image

Re: Clone Option

Posted: Sat Dec 16, 2023 11:59 am
by WWBman
I just did a test:

index.html
page1.html
page2.html
page3.html

Cloned page1.html and got:

index.html
page1.html
page2.html
page3.html
page2.html

EDIT:
It's a feature in WWB 19's Site Manager:

- New feature: When you clone a page where the page name ends with a number, the cloned page will have the same name but with the next higher number. For instance, if you change 'product1' it will turn into 'product2'.

Re: Clone Option

Posted: Sat Dec 16, 2023 12:38 pm
by Pablo
You should not get a duplicate page name.
When I try it, then I always get a unique number.

Re: Clone Option

Posted: Sat Dec 16, 2023 1:08 pm
by jerryco
page2.html
page3.html
page2.html

EDIT:
It's a feature in WWB 19's Site Manager:
The same page name can never be a feature.

Re: Clone Option

Posted: Sat Dec 16, 2023 1:54 pm
by KingSparta
the complete website script.

https://myaagrapevines.com/MyWebSite.wbs

Re: Clone Option

Posted: Sat Dec 16, 2023 1:55 pm
by WWBman
jerryco wrote: Sat Dec 16, 2023 1:08 pm
page2.html
page3.html
page2.html

EDIT:
It's a feature in WWB 19's Site Manager:
The same page name can never be a feature.
It doesn't say it is!

Re: Clone Option

Posted: Sat Dec 16, 2023 2:13 pm
by Pablo
It seems to work correct in your project.
Can you please describe the exact steps to make it fail?

Re: Clone Option

Posted: Sat Dec 16, 2023 2:17 pm
by crispy68
I tried it myself and it works correctly for me.

Re: Clone Option

Posted: Sat Dec 16, 2023 2:23 pm
by KingSparta
AA-Grapevines1
AA-Grapevines2
AA-Grapevines3

Cloned: AA-Grapevines2 and got:

AA-Grapevines1
AA-Grapevines2
AA-Grapevines3
AA-Grapevines2

I can reproduce this

Re: Clone Option

Posted: Sat Dec 16, 2023 2:39 pm
by KingSparta
I made an animated GIF movie of it, this was after a reboot.

Image

Re: Clone Option

Posted: Sat Dec 16, 2023 3:16 pm
by WWBman
crispy68 wrote: Sat Dec 16, 2023 2:17 pm I tried it myself and it works correctly for me.
So when you have e.g.

index.html
page1.html
page2.html
page3.html

and clone page1.html

do you get

page4.html ?

Re: Clone Option

Posted: Sat Dec 16, 2023 3:19 pm
by Pablo
index.html
page1.html
page2.html
page3.html

and clone page1.html

do you get

page4.html ?
Yes, however, it looks like KingSparta has page extension enabled. This was not mentioned in the report. That is why I keep asking for a demo project...
Anyway, it has been solved in the latest build.

Re: Clone Option

Posted: Sat Dec 16, 2023 3:37 pm
by WWBman
However, it looks like KingSparta has page extension enabled. This was not mentioned in the report.
Ah, that's it.
I also have that option set.