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 15 2025 09:34:21
Script start
Timing: Jan 15 2025 09:34:21
Module start 'content'
Timing: Jan 15 2025 09:34:22
Module end 'content'
Timing: Jan 15 2025 09:34:22
Script end

Main resources:

Total runtime1.3416 sec
Peak memory usage6,144.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 685.6016214.7734
Module start 'content' 0.00891.1142 900.37501,876.1563
Module end 'content' 1.12310.2184 2,776.5313637.6016
Script end 1.3415  3,414.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00730.5445210.0003
Check MTime0.00160.1184210.0001
Mysql Total
Database connection0.00140.101410.0014
Mysqli_queries1.242492.61111950.0064
Looping result0.00190.14211920.0000
Template Total1.297796.720.6489
Template load0.00500.375320.0025
Template processing1.292796.355120.6463
Template load and register function0.00150.114610.0015
states
state_id_array0.00320.235610.0032
state_identifier_array0.00150.115420.0008
Override
Cache load0.00430.3175340.0001
Sytem overhead
Fetch class attribute can translate value0.00140.100840.0003
Fetch class attribute name0.00230.172470.0003
XML
Image XML parsing0.00280.206840.0007
class_abstraction
Instantiating content class attribute0.00000.001080.0000
General
dbfile0.00230.1697260.0001
String conversion0.00000.000630.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.0001 secs