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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
mobilexhtml
Forum Members
Forum Members
Posts: 28
Joined: Fri Feb 08, 2008 11:12 pm

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

Post 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..  :)
Last edited by mobilexhtml on Wed Mar 05, 2008 2:29 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”