3 in 1 (link to frontpage, file upload, gd error)

3 in 1 (link to frontpage, file upload, gd error)

Tuesday 01 April 2003 6:57:28 pm - 4 replies

Modified on Wednesday 02 April 2003 2:03:39 am by Kaiko Kaur

Author Message

Karsten Jennissen

Tuesday 01 April 2003 11:39:49 pm

As for (1): http://ez.no/manual/user/everyday#Tags

The others I can't help you right now.

Karsten

Kaiko Kaur

Wednesday 02 April 2003 2:01:37 am

about this link.
I have found this url and as I can understand I should write like this:
<link id='2'>to main page</link>

But it doesn't work. So - can you give me example? How exactly should I write this? And where should I get this id?

Karsten Jennissen

Wednesday 02 April 2003 4:34:02 am

Hi Kaiko,

when I looked through the forums I found that we were on this subject earlier (http://ez.no/developer/ez_publish_3/forum/general/link_to_node_with_different_title) :-)

However, I can't help you with this, since I have only used the <link href='...'> function. Be sure to use single quotes, double quotes didn't work for me. As for the id (which according to the above thread should be the object id), you could try different ids, play around, maybe you'll find an id that is working and deduct from that how it should be?!

Regards,
Karsten

Wenyue Yu

Thursday 10 April 2003 7:40:29 am

>about this link.
> I have found this url and as I can >understand I should write like this:
><link id='2'>to main page</link>

The code should work if id 2 does exist in table ezurl. After storing, the input will be changed to <link href='url of id 2'>to main page</link>

If you want link to frontpage, you can write like this:<a href="content/view/full/2">here</a> or <link href="content/view/full/2">here</link>.

To upload file and link to it, you need first create a class which has attribute binaryfile, then create an object of this class. You can either link it as embeded object ( find related object first ) or just use code <link href="content/view/full/object_id>file object</link> to link it.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.