Forums / Setup & design / Still no inline URL?

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 :-)

eZ debug

Timing: Jan 18 2025 02:08:03
Script start
Timing: Jan 18 2025 02:08:03
Module start 'content'
Timing: Jan 18 2025 02:08:04
Module end 'content'
Timing: Jan 18 2025 02:08:04
Script end

Main resources:

Total runtime0.8946 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0121 587.6875180.8438
Module start 'content' 0.01210.7303 768.5313498.5469
Module end 'content' 0.74240.1521 1,267.0781338.4375
Script end 0.8945  1,605.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.5044210.0002
Check MTime0.00160.1842210.0001
Mysql Total
Database connection0.00220.240810.0022
Mysqli_queries0.788288.10612000.0039
Looping result0.00170.18901980.0000
Template Total0.856095.720.4280
Template load0.00210.229820.0010
Template processing0.853995.460520.4270
Template load and register function0.00010.016010.0001
states
state_id_array0.00170.189410.0017
state_identifier_array0.00080.089720.0004
Override
Cache load0.00170.1877330.0001
Sytem overhead
Fetch class attribute can translate value0.00150.171830.0005
Fetch class attribute name0.00090.102350.0002
XML
Image XML parsing0.00040.049930.0001
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.03864.3173210.0018
String conversion0.00000.000830.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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