Incredible software-- exactly what I was looking for! But after reading docs and forums I can’t find how to get the sitecake editor to display on pages other than the index.html?
Thank you for supporting us!
In current version (2.2.10), while in the edit mode, Sitecake adjust all internal links (relative links in <a> tags) on pages so they automatically open linked pages in the Sitecake edit mode.
For example, if there is a navigation section in index.html
, like this:
<nav>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</nav>
it will be rendered/adjusted as the follows:
<nav>
<a href="sitecake.php?page=index.html">Home</a>
<a href="about.html?page=about.html">About</a>
<a href="contact.html?page=contact.html">Contact</a>
</nav>
This way, it is enough just to click on a nav link and the linked page would be open in the edit mode.
It is also possible to open any other HTML page (in the root folder) in the Sitecake edit mode using an URL like this:
http://yourdomain.com/sitecake.php?page=<relative URL to page>
for example:
http://yourdomain.com/sitecake.php?page=products.html
Thanks,
Nikola
thanks, i had similar problems this wasnt working on my site.
found out cause i used./ in front of the links used in my menu like;
when i delete the ./ i dont have any problems anymore!
I cannot jump to other pages either. I check for ./ in my navigation structure. Nothing there.
If i look at the url when i hoover over my menu it says: site.com/sitecake.php?page=agenda.html
But when i click nothing happens?
Please help/advise
The same to me. Links to site.com/sitecake.php?page=otherpage.html show up on mouseover, but wont be executed onClick. Right click “open link in new tab” works.
Any ideas?
Looks like z-index problem. Might be the issue with your HTML.
In order to make <a>
tag editable you need to wrap it inside sc-content
div and <p>
tag. Like this
<div class="sc-content">
<p>
<a href="http://www.example.com">LINK EXAMPLE</a>
</p>
</div>
That’s it. Stand alone <a>
tags are still not supported.
Hi Guys,
I’m having exactly the same issue on my site richbrighton.com (currently in construction).
The page i’m trying to edit is http://richbrighton.com/books.html.
Entirely at the bottom, in the footer, I created a link “Edit” that contains following link:
http://richbrighton.com/sitecake.php?page=books.html
However, when clicking this link, I get in edit mode on index.html (but not on books.html)
I’ve already validated the code against w3c validator and it checks out (except for the suggestion to add the language code for latin, as it contains much lorem ipsum texts).
What am I doing wrong here?
Hi, since version 2.3.6 query parameter is changed from page to scpage (https://sitecake.com/docs/release-notes.html). So you should use scpage=books.html instead of page=books.html
Request parameter name for opening Sitecake on a page was changed from ‘page’ to ‘scpage’ because of some clashes. The change is from version 2.3.6, you can find it on release notes
For example:
sitecake.php?scpage=contact.html
Thanks Nik & Predragleka. Stupid I missed that!