how to do a pop up window

Author Message

eve f

Sunday 19 December 2004 10:05:44 pm

for the link "read more", i want it to open a new window.. how shld i write the code..

i try:
target="_blank", and also usign dreamweaver to create javascript, but tboth ways don't work..

What is the correct method to use??

Balazs Halasy

Monday 20 December 2004 12:10:52 am

Hi,

This should work:

<a href={$node.url_alias|ezurl} target="_blank">Read more...</a>

...did you remember to clear the caches?

Allman

eve f

Monday 20 December 2004 1:36:51 am

oh.. okie.. i try again.. i gt mani questions.. hope u don't find me a bother..

my questions:
1) by the way, how to clear the cache?
2) how to display only the image without the name and caption??

Ulrich L.

Monday 20 December 2004 3:25:34 am

ad 1)
admin siteaccess -> setup -> cache management

ad 2)
Did you alraedy start getting into the template system and the tamplate language? The presentation of the image is controlled by a certain template. While changing or better overriding it you control the output according to your design ideas.

eve f

Monday 20 December 2004 6:19:51 pm

ok. thanks alot.. and for the image, how can i call the image randomly?? any functions??

<option value="{$:item.id}">{$:item.name|wash}</option>

where the the item.id n item.name placed in?? which file or function??

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

Main resources:

Total runtime0.0167 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.0060 590.2734152.6250
Module start 'layout' 0.00600.0037 742.898439.4453
Module start 'content' 0.00970.0046 782.343889.4453
Module end 'content' 0.01440.0023 871.789134.3047
Script end 0.0167  906.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.6306140.0002
Check MTime0.00137.8794140.0001
Mysql Total
Database connection0.00053.089110.0005
Mysqli_queries0.003319.665730.0011
Looping result0.00000.106910.0000
Template Total0.002011.710.0020
Template load0.00095.187910.0009
Template processing0.00116.495910.0011
Override
Cache load0.00063.704610.0006
General
dbfile0.00021.420680.0000
String conversion0.00000.034240.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.0001 secs