Adding another location to folder content object

Author Message

Dariusz Wlodarczyk

Tuesday 23 December 2003 2:49:29 pm

When I add another location to a folder content object i hope all objects inside this folder will be available in this new location. But this is not true now :(

I think this must work like shortcuts in Windows or links in Unix.

K259

Tuesday 23 December 2003 3:46:03 pm

Hi!

I've asked the eZ-crew about this earlier.
"Add location" (the new location) shall not include the child objects. But, if you choose to move the object, all the children will be moved too.

I agree with you. "Add location" should also include child objects, would make everything much easier.

Btw. a question:
Shall an object which is added to another location use the main node section-design, or the section-design for the "added-location"? I experienced some problems with this earlier, but dunno if it's fixed.

Mark Marsiglio

Tuesday 23 December 2003 4:43:40 pm

We are working on a solution to provide this functionality, but in a different way.

We are trying to make any link in the system fetch the node that is marked as "main". If a link for an alternate location of an object appears, the link won't take you to the alt location, but to the main one.

If we can get it to work, I will try to post something...

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

K259

Tuesday 23 December 2003 5:37:18 pm

I don't think that's the best idea for every site.

Let's say we have a page "Flash-course". This original course is in a main course-catalog with it's own design. Both the programming-faculty and the art-fac. have "Flash-course" in it's study-program, and they have their own pages/design, but shall refer to the original course in the main catalog, to avoid data-errors, and to many alike courses to update etc. for the editors.

*It shall be possible to view all courses in the main course-catalog with the catalog design, but every faculties shall also have the possibillity to make a "add location" at every course(from the catalog) into their own faculty-sites, which means they also want this course to appear within their own design.

Why not give the possibillity to set section ID on the "added-location" for the object?

Another problem is, that if the user is taken to the main node, the navigation path will be totally different, the user will be taken out of it's "surroundings", and will maybe have problems with navigating back to the pages were he searched for information.

Dariusz Wlodarczyk

Wednesday 24 December 2003 1:53:25 am

[quote]
Why not give the possibillity to set section ID on the "added-location" for the object?
[/quote]

I think about option to set "preserve original design" or not :) But your idea with section-ID is very good :)

[quote]
Another problem is, that if the user is taken to the main node, the navigation path will be totally different, the user will be taken out of it's "surroundings", and will maybe have problems with navigating back to the pages were he searched for information.
[/quote]

Yes this is a problem but i think it is possible to solve :) Maybe additional real_path where will be stored path to additional location ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 14:51:08
Script start
Timing: Jan 18 2025 14:51:08
Module start 'layout'
Timing: Jan 18 2025 14:51:08
Module start 'content'
Timing: Jan 18 2025 14:51:08
Module end 'content'
Timing: Jan 18 2025 14:51:08
Script end

Main resources:

Total runtime0.0146 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0469152.6406
Module start 'layout' 0.00440.0026 740.687539.4922
Module start 'content' 0.00700.0054 780.179793.3672
Module end 'content' 0.01240.0022 873.546938.3047
Script end 0.0146  911.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.6232140.0002
Check MTime0.00117.3441140.0001
Mysql Total
Database connection0.00074.803210.0007
Mysqli_queries0.002114.592230.0007
Looping result0.00000.081410.0000
Template Total0.001711.610.0017
Template load0.00096.099710.0009
Template processing0.00085.436810.0008
Override
Cache load0.00063.954710.0006
General
dbfile0.00106.813180.0001
String conversion0.00000.061940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs