Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi KK
Using gallery.php as a masterpage so a client can upload photos for multiple slideshows.
All the code is in correctly, but I can't get gallery.php to show up.
when i go to site/gallery.php it shows any text I have put on the page to test it, but it wont show up in the backend on the pages I need it to?

I found some code to test it:
Code: Select all
<cms:template title='Gallery' clonable='1' dynamic_folders='1' gallery='1'>

</cms:template>

Test Text

<cms:if k_user_access_level ge '10' >
<p><a target="_blank" href="<cms:admin_link />">EDIT</a></p>
<cms:else />
<h3>You cannot edit!</h3>
</cms:if>


"Test text" shows up
The EDIT link shows up
- that doesn't work when clicked, just shows http://localhost/swatch/<cms:admin_link/>
- sends me to an "Access Forbidden" page
And it says "You cannot Edit"

I am logged in as superuser.

The pages I am trying to upload the Images to are showing up the Gallery stuff in the backend and I can add photos no worries.

I have done an "Empty Cache and Hard Reload in Chrome
Tried in Firefox etc.

I'm assuming something isn't updating in the database proeprly, but I don't really know where to look


Any ideas?


Thanks

weebcho
Hello. Though the question you asked was intended to be replied by KK Sir, I felt to answer here.

Can you please confirm if you have inserted the boilerplate at the bottom, i.e.:
Code: Select all
<?php COUCH::invoke(); ?>


Please insert the same and check once again, if gallery.php registers to the backend. Hope it helps.

Regards,
GenXCoders
Image
where innovation meets technology
2 posts Page 1 of 1
cron