Share » Forums » Setup & design » Tip a friend : I can't manage to send...

Tip a friend : I can't manage to send the correct url :( . Someone ?

Tip a friend : I can't manage to send the correct url :( . Someone ?

Monday 08 December 2003 1:54:05 am - 4 replies

Modified on Wednesday 10 December 2003 6:58:31 am by laurent le cadet

Author Message

Claus Jensen

Wednesday 10 December 2003 7:22:42 am

Hey, I'll try to help you this time ;)
Are you in the correct namespace? I.e. if you have done a section above you should perhaps use $:item.node_id or $namespace:item.node_id.

hope this helps

cheers,
claÜs

laurent le cadet

Wednesday 10 December 2003 8:05:55 am

Hi again Claüs,

I tryied your suggestion ($:item.node_id) but still the same result :

The link send by mail : http://www.lestudiot.com/content/view/full/

... :(

Another thing : the link to go back to the original node after sending the form gives me this :

____________________________________________________
Object is unavailable
The object you requested is not currently available.

Possible reasons for this is.

The id or name of the object was misspelled, try changing it.
The object is no longer available on the site.
__________________________________________________

because the URL is : http://www.lestudiot.com/studiomanager/index.php/content/view/full/

Claus Jensen

Thursday 11 December 2003 12:31:32 am

Morning Laurent,
Looking at your code again: <a href={concat("/content/tipafriend/",$node_id)|ezurl}>Tip a friend</a>

Dont you need to write $node.node_id instead of just $node_id? I swear there is something wrong with that.
Have you done debugging? If not try this: {$node|attribute(show)} for lesser debug-info do {$node|attribute(show,1)} Or... try to just write out {$node_id}, Im almost sure the content will be nothing.

cheers,
claÜs

laurent le cadet

Thursday 11 December 2003 8:44:41 am

Dear Claüs,

<a href={concat("/content/tipafriend/",$node.node_id)|ezurl}>Tip a friend</a>

THAT'S CORRECT !

Thanks.

Hope to help you again.

Laurent.

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

36 542 Users on board!

Forums menu