RSS Feed Problems |
[eluser]Jings[/eluser]
Hey there, i am new here. I am from Cologne/Germany, so my English is not the best ![]() I have two problems with my RSS Feed made with Codeigniter. I used this Tutorial by Derek Allard (Really great Guy) http://www.derekallard.com/blog/post/bui...e-igniter/ Now, what have i to type in for German Language. I tried Code: $data['page_language'] = 'de'; //and Nothing works! =( The second Problem is, that the RSS Feed doesnt show every Entry of my Database. Model: Code: <?php There are only 5 Entrys in Database so why does the RSS feed only show 3 of them? Thanks in Advance, Jings
[eluser]InsiteFX[/eluser]
You need to create your own language file under application/language/ Say a directory of application/language/de You can read it here in the CodeIgniter User Guide. Language Class Code: Class Post_model extends Model{ InsiteFX
[eluser]Jings[/eluser]
Okay, Language Class is done ![]() But your Code doesn´t work... It throws an Exception. Quote:Parse error: syntax error, unexpected T_RETURN, expecting T_FUNCTION in C:\xampp\htdocs\kimmo_new\system\application\models\post_model.php on line 10 Model: Code: <?php Controller: Code: <?php View: Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |