Still no inline URL?

Author Message

Edwin Metselaar

Thursday 10 April 2003 6:39:18 am

Hi,
I have asked it prviously and no-one knew how to solve it. I am looking for a solution to the 'feature' that every object tag is surrounded with <p> marks.
Is there any way around it? Is there a place in the code that says where this is done??
I am getting quite desperate that the easiest things are the hardest to accomplish in ezP. The rest of the things seem to work quite nicely, only this rendering is tricky because I see no way to override it.

Thanks, Edwin

Edwin Metselaar

Thursday 10 April 2003 6:46:21 am

Hmm, I looked here:

http://www.cleara.com/content/view/full/62/

And what do I see? Inline URL's o other parts of the site. I dive into the source and see:
---
is posted in our <a href="/content/view/full/78" >news</a> section.
---

In other words: they have a solution right there, although I do not know the underlying code.
It might be:
---
<link href="/content/view/full/78">news</link>
---

So that is what I will try now as well and let you know if I get any further with that.

Edwin Metselaar

Thursday 10 April 2003 6:52:07 am

seems to work quite ok - hope it solves all my probs..

Quite silly I didn't try this before.

Paul Forsyth

Thursday 10 April 2003 4:48:06 pm

For the Cleara site, the part you are referring to was a xml datafield attribute that displayed using the standard ez3 templates for that attribute.

I believe there are ways to override the standard ways ez outputs html. Ive not yet tested the following but if you have a look for yourself you may perhaps find what you are looking for within:

~/ez3/design/standard/templates/content/datatype/view/ezxmltages/*

you will see lots of template files such as 'paragraph.tpl' where things like <p>. Either changing entries or putting in overrides (override/templates/content/....) should change the behaviour of your files.

Hope this helps.

Paul

Edwin Metselaar

Thursday 10 April 2003 11:34:35 pm

Thanks, I will check it out. I am actually not working on the back end of the site only the front end. I have admin privileges, but every change to templates I have to co-ordinate with a "back end" developer. That makes sure I will not break anything also :-)

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 30 2025 19:44:04
Script start
Timing: Jan 30 2025 19:44:04
Module start 'layout'
Timing: Jan 30 2025 19:44:04
Module start 'content'
Timing: Jan 30 2025 19:44:05
Module end 'content'
Timing: Jan 30 2025 19:44:05
Script end

Main resources:

Total runtime1.2582 sec
Peak memory usage8,192.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1250151.2109
Module start 'layout' 0.00630.0046 739.3359220.6719
Module start 'content' 0.01091.2464 960.00784,232.3281
Module end 'content' 1.25730.0008 5,192.335912.1875
Script end 1.2581  5,204.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2864160.0002
Check MTime0.00130.1069160.0001
Mysql Total
Database connection0.00100.080010.0010
Mysqli_queries1.168492.8641630.0185
Looping result0.00070.0520610.0000
Template Total1.202495.620.6012
Template load0.00170.132920.0008
Template processing1.200795.428620.6003
Template load and register function0.00160.127510.0016
states
state_id_array0.00090.074610.0009
state_identifier_array0.00170.136220.0009
Override
Cache load0.00150.1161330.0000
Sytem overhead
Fetch class attribute can translate value0.00170.134420.0008
Fetch class attribute name0.00290.228650.0006
XML
Image XML parsing0.00020.016420.0001
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00070.0570100.0001
String conversion0.00000.000940.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 5

Time used to render debug report: 0.0001 secs