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 robin - May 23, 2011

Hey,

I see you have "press release", and "announcement" in separate tabs. You'll need to copy the getRecords() and output code for each one into the correct tab in your code on the homepage. It is the same process as creating a list page, you just do it twice on one page.

Hope that helps,
Robin
Robin
Programmer
interactivetools.com