Welcome Guest, Not a member yet? Register   Sign In
Show a single blog post?
#1

[eluser]afterspark[/eluser]
Hi everyone,

Like a lot of people, I'm learning CI by starting with the video tutorials.

Here is my question.

What do I need to do to go about displaying a single blog post? The video tutorial uses a foreach loop to display all blog entries, I want to include a "Read More" link that allows the user to view a single blog entry. But I have no idea how to do this. I'm pretty sure I need to create a model to get the data, but I've searched around and was not able to find any code showing how to accomplish this.

I have a view in place to handle the single blog post page, now I just need the code to generate the data.

I tried the solution from http://ellislab.com/forums/viewthread/57595/
but I got a ton of errors.

Any help would be great.

Thanks


Messages In This Thread
Show a single blog post? - by El Forum - 12-12-2007, 08:00 AM
Show a single blog post? - by El Forum - 12-12-2007, 08:29 AM
Show a single blog post? - by El Forum - 12-12-2007, 09:00 AM
Show a single blog post? - by El Forum - 12-12-2007, 05:32 PM
Show a single blog post? - by El Forum - 12-12-2007, 05:44 PM
Show a single blog post? - by El Forum - 12-12-2007, 07:28 PM
Show a single blog post? - by El Forum - 12-12-2007, 07:59 PM
Show a single blog post? - by El Forum - 12-12-2007, 08:48 PM
Show a single blog post? - by El Forum - 12-12-2007, 09:33 PM
Show a single blog post? - by El Forum - 12-13-2007, 08:33 AM
Show a single blog post? - by El Forum - 12-13-2007, 09:14 AM
Show a single blog post? - by El Forum - 12-13-2007, 09:19 AM
Show a single blog post? - by El Forum - 12-13-2007, 09:39 AM
Show a single blog post? - by El Forum - 12-13-2007, 09:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB