1
ccm1121
Help - Mastop Publish
  • 2011/9/8 2:36

  • ccm1121

  • Just popping in

  • Posts: 4

  • Since: 2009/12/15


All the articles created with the Mastop Publish Module in my website become inaccessible. The sites display the following error when the visitor click on the article created with the MasTop Publish :



Error : Smarty error: [in db:mpu_index.tpl.html line 34]: syntax error: unclosed tag \{if} (opened line 30). (Smarty_Compiler.class.php, line 317)




When I check on the mpu_index.tpl.html in the module, it seems like no error. The code for the files is as follow :


<!-- Mastop Publish V.<{$mpversion}> - http://www.mastop.com.br -->
<{$navigation}>
<{if $mpb_30_titulo}><h1><{$mpb_30_titulo}></h1><{/if}>
<{$content}>
<{if $relateds}>
<BR />
<b><{$related_label}></b>
<ul>
<{foreach item=rel from=$relpages}>
<li><a href="<{$rel.link}>"><{$rel.titulo}></a></li>
<{/foreach}>
</ul>
<{/if}>


<div style="padding: 0px; text-align: right; margin-right:3px;">
<{if $xoops_isadmin||$mpu_isauthor}>
<{$tools_image}>
<div id="admin_page" style="text-align:left; clear: right; float: right; width: 270px; padding-left: 10px; padding-bottom: 5px; border: 2px solid #9C9C9C; background-color: #F2F2F2; display:none; margin: 10px 10px 10px 10px; z-index:10000">
<h4><{$infos}></h4>
<{$autor}><BR />
<{$criado}><BR />
<{$atualizado}><BR /><BR />
<{$contador}><BR /><BR />
<{$zerar_cont}> <{$editar_pagina}>
</div>
<{/if}><{$recomendar}><{$imprimir}>
</div>

<{if $comentarios == 1}>
<br /><br />
<div style="text-align: center; padding: 3px; margin: 3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>

<div style="margin: 3px; padding: 3px;">
<!-- Comentários -->
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- /Comentários -->
</div>
<{/if}>



I'm clueless now. Please help. Thanks!

2
edipinho
Re: Help - Mastop Publish
  • 2011/9/8 11:35

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


Hi ccm1121

Mastop_publish done adaptations for more recent version and it changed the name module for "conteudo" and this working perfect in the new versions.

http://www.guxbrasil.org/modules/TDMD ... inglefile.php?cid=2&lid=9

Have fun

Quote:

If you have to use the same module, the modification it is just in these mistakes.

I read an explanation in the net on this, I sought and I didn't find.
I will seek here in my PC if I have some thing to aid you in that modification to use the same module.

I believe that it is this, him this in portuguese.
http://xoopsrs.uni.cc/uploads/baixar/Resolvendo_Mastop_Publish.zip



3
ccm1121
Re: Help - Mastop Publish
  • 2011/9/9 9:11

  • ccm1121

  • Just popping in

  • Posts: 4

  • Since: 2009/12/15


Thanks ediponho for the information!

Login

Username:
Password:

Lost Password? Register now!

Who's Online

79 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 79


more...

Donat-O-Meter

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

Latest GitHub Commits