Page 1 of 1

News module: How to link summary, content and morelink ?

Posted: Tue Mar 04, 2008 2:14 pm
by mobilexhtml
Hi

I am trying to do this: I use the news module to display pictures of videos (like a preview). When I edit in news I just put in a picture in content or summary, (for the most in content.) and link the picture to a folder that contains the video.

It works fine when people click the picture as they get forwarded direct to the folder. But how do I make the morelink link to the link in the content (hmm ?) ? Meaning the morelink should have the same link as the picture in content..

My code looks something like this:

else if $entry->content}


{eval var=$entry->content}

{/if}

Take a look at the {$entry->category}


{$entry->morelink}


Which gives me this:  __________________ 
                              l                                    <---right link
                              l        Picture             
                              --------------------------------
                              Take a look at the video
                                            Here            <---- wrong link..

Appreciate all help..

Thanks


I get somewhat what I want when using the Field Definitions, but it should be possible to do it also using selflink maybe, and edit the code a bit...I will continue trying even though I haven't got a clue what I'm doing..  :)