Welcome Guest, Not a member yet? Register   Sign In
Creating Pages
#5

[eluser]John_Betong[/eluser]
 
Hi Ashiro,
 
Welcome to the forum I am sure you will find the answers you require to your solution.
 
I converted my joke site to CI about couple of years ago. Initially I used a database table to store each separate joke/record. The joke was retrieved using "joke/show/123" or "joke/view/123". This worked but is tacky. A CI post suggested utilising a dummy title followed by the record number. The benefits of this is that it is SEO friendly and it also gives an indication of what to expect from the link.
 
Later I used redirection form my /joke/view/ and joke/show/ and currently have links such as:
http://johns-jokes.com/joke/of_the_day/W...Road/1409/
 
>>> but it does require the ability to add content in the form of pages.
>>> These pages would have fields like: "title", "meta keywords", "meta description", "body text", etc.
I save HTML coding into a joke/record field type longtext, maybe not the best choice but it does work. Just remember to format using nl2br(...) before displaying your data.
 
 
 


Messages In This Thread
Creating Pages - by El Forum - 05-24-2009, 03:32 PM
Creating Pages - by El Forum - 05-24-2009, 03:43 PM
Creating Pages - by El Forum - 05-25-2009, 01:40 PM
Creating Pages - by El Forum - 05-25-2009, 01:43 PM
Creating Pages - by El Forum - 05-25-2009, 07:43 PM
Creating Pages - by El Forum - 05-26-2009, 02:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB