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:
"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 properly, but I don't really know where to look.
I should add that gallery.php doesn't show up in the templates table in the database either (not sure if it should).
Any ideas?
Thanks
weebcho
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 properly, but I don't really know where to look.
I should add that gallery.php doesn't show up in the templates table in the database either (not sure if it should).
Any ideas?
Thanks
weebcho