Problem in pagination class link display - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem in pagination class link display (/showthread.php?tid=42219) |
Problem in pagination class link display - El Forum - 05-30-2011 [eluser]oldrock[/eluser] Hi, when i use the pagination helper , i am not getting the current link highlighted. (i.e) when i am in second page i need number 2 in that pagination link to be highlighted and i should not get href for that 2 . how can i achieve the above using the pagination class. can anybody please give me the solution please . i have mentioned my configuration lines below. Code: $config['base_url'] = base_url()."onboard.php/onboard/createrp/relyingpartylist/page/"; Thanks in advance Problem in pagination class link display - El Forum - 05-30-2011 [eluser]cideveloper[/eluser] The reason you are not getting the current link highlighted is because you have set Code: $config['cur_tag_open'] = ''; Is there a reason you are setting these values to blank? The default surrounds the number by a "strong" tag. You are removing that "strong" tag Problem in pagination class link display - El Forum - 05-30-2011 [eluser]InsiteFX[/eluser] Next time you post please use code tags! Look at all your qoutes in your code you posted and you can see why. InsiteFX Problem in pagination class link display - El Forum - 05-31-2011 [eluser]oldrock[/eluser] hi , thanks for the reply No reason for leaving it blank, then what can i set to make that highlighted. thanks in advance Problem in pagination class link display - El Forum - 05-31-2011 [eluser]InsiteFX[/eluser] Maybe you should clarify as what you mean by highlighted! As cideveloper mentioned you need to add the <b> and </b> tags. Unless you mean something else by highlighted. InsiteFX Problem in pagination class link display - El Forum - 05-31-2011 [eluser]cideveloper[/eluser] Remove the 2 config settings and it will go back to the default. |