1
nthomson
HTML templates not being generated correctly in template_c, smarty problem
  • 2004/7/29 14:41

  • nthomson

  • Just popping in

  • Posts: 49

  • Since: 2004/4/13


Hi,

I had installed a new template called Zaza and had selected this template to be used as the Default template set in SystemAdmin -> Preferences -> General Settings.I started having the problems then.I could not update any modules. If I made changes to the html template files in the module it just wouldn't show the new changes, but still continue to use the old html template structure.

When we realized that we should only use the "default template" until we move the site completely into production, we changed it back to "default template".

But still the modules were not getting updated. When i check the templates_c folder, there are many partially created files called 41085cb0dbc52, 41085cb0ec166 etc.. instead of db%3Awfdownloads_index.html, db%3Awfdownloads_ratefile.html etc..So i cannot delete all the files in template_c and start all over cos the html files are not created properly in templates_c are not overwriting the existing html templates for that module

Has any one come across this problem ?

Appreciate any help..

Thanks,
Ann

eg:
The html file generated itself is not malformed, but it is not definitely getting named correctly as db%something.html

Example of incorrectly named file 41085cb0dbc52(which should have been correctly named as db%3Amydownloads_download.html)

<?php /* Smarty version 2.5.0, created on 2004-07-29 11:14:06
compiled from db:wfdownloads_download.html */ ?>
<?php if ($this->_tpl_vars['show_categort_title'] == true): ?>
<div style="margin-bottom: 4px;"><b><?php echo @constant('_MD_WFD_CATEGORYC'); ?>
</b><?php echo $this->_tpl_vars['down']['category']; ?>
</div>
<?php endif; ?>

<table width="100%" cellspacing="1" cellpadding="2">
<tr>
<td width="82%" align="left">
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/wfdownloads/visit.php?cid=<?php echo $this->_tpl_vars['down']['cid']; ?>
&lid=<?php echo $this->_tpl_vars['down']['id']; ?>
"><span class="itemTitle">
<font size="3"><?php echo $this->_tpl_vars['down']['title']; ?>
</font> </span></a> <?php echo $this->_tpl_vars['down']['icons']; ?>

</td>
<td width="18%" align="right" nowrap="nowrap">
&nbsp;</td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#000000"></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="even" style="line-height: 10px;">
<td width="50%"><small><strong><?php echo @constant('_MD_WFD_SUBMITTER'); ?>
:</strong> <?php echo $this->_tpl_vars['down']['submitter']; ?>

<?php echo $this->_tpl_vars['down']['adminlink']; ?>
</small></td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="line-height: 12px;" >&nbsp;</td>
</tr>
</table>
</tr>
</table>
<br />

2
tl
Re: HTML templates not being generated correctly in template_c, smarty problem
  • 2004/7/29 18:41

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Hope this tip helps.

http://xoops-tips.com/modules/news/article.php?storyid=22


3
nthomson
Re: HTML templates not being generated correctly in template_c, smarty problem
  • 2004/7/30 15:36

  • nthomson

  • Just popping in

  • Posts: 49

  • Since: 2004/4/13


Thanks a lot tl..Appreciate it..i haven't fixed it yet..will post if i am successful..

Ann

Login

Who's Online

212 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

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

Latest GitHub Commits