Newbie Question about Categories and Archives
Posted: 02 August 2004 06:46 PM   [ Ignore ]  
Summer Student
Total Posts:  17
Joined  05-16-2004

Hello: I’m still trying to wrap my mind around Expression Engine. I understand how to list categories and archives. But what is the code one uses to display the actual content on the target pages?

Somehow reading the documentation has not revealed the answer to me.

Thanks for your patience,

E.C.

Profile
 
 
Posted: 02 August 2004 10:18 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

> But what is the code one uses to display the actual content on the target pages?

I’m not sure I understand your question.  I’ll try and restate it as I think you mean.  Correct me if I’m wrong:

You know how to create a list of categories using the {exp:weblog:categories} tag.  The links from that list will point somewhere.  You want to know how to get that category’s content to list on the page to which the links point.


Basically, the target page (or Template, actually) simply needs to have a standard {exp:weblog:entries} tag on it.  The link URL will look something like this:

http://www.example.com/index.php/weblog/C12/

The “C12” in the URL automatically tells EE to restrict the display of entries to only those belonging to Category ID 12.  So, if you have a {exp:weblog:entries} tag on the target Template then EE will only list entries from category 12.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 04 August 2004 12:12 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  17
Joined  05-16-2004

Hello Chris: OK…I have categories working fine so far.

Thanks for your clear explanation. EE is definitely a full featured program and it helps to have someone explain it somewhat differently than in the Users Guide.

I think I am beginning to “get” EE, but it wouldn’t surprise me if I have more questions later on.

EC

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64914 Total Logged-in Users: 23
Total Topics: 81869 Total Anonymous Users: 18
Total Replies: 440134 Total Guests: 162
Total Posts: 522003    
Members ( View Memberlist )
Newest Members:  smilepolitelyrvmcleodbjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkey