Section Selector

Author Message

James Ward

Wednesday 16 November 2005 10:00:29 am

Hi all,
WardNet is currently developing a site which will require a lot of sub-nodes to be of a different section than their parents. Rather than constantly having to go to Setup-Sections-Assign-Browse to change the section assignments we will be creating a dropdown selector to allow quick section assignments during object creation.

Are there any problems/question this type of functionality raises with other users? Also is there enough interest in this functionality to have it included in future ezpublish releases?

We will post the patch files when we are done.

working at www.wardnet.com
blogging at www.jamesward.ca

Stephen Martin

Wednesday 21 December 2005 11:14:10 am

I'm very interested in this functionality. Have you made any progress in developing it?

Thanks!

James Ward

Wednesday 21 December 2005 1:42:11 pm

Hi Stephen,
We have had this up and running on a production site for a few months with no problems. I didn't post the information due to a lack of interest here.

I will package a contribution tomorrow when I get some time and post a link to it here.

working at www.wardnet.com
blogging at www.jamesward.ca

Stephen Martin

Wednesday 21 December 2005 1:59:26 pm

James,

That's awesome! I was just recently searching for a way to do this and came across your message. Much appreciated!

James Ward

Thursday 22 December 2005 1:20:58 pm

Stephen,
The contribution has been posted at http://ez.no/community/contribs/hacks/section_edit

I made note of the known issues and you should check them as well. If you have any trouble getting it working you can use this thread or the contrib comments.

Enjoy!
James

working at www.wardnet.com
blogging at www.jamesward.ca

Stephen Martin

Thursday 22 December 2005 3:05:13 pm

James,

Downloaded, installed and it's working fine with the one limitation you mention. Just what I was looking for. Thanks for your efforts!

-S

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 16:23:57
Script start
Timing: Jan 18 2025 16:23:57
Module start 'layout'
Timing: Jan 18 2025 16:23:57
Module start 'content'
Timing: Jan 18 2025 16:23:57
Module end 'content'
Timing: Jan 18 2025 16:23:57
Script end

Main resources:

Total runtime0.0115 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.0034 588.9141152.6094
Module start 'layout' 0.00340.0021 741.523439.4297
Module start 'content' 0.00550.0040 780.953193.3047
Module end 'content' 0.00950.0020 874.257834.3047
Script end 0.0115  908.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.9553140.0001
Check MTime0.00108.4921140.0001
Mysql Total
Database connection0.00054.272910.0005
Mysqli_queries0.001513.310530.0005
Looping result0.00000.068210.0000
Template Total0.001613.610.0016
Template load0.00086.812310.0008
Template processing0.00086.742010.0008
Override
Cache load0.00054.454710.0005
General
dbfile0.00021.582780.0000
String conversion0.00000.049640.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