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 -->
<{if $mpb_30_titulo}><h1><{$mpb_30_titulo}></h1><{/if}>
<{if $relateds}>
<BR />
<{foreach item=rel from=$relpages}>
<li><a href="<{$rel.link}>"><{$rel.titulo}></a></li>

<div style="padding: 0px; text-align: right; margin-right:3px;">
<{if $xoops_isadmin||$mpu_isauthor}>
<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">
<{$autor}><BR />
<{$criado}><BR />
<{$atualizado}><BR /><BR />
<{$contador}><BR /><BR />
<{$zerar_cont}> <{$editar_pagina}>

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

<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"}>
<!-- /Comentários -->

I'm clueless now. Please help. Thanks!

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


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.

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

  • ccm1121

  • Just popping in

  • Posts: 4

  • Since: 2009/12/15

Thanks ediponho for the information!



Lost Password? Register now!

Who's Online

76 user(s) are online (49 user(s) are browsing Support Forums)

Members: 0

Guests: 76



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