Forums / Suggestions / Adding another location to folder content object

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 ?

eZ debug

Timing: Jan 19 2025 00:34:06
Script start
Timing: Jan 19 2025 00:34:06
Module start 'content'
Timing: Jan 19 2025 00:34:07
Module end 'content'
Timing: Jan 19 2025 00:34:07
Script end

Main resources:

Total runtime0.8970 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.9922180.8125
Module start 'content' 0.00690.6195 769.8047607.0781
Module end 'content' 0.62640.2705 1,376.8828339.1719
Script end 0.8969  1,716.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.5414210.0002
Check MTime0.00160.1771210.0001
Mysql Total
Database connection0.00070.080810.0007
Mysqli_queries0.800189.19512020.0040
Looping result0.00260.28712000.0000
Template Total0.863396.220.4316
Template load0.00200.226320.0010
Template processing0.861296.014520.4306
Template load and register function0.00010.011010.0001
states
state_id_array0.00160.174510.0016
state_identifier_array0.00100.111520.0005
Override
Cache load0.00170.1942340.0001
Sytem overhead
Fetch class attribute can translate value0.00150.166340.0004
Fetch class attribute name0.00270.304070.0004
XML
Image XML parsing0.00140.152840.0003
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00790.8823320.0002
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs