• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text blocks

What are some suggestions on handling a paragraph or text block when it doesn't make sense to create a view file for it and it seems excessive to store it in a database?

I don't want it in my controller. Any thoughts?

[eluser]Johan André[/eluser]
print "<p>Your text goes here</p>";

Preferably you put in yor controller, but if you don't want it in your controller or view then the model is the last resort. Smile

Another option would be to perhaps store it in a language file?

I was thinking of creating an includes folder and just storing the paragraphs there or as suggested, a language file using the DEFINE function.

[eluser]Johan André[/eluser]
Haha! Silly me... Now I actually understand what you asked for! Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.