Hi Lost Admin

You should be able to set up a startup action that examines the URL pathname 
and assigns different values to configuration tiddlers accordingly. See:

https://tiddlywiki.com/prerelease/#StartupActions:StartupActions%20InfoMechanism

Best wishes

Jeremy.

> On 29 Nov 2018, at 17:42, Lost Admin <[email protected]> wrote:
> 
> Probably best to explain with examples so ...
> 
> If I go to https://admin.example.com/website/ I want have the sidebar (and 
> edit-tools) show. This would be the default behavior for tiddlywiki.
> 
> But if I go to https://website.example.com/ I will be shown the same 
> tiddlywiki file but I want to hide all the editing/admin functionality of 
> tiddlywiki so it looks more like a normal website.
> 
> I'm using Tiddlywiki as a sort of CMS for some very small hobby projects. I 
> want the public facing side of things to look like normal websites. I expect 
> I should be able to have CSS that makes the administrative parts of 
> tiddlywiki display:none. I've seen some examples of conditional display 
> (related to screen resolution). Is there a way to do it based on hostname or 
> a cookie (I could have the web server set a cookie).
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/3c082e88-631a-4070-84aa-55afcc329413%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/3c082e88-631a-4070-84aa-55afcc329413%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/83FCF492-CDED-4D90-AACE-DBCCC879B6F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to