EllisLab Community Forums 0 Copyright (c) 2013 ExpressionEngine tag:ellislab.com,2013:05:24 Failover tag:ellislab.com,2013:forums/viewthread/.235563 2013-05-22T06:04:24Z 0 francois.cheminade82@orange.fr Hello,

I use codeigniter recently and I thank the team for their very good work.

I connect to a MSSQL database with the driver: $ db [‘default’] [‘dbdriver’] = ‘mssql’;

Can you tell me if it’s possible to use the Failover feature in the connection string recommended by ms, my sql server is in sync mode.

For example: DataSource = xx.xx.xx.xx; Failover Partner = yy.yy.yy.yy \ istd,

I also found on the internet a configuration like this: $ db [‘default’] [‘failover’] = array (array (... but it does not work.

Do you have any idea?

]]>
where/how can I edit the layout on a category page? tag:ellislab.com,2013:forums/viewthread/.235516 2013-05-20T14:13:48Z 0 girlLAKE62 Hi,
Excuse me if I ask a stupid question. I’m working on my first codeigniter project and so far I think it’s great.
I’ve been brought on board this project to change the format of the blog/category feed on a live site.
This live site has several categories, including “blog” which is set up as a category and that is how they want it. Some of the category pages are styled to display the title, image and excerpt of the first three entries for that category. I would like to style the “blog” category to display the same way.
1. How and where can I change the layout of that one category page? I imagine I can borrow some of the code for the already styled categories for the blog category.
2. How and where can I edit that feed so that the first 6 entries are displayed?
Thanks in advance for your help!

]]>
string html to pdf tag:ellislab.com,2013:forums/viewthread/.235634 2013-05-24T09:47:53Z 0 vagner25 there are suport to do that in codeigniter? idk.

$string = ‘<a>aaaaaaa<a>paragrafh’

convert $string format html to pdf. ty guys!

]]>
border doted or dashed in pdf tag:ellislab.com,2013:forums/viewthread/.235631 2013-05-24T09:11:02Z 0 vagner25 dows any1 knows how to put border dotted or dashed in pdf.
ex:
some text
—————————————————————————————
some text2
........................................................................

ideia?

]]>
is there any known bug in session lib of codeigniter 2.1.0 ? tag:ellislab.com,2013:forums/viewthread/.235628 2013-05-24T06:51:33Z 0 oblivion hi
im working on a website which is created with CI 2.1.0.

the thing i’ve notice is sometimes when i reload a page couple of time or open couple of pages very fast i get logged out .

this website is using a lib called Ion_authand for identifications

public function logged_in()
 
{
  $identity 
$this->ci->config->item('identity''ion_auth');
  return (bool) 
$this->ci->session->userdata($identity);
 

is there a bug or something that i should know about ?

$config['sess_cookie_name']  'cisession';
$config['sess_expiration']  7200;
$config['sess_expire_on_close'TRUE;
$config['sess_encrypt_cookie'FALSE;
$config['sess_use_database'TRUE;
$config['sess_table_name']  'cisession';
$config['sess_match_ip']  FALSE;
$config['sess_match_useragent'TRUE;
$config['sess_time_to_update'300

 

]]>
Load views in Controller or Model? tag:ellislab.com,2013:forums/viewthread/.235624 2013-05-24T01:57:02Z 0 flacznik Yesterday i red a book where the writer advise to load a view inside a model. Then simply call the function in controller like to show the page:

$this->load->model('display');
$this->display->mainpage($data); 

The question is - which way is more proper, to load the views inside controller or model? In my opinion is quite interesting to build the view inside a model…

]]>
How to replace some content in word file using codeigniter? tag:ellislab.com,2013:forums/viewthread/.235625 2013-05-24T02:27:19Z 0 ruadeveloper I had a word file template. I want to change some value of that template. I dont know how to do in codeigniter.

]]>
remove tags and atributs from html tag:ellislab.com,2013:forums/viewthread/.235603 2013-05-23T09:53:12Z 0 vagner25 does any1 knows how can i remove tags and atributes from html? i used strip_tags, but it just remove tags, and how can i remove the atributes?
thanks!

]]>
Shopping Cart tag:ellislab.com,2012:forums/viewthread/.215486 2012-04-19T07:29:33Z 0 jpk Hi All,
I need to develop a shopping cart website using codeigniter. I am new to codeigniter framework. Can any one give me the suggestions regarding the cart development using codeigniter and about the advantages and disadvantages?

]]>
Is CodeIgniter development dead? tag:ellislab.com,2013:forums/viewthread/.234985 2013-04-25T16:27:52Z 0 Alucemet I’ve been lurking and watching github for a number of months, and lately it seems that CodeIgniter’s development has slowed to the point where I wonder if it is a dead project. I think it has been a year since a version release, and wonder if anyone knows if V3 will ever be released.

]]>