Welcome to Geeklog, Anonymous Thursday, November 07 2024 @ 12:02 pm EST
Geeklog Forums
Clone stories
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Added story cloning functionality to GL 1.5.1 - same functionality we have enjoyed with staticpages.
Makes foe easy story templating
get it here.
Maybe Dirk will add it to future releases?
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
Makes foe easy story templating
get it here.
Maybe Dirk will add it to future releases?
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
17
9
Quote
Status: offline
ivy
Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
Hi suprsidr,
It's nice work!
If the story's date is set, it 's better I think.
Geeklog Japan https://www.geeklog.jp
It's nice work!
If the story's date is set, it 's better I think.
Geeklog Japan https://www.geeklog.jp
14
20
Quote
Status: offline
ivy
Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
Hi,
This hack change date, too.
http://www.geeklog.jp/filemgmt/index.php?id=406
hiroron developed last month.
I'm sorry for the delay in the introduction.
Geeklog Japan https://www.geeklog.jp
This hack change date, too.
http://www.geeklog.jp/filemgmt/index.php?id=406
hiroron developed last month.
I'm sorry for the delay in the introduction.
Geeklog Japan https://www.geeklog.jp
17
18
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
I've updated this for geeklog 1.6.1 here.
@Dirk you should add this to future releases.
Its easy, keeps others from having to hack core code and would add a simple great feature.
And since I've done the work.... no skin off your back
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
@Dirk you should add this to future releases.
Its easy, keeps others from having to hack core code and would add a simple great feature.
And since I've done the work.... no skin off your back
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
14
20
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I didn't see the point of this modification originally but have since changed my mind. It didn't make it into 1.6.1 due to time constraints and the fact that the code had deviated too much for easy integration.
I'll take a look at the updated patch. Thanks!
bye, Dirk
I'll take a look at the updated patch. Thanks!
bye, Dirk
16
23
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: suprsidr
And since I've done the work.... no skin off your back
I've got it working, but I think it does need some work, to be honest.
For example, the cloned story gets new permissions (why?), but the story id is not changed. I would also expect the clone to have the current date / time while the various counters (hits, comments, trackbacks) should be reset. Those are easy to fix of course.
I'm not quite sure what to do with images, though. If the original story contains uploaded images, should those be copied, too?
bye, Dirk
13
13
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
I'm not quite sure what to do with images, though. If the original story contains uploaded images, should those be copied, too?
Sure, why not.
I'm thinking nobody would really clone a story to have two of the same.
The purpose would more likely be for templating, so images might just act as placeholders.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
22
19
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
I should read all of it...
For example, the cloned story gets new permissions (why?)
I built a site for a marina who had multiple departments and story admins, each template I made was available to any story admin, but the the stories these admins published had a new owner, topic, rights...
It worked perfect.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
For example, the cloned story gets new permissions (why?)
I built a site for a marina who had multiple departments and story admins, each template I made was available to any story admin, but the the stories these admins published had a new owner, topic, rights...
It worked perfect.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
20
13
Quote
All times are EST. The time is now 12:02 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content