Creating a link: Read more here

Author Message

Kjell Inge Sandvik

Saturday 30 April 2005 9:27:39 am

I have made a page that shows the articles Header and Intro. Under that, I want to show a link that take the reader to the full article. How do I do that?

Sorry for the stupid questions :-)

Sandvik Web & Data

Konrad Mazurkiewicz

Saturday 30 April 2005 3:54:14 pm

Look at line templates, there should be something like that:

<div class="readmore">
    <p>
       <a href={$node.url_alias|ezurl}>{"Read more"|i18n("design/shop/layout")}</a>
    </p>
</div>

Kjell Inge Sandvik

Sunday 01 May 2005 11:53:05 am

I don't quite get this...

The situation is that I have a main section on the page - kalled hovedfelt.tpl. In this I list all the articles (title and intro). Below this I want a link called "Read more" - and that link should show the article in the same main section of the page.

Which arguments do I have to give in the url to get this effect?

Sandvik Web & Data

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 07:27:50
Script start
Timing: Jan 19 2025 07:27:50
Module start 'layout'
Timing: Jan 19 2025 07:27:50
Module start 'content'
Timing: Jan 19 2025 07:27:51
Module end 'content'
Timing: Jan 19 2025 07:27:51
Script end

Main resources:

Total runtime0.0202 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.0077 589.1563152.6250
Module start 'layout' 0.00770.0043 741.781339.4609
Module start 'content' 0.01200.0060 781.242289.3516
Module end 'content' 0.01800.0021 870.593834.3047
Script end 0.0202  904.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002814.0634140.0002
Check MTime0.00125.9675140.0001
Mysql Total
Database connection0.00178.367510.0017
Mysqli_queries0.003617.641630.0012
Looping result0.00000.142810.0000
Template Total0.00178.610.0017
Template load0.00094.585110.0009
Template processing0.00084.020810.0008
Override
Cache load0.00063.010310.0006
General
dbfile0.00031.711780.0000
String conversion0.00000.060240.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.0002 secs