We help IT Professionals succeed at work.
Get Started

Could you point what is causing this strange behaviour at views Codeigniter's pages?

Eduardo Fuerte
Last Modified: 2015-12-11
Hi Experts!

Could you point what is causing this strange behaviour at view Codeigniter's pages?

From a day to another it strangely starts.

The view page is presented at the left page and after a choice is done another view must be presented at the right.


Open in new window

View that presents the left part:

<br/><div id="container_principal">
	<div class="row">
        <h3>As Câmaras </h3><hr class="hr_titulos"/>
		<div class="col-md-12">
         <script type='text/javascript'>
              // Executa o evento CLICK em todos os links do menu
               $('#ascamaras a').live('click',function(){
                // Faz o carregamento da pgina de acordo com o COD da pgina, que vai pegar os valores da pgina page.php.
                return false;
			<div class="row font">
				<div class="col-md-4">
					<!--<ul class="list-group" >-->
					$table= array(
						'table_open'=> '<table class="table table-hover name="ascamaras" id="ascamaras">',
						foreach($resultadoCamaras as $resultadoCamaras){
							$this->table->add_row(anchor("camarashome/visualizarCamara/$resultadoCamaras->idcategoria",ucwords($resultadoCamaras->nome),"class='links' style='font-size:14px;' id=''"));
						echo $this->table->generate();
						echo"<div class='paginacao'>";
						//echo "<br/> $paginacao"; 
						echo "</div>";

                <div class="col-md-7" id="camara">

Open in new window

The second part must be presented at right (and it was)  but instead of it another page is oppened without any configuration.

the view that must to show at the right

	<div id="container_principal">
		        <div class="row font">
						foreach($dadosCategoria as $dadosCategoria){
								echo "<div class='col-md-12 '>";
									echo "<h4 class='font'>Câmara Setorial de "; echo ucwords($dadosCategoria->nome); echo"</h4><hr class='as_camaras'/>";
								echo "</div>";	
		        			echo "<div class='col-md-6'>";
							echo "<h4  class='font'>Presidente</h4><p>"; echo ucwords($dadosCategoria->presidente);"</p>";
							echo "<h4  class='font'>Endereço</h4>
							<p> Entidade: "; echo mb_strtoupper($dadosCategoria->entidade);
							echo "<br/>Email: $dadosCategoria->email<a href='mailto:";echo $dadosCategoria->email;echo"?subject=Contato C&acirc;mara Setorial'><img src='";echo base_url('assets/img/camaras/mail.jpg'); echo "'border='0' title='contato' alt='Contato' /></a><br/>
							 	"; echo ucwords($dadosCategoria->endereco);echo"<br/>
								CEP: $dadosCategoria->cep<br/>
		        <div class="col-md-5">
		         	<h5  class="font"><b>Atas</b></h5>
							$options = array ('' => 'Selecione uma ata');
							foreach($dadosArquivos as $dadosArquivos){
								$ata= base_url("$dadosArquivos->arquivo");
								$options[$ata] = $dadosArquivos->nome;
							//echo form_dropdown('atas', $options,'','class="atas" id="atas" onchange="document.location.href=this.value" target="_blank"');
							echo form_dropdown('atas', $options,'','class="atas" id="atas" onchange="window.open(this.value)" target="_blank"');
					<div class="col-md-10"><br/>
						<h5  class="font"><b>Propostas e Projetos em andamento</b></h5><hr class="as_camaras"/><br/>
                        <ul class="paginacao">
							foreach($dadosProposta as $dadosProposta){	
								echo "<li style='text-align:justify'>";echo ucfirst($dadosProposta->proposta); echo ".</li>";	
								echo "
								<li><a href='"; echo base_url('arquivos/camaras/custo_de_producao_seringueira_cam_tec_12_08.pdf');  echo"'  target='_blank'>Custo de Produção e Rentabilidade da Cultura da Seringueira.(Clique e faça download)</a></li>";
		           <!--<a  href="<?php echo base_url('camarashome/camaras');?> "><img src="<?php echo base_url('assets/img/camaras/voltar.png');?>"></a>--><br/><br/>

Open in new window

Could you point what could be done to correct it?

Thanks in advance!
Watch Question
Most Valuable Expert 2020
Most Valuable Expert 2018
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE