Welcome Guest, Not a member yet? Register   Sign In
customizing my pages
#1

[eluser]wilfred[/eluser]
How do I add themes, tables, forms and other effects to my pages?
#2

[eluser]Phil Sturgeon[/eluser]
That is a terrible question. Try again, with more detail about what you want to do.

Is a page dynamic database-content?
Do you mean dynamic forms, or using the form_helper?
What do you mean by a theme? Do you mean similar to skins?
What do you mean by effects?

You need to actually give us some information before we can help dude. This can't be your first forum!
#3

[eluser]BrianDHall[/eluser]
It seems you are confusing CodeIgniter with ExpressionEngine, or any other CMS (like PyroCMS).
#4

[eluser]wilfred[/eluser]
i meant like this, In the code below when I query form the database hippo and want to display results in a form layout. How do i create that form from the form helper?
<?php
class Blog extends Controller{

function Index()
{
$data[‘title’] = “party zone”;
$data[heading] = “lets rock and keep it rocking”;

$this->load->view(‘blogview’,$data);

$this->load->database();

$sql = “SELECT * FROM hippo WHERE manufacturer = ?”;

$this->db->query($sql, array(‘EABL’));
}

}
#5

[eluser]BrianDHall[/eluser]
There is no automagic form builder built in to CI. You might check the Ignited Code forum for extensions that allow this. There are quite a few, and the one I use is Datamapper Overzealous Extension with the HTMLForm and Array extensions that it comes with - but its primary purpose is ORM so not the best pick if you just want to ease form building.




Theme © iAndrew 2016 - Forum software by © MyBB