Calling article with URL

Author Message

Aaron Carlino

Wednesday 28 February 2007 7:15:28 am

As i understand it, the /content/view/ID is the way to get a node to render in your page. Does anyone have any suggestions as to where i should look if my article with ID #105 is generating a "not found" message when I go to http://www.mysite.com/index.php/content/view/full/105/ ?

Of course, /page_title/ works fine. I'm just curious why I can't call it by ID.

Also, if "view" and "full" are valid operators in the URL, what others are there?

Damien Pobel

Wednesday 28 February 2007 11:51:53 am

For URI system you should read the doc [1].

For your ID, perhaps 105 is the object ID, not the node ID ? see [2] for more.

[1] http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/modules_and_views
[2] http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/content_management/the_content_node

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Aaron Carlino

Wednesday 28 February 2007 12:29:42 pm

Great links! Thank you!

Xavier Dutoit

Wednesday 28 February 2007 11:47:51 pm

Kristof wrote a redirect extension you can use if you only have the objectid (very useful after the creation of an object for instance).

X+

http://www.sydesy.com

Kristof Coomans

Thursday 01 March 2007 12:15:21 am

http://ez.no/community/contribs/applications/redirect

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 19:13:53
Script start
Timing: Jan 18 2025 19:13:53
Module start 'layout'
Timing: Jan 18 2025 19:13:53
Module start 'content'
Timing: Jan 18 2025 19:13:54
Module end 'content'
Timing: Jan 18 2025 19:13:54
Script end

Main resources:

Total runtime0.6369 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9063152.6250
Module start 'layout' 0.00510.0031 740.531339.4297
Module start 'content' 0.00820.6272 779.9609637.6094
Module end 'content' 0.63540.0014 1,417.570312.4922
Script end 0.6368  1,430.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5029160.0002
Check MTime0.00140.2175160.0001
Mysql Total
Database connection0.00070.115910.0007
Mysqli_queries0.582291.4095670.0087
Looping result0.00070.1100650.0000
Template Total0.608595.520.3043
Template load0.00210.324920.0010
Template processing0.606595.219920.3032
Template load and register function0.00020.031610.0002
states
state_id_array0.00090.142210.0009
state_identifier_array0.00080.130220.0004
Override
Cache load0.00170.2665210.0001
Sytem overhead
Fetch class attribute can translate value0.00110.167740.0003
Fetch class attribute name0.00180.284280.0002
XML
Image XML parsing0.00150.234740.0004
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00090.1490280.0000
String conversion0.00000.001240.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
5content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs