forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: nicopilami on December 19, 2013, 12:29:42 am

Title: template issue
Post by: nicopilami on December 19, 2013, 12:29:42 am
Hi
I tried to modify the index.php file, with no luck.
Then, I removed all the modified line, and thought it was OK, but it was not.
Since this facts, I encount th following message when an anonymous user tries to come in the cpg homepage :
(logged users coming from my bridged phpbb are OK)

Code: [Select]
Template error
Failed to find block 'allow_memberlist' (#<!-- BEGIN allow_memberlist -->(.*?)<!-- END allow_memberlist -->#s) in :
<ul class="dropmenu">
         
                        <!-- BEGIN home -->
                        <li>
                            <a href="{HOME_TGT}" title="{HOME_TITLE}" class="firstlevel" ><span class="firstlevel">{HOME_ICO}{HOME_LNK}</span></a>
                            <ul>
                               
                               
                               
                       
                               
                            </ul>
                        </li>
                        <!-- END my_gallery -->
                       
                        <!-- BEGIN register -->
                        <li>
                            <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"  class="firstlevel" ><span class="firstlevel">{REGISTER_ICO}{REGISTER_LNK}</span></a>
                        </li>
                        <!-- END register -->
                        <!-- BEGIN login -->
                        <li>
                            <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}"  class="firstlevel" ><span class="firstlevel">{LOGIN_ICO}{LOGIN_LNK}</span></a>
                        </li>
                        <!-- END login -->
                       
</ul>

Thanks for your help
Nico
Title: Re: template issue
Post by: Αndré on December 19, 2013, 09:26:19 am
Please restore the index.php file with a clean copy from the Coppermine package. I assume it won't fix your issue, as it's probably related to your theme. So please attach your whole theme as zip file to your next reply.
Title: Re: template issue
Post by: nicopilami on December 19, 2013, 09:05:32 pm
index.php & Curve theme restored, it works now

Thanks
Nico