• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Demo Weblog

#1
Wink 
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, 04:11 PM)cartalot Wrote: this looks great thanks for posting.

Thanks, cartalot.
Reply

#4
(03-01-2016, 08: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, 03: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, 05: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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.