1
johnjmk
Problem with cloned template
  • 2009/2/20 8:27

  • johnjmk

  • Just popping in

  • Posts: 10

  • Since: 2009/1/21


After I cloned the default template, when I tried to switch over to it in preferences I got the following error message:

Error: Smarty error: [in db:extcal_block_minical.html line 8]: syntax error: unclosed tag {if} (opened line 5). (Smarty_Compiler.class.php, line 317)

I looked at the code in this file and as far as I can see the {if} tag on line 5 DID have a closing tag. Also, the links to modules in the main menu were replaced with this:

<{$block.lang_home}> <{foreach item=module from=$block.modules}><{$module.name}> <{foreach item=sublink from=$module.sublinks}> <{$sublink.name}> <{/foreach}> <{/foreach}>
(Edit: I am only experiencing this problem when using the theme I was using when I cloned the default template)

It looks like maybe it's a problem with the extCal but I've never had a problem with the module, including the minical, but I don't know I'm new to this. If anyone could help me out with this it would be greatly appreciated. Thanks in advance!
-John

2
johnjmk
Re: Problem with cloned template
  • 2009/2/20 12:09

  • johnjmk

  • Just popping in

  • Posts: 10

  • Since: 2009/1/21


I just noticed something interesting. When I view the file on my computer, it is complete, but when I view it from the admin template blocks area the code is cut short.

3
johnjmk
Re: Problem with cloned template
  • 2009/2/20 12:24

  • johnjmk

  • Just popping in

  • Posts: 10

  • Since: 2009/1/21


Ok I got it. I just needed to edit the file in the cloned template to match the original code. Strange I had to do that though.

Login

Who's Online

73 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 73


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits