Node ID's in the media module

Author Message

Shurbann Martes

Tuesday 30 December 2003 8:06:51 pm

Usually I would hover over the object in the content folder to see the node-id's, but in the media folder all the urls are written using "url_alias. "

How do you get the ID of a certain node (object) in the media folder?

Regards,
-Shurbann

Shurbann Martes

Wednesday 31 December 2003 7:31:32 am

Already found the solution:

Look in the table ezurlalias.
The field source_url shows the url_aliases and the field destination_url shows the node (content/view/full/186) in the old fahioned way.

Marco Zinn

Thursday 01 January 2004 10:59:28 am

Hi,
in 3.3, the node and content IDs are printed "readable" in the admin interface... At least for the "content" tab, i'm not sure about the media tab.
Plus, you should be able to disable "URL Translation" completly in 3.3, which should give your the "old-fashioned" URLs. Probably, this can be done just for the admin-site, if you wish, but changed the variable "URLTranslation" in a site-design-specific override.

Marco
http://www.hyperroad-design.com

Shurbann Martes

Friday 02 January 2004 9:21:11 am

Hi Marc,

I'm still using ez 3.2.4. This version is using the url_alias in the media section and not in the content (still using url the old fashioned way).

In the media section the node ID and object ID are not being printed.

So the only way is to look them up in the DB.

-Shurbann

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 19 2025 00:32:41
Script start
Timing: Jan 19 2025 00:32:41
Module start 'layout'
Timing: Jan 19 2025 00:32:41
Module start 'content'
Timing: Jan 19 2025 00:32:42
Module end 'content'
Timing: Jan 19 2025 00:32:42
Script end

Main resources:

Total runtime1.4319 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9141152.6250
Module start 'layout' 0.00550.0038 740.539139.4453
Module start 'content' 0.00931.4207 779.9844541.5313
Module end 'content' 1.43000.0018 1,321.515612.1641
Script end 1.4318  1,333.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2360160.0002
Check MTime0.00150.1037160.0001
Mysql Total
Database connection0.00080.057610.0008
Mysqli_queries1.380696.4181600.0230
Looping result0.00080.0539580.0000
Template Total1.394897.420.6974
Template load0.00210.147420.0011
Template processing1.392797.266820.6964
Template load and register function0.00020.011910.0002
states
state_id_array0.00120.086510.0012
state_identifier_array0.00200.139820.0010
Override
Cache load0.00170.1210220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.046920.0003
Fetch class attribute name0.00100.071150.0002
XML
Image XML parsing0.00070.049420.0004
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00130.0904160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs