Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
edit the appearance of flash_data messages
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
edit the appearance of flash_data messages
El Forum
Guest
#1
02-03-2010, 11:48 PM
[eluser]max123[/eluser]
is there a way to change the appearance of flash_data messages
eg:
$this->session->set_flashdata('message', 'Please login to view this page.');
this message is displayed in default red color. How can i change the colors and size etc.?
El Forum
Guest
#2
02-04-2010, 01:05 AM
[eluser]Rob Gordijn[/eluser]
when echo'ing your flashdata, put it in i.e. a <div class="flash"> div.
then apply some css to that class (like a border, color, bgcolor etc)
cheers
El Forum
Guest
#3
02-04-2010, 01:11 AM
[eluser]max123[/eluser]
Thanx a lot buddy
El Forum
Guest
#4
02-04-2010, 01:12 AM
[eluser]Rob Gordijn[/eluser]
NP, go have a blast with your flashdata, I use it a lot
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB