Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Demo Weblog
#1
Wink 
(This post was last modified: 05-25-2016, 11:09 AM by Code4fun.)

I've created a demo weblog here.

Features
  • Bootstrap 3 with a blog theme
  • A few parser examples (MY_Controller)
  • Static pages
  • News tutorial with CRUD
  • Pagination
  • A simple contact form with Captcha
  • Markdown parser
  • Highlight.js
  • CodeIgniter HTML Purifier Helper
  • HTML Purifier

Cheers Wink
Reply
#2

this looks great thanks for posting.
Reply
#3

(03-01-2016, 03:11 PM)cartalot Wrote: this looks great thanks for posting.

Thanks, cartalot.
Reply
#4

(03-01-2016, 07:08 AM)Code4fun Wrote: I've created a demo weblog here for new developers of the CodeIgniter Framework. Take a look!

Cheers Wink

Misuse of base_url().
If you use the parse method, do not put any php code in the view.
Reply
#5

(03-05-2016, 02:53 AM)Paradinight Wrote: Misuse of base_url().
If you use the parse method, do not put any php code in the view.

Good observation. I'm totally new with this parser stuff and the demo is a bit of a mix because of the crud example. Otherwise removing the base_url breaks the design.

What do you suggest?
Reply
#6

Change the css and js code to variables. In you my_controller, you can put methodes that add js/css. In the render() methode you can set the js and css variables.
Reply
#7

(03-05-2016, 04:58 AM)Paradinight Wrote: Change the css and js code to variables. In you my_controller, you can put methodes that add js/css. In the render() methode you can set the js and css variables.

That's possible but the base_url is there for the crud example.
If I remove the base_url and move the crud example to a backend then the problem is solved.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB