Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_component function
#1
hi everyone,
I'm having a trouble that I don't know why
if I type
Code:
<?php get_component('tagline'); ?>
it will output:
Just Another GetSimple Website<?

annoying <? breaks my template,
and I have solved this by omitting . "<?" in get_component function (admin/inc/theme_functions.php)
Code:
eval("?>" . stripslashes(htmlspecialchars_decode($component->value, ENT_QUOTES)) . "<?");
but does it effects other components ?
Reply


Messages In This Thread
get_component function - by NovaFooc - 2009-10-27, 13:48:21
get_component function - by ccagle8 - 2009-10-27, 20:20:49
get_component function - by NovaFooc - 2009-10-28, 10:18:54
get_component function - by ccagle8 - 2009-10-29, 06:57:52
get_component function - by NovaFooc - 2009-10-29, 15:52:31
get_component function - by ccagle8 - 2009-10-29, 20:12:04
get_component function - by n00dles101 - 2009-10-29, 21:07:29
get_component function - by Zegnåt - 2009-10-29, 21:58:18
get_component function - by n00dles101 - 2009-10-30, 00:23:38
get_component function - by ccagle8 - 2009-10-30, 11:29:19



Users browsing this thread: 1 Guest(s)