How to show "News" and "Announcement" info on my index page?

7 posts by 3 authors in: Forums > CMS Builder
Last Post: May 23, 2011   (RSS)

By jacgo - May 19, 2011

Hi

I have "News press" and "Announcement" list page and detail page.

I want the list page information also can show on Homepage.

When user click the information. it can go to "News" or "Announcement" list page.

How to do it?

Thanks!

Jac go

Re: [jacgo] How to show "News" and "Announcement" info on my index page?

By Jason - May 19, 2011

Hi Jac go,

So on your homepage, you want to display a list of news and announcements, but when a user clicks on them, they go to the news or announcements list page, not the detail page. Is that right?

If so, you can simply hardcode a link to your list pages instead of using the ['_link'] pseudo field. For example:

<a href = "newsList.php">See More</a>

Is that what you're looking for?

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] How to show "News" and "Announcement" info on my index page?

By jacgo - May 19, 2011

sorry for my poor english..

It's not really what I want.

My mean is
My Home page can see news list and announce list.

Hope you can understand..

Thanks a lot for your help.

Re: [jacgo] How to show "News" and "Announcement" info on my index page?

By Jason - May 20, 2011

Hi,

What you can do is copy and paste the getRecords() and output code that was on your news and announcements list pages and place it where you want on your home page.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] How to show "News" and "Announcement" info on my index page?

By jacgo - May 20, 2011

Please see http://www.ctrbs.org/index.php

Do I need to post any <?php> code in my top of my index (home page)?

Can you give me whole code to do it? thanks!

There are many information in my index(home page). "newsList" "announcementList" "faqList"

I don't know what php code I need to post.

Big Thanks!!

Re: [jacgo] How to show "News" and "Announcement" info on my index page?

By jacgo - May 23, 2011 - edited: May 23, 2011

Is there any one who can reply or support me??

This is our site:http://ctrbs.org/

In our homepage. I would like to show "Press release" & "Announcement" together on our homepage.

"Press release" & "Announcement" all are created from cmsAdmin mutil recode.

Now I want it show both on our Homepage (http://ctrbs.org/index.php)

I know how to create the newsList.php and newsDetail.php

but how to created the code on my homepage? ...I don't know how to create in the head of the index code page..

Hope someone who can help me...

Thanks!!