This is awesome!!!

Thanks guys!! I will look into this first thing in the morning! Woohooo!

Andry


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of tportman
Sent: Monday, 25 July 2011 10:38 PM
To: RedDot CMS Users
Subject: Re: Latest news box

Hey guys I used JS for a news list pagination and it works really
well:
http://www.dynamicdrive.com/dynamicindex17/virtualpagination.htm


On Jul 25, 9:36 am, Jian Huang <[email protected]> wrote:
> Hi Andry,
>
> Nay ho!
>
> Thanks for the screenshot, that explains things a lot better.
>
> Use a regular list blockmark instead of rendertag in this case.
>
> Also, for your lst_links, you have to set it to use the same target 
> container as lst_news.
>
> If you select the list in SmartTree, in Action Menu, there is "Edit 
> Sort Order Settings" can you can set so the list only displays x 
> number of pages and set what to sort by.
>
> Also, just a side note, I would recommend not use target container in 
> the project.  Can't the news pages connected to lst_news be full 
> pages?
>
> Best,
>
> -Jian
>
> On Jul 25, 10:06 am, "Andry Poernomo" <[email protected]>
> wrote:
>
>
>
> > Hi Jian Huang,
>
> > Ni hao!
>
> > Thank you for your help.
>
> > Your solution works for the News List page, but it does not work for 
> > other pages not connected directly, i.e the Home page.
>
> > I am now able to get the components of the newsletter across using 
> > the following code:
>
> >         <reddot:cms>
> >             <foreach itemname="item"
> > object="Context:Pages.GetPage(Guid:37769843C6F346D78F659B624E252B3B)
> > .Elemen­t s.GetElement(lst_Links).Value" countername="counter">
> >                 <htmltext>
> >                     Title <%!!
> > Store:item[Int32:counter].Elements.GetElement(hdl_Title).Value 
> > !!%><br/>
> >                     Date <%!!
> > Store:item[Int32:counter].Elements.GetElement(stf_NewsDate).Value 
> > !!%><br/>
> >                     Thumb <%!!
> > Store:item[Int32:counter].Elements.GetElement(img_Thumb).GetHtml() 
> > !!%><br/>
> >                     Teaser <%!!
> > Store:item[Int32:counter].Elements.GetElement(stf_Teaser).Value
> > !!%><br/><br/>
> >                 </htmltext>
> >             </foreach>
> >         </reddot:cms>
>
> > The problem is, I don't know how to only get the two latest newsletters.
> > Plus, this is currently sorted by the hdl_Title instead of by date.
>
> > What do you think is best to solve this problem?
>
> > By the way, attached is my project structure.
>
> > Cheers mate!
>
> > Andry
>
> > -----Original Message-----
> > From: [email protected]
>
> > [mailto:[email protected]] On Behalf Of Jian Huang
> > Sent: Monday, 25 July 2011 9:56 PM
> > To: RedDot CMS Users
> > Subject: Re: Latest news box
>
> > Hi Andry,
>
> > Sounds like you are almost there.  Just 2 things
>
> > If you select the list in SmartTree, in Action Menu, there is "Edit 
> > Sort Order Settings" can you can set so the list only displays x number
of pages.
>
> > Next thing about date, headline, teaser, in the list within the 
> > content class, edit it's property, there should be an option 
> > "Transfer element content of following pages".  Check that to do 
> > what the option says.  Please remember, that the date, headline, and 
> > teaser element must also exist the your latest new content class in
order for the pull through to work.
>
> > Best of luck with everything you are doing.
>
> > -Jian
>
> > On Jul 23, 8:36 am, Andry <[email protected]> wrote:
> > > Hi guys,
>
> > > I already have news list and news pages. And now I need to have a 
> > > latest news box in the home page that displayes two latest news. I 
> > > could already display the hdl_Title of the news by referencing 
> > > lst_Links to list of news. The question is, how do I get the date, 
> > > teaser and title of the news to the latest news box at the homepage?
>
> > > Thanks for your help guys :)
>
> > > Andry
>
> > --
> > You received this message because you are subscribed to the Google 
> > Groups "RedDot CMS Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
athttp://groups.google.com/group/reddot-cms-users?hl=en.
>
> >  newslist.jpg
> > 137KViewDownload- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to