Worth a look, but I couldn't find this magic checkbox.  I thought I must 
have missed something so obvious.
Sorry Massimo,  I must have accidentally put the s there while having a 
look at layout.html.

Here is what I'm doing, keeping it as simple as possible  (using trunk 
version).

Steps:

1) From Admin screen, create a New simple application "auth_wiki_simpletest"
2) Edit default.py
3) change def index() function.   return auth.wiki()
4) Click on default/index.  The login screen appears.  Register a new user. 
 Then the _create/index page appears.
5) Enter a Page Name "Simple" and press "Create Page from Slug"
6) Press Submit.  The page appears.  So far so good.
7) Copy the url.   
http://127.0.0.1:8000/auth_wiki_simpletest/default/index/simple
8) Logout
9) Go back to the Welcome App 127.0.0.1:8000.  Displays OK without login.
10) Paste in the url: 
http://127.0.0.1:8000/auth_wiki_simpletest/default/index/simple
11) This page appears: 
http://127.0.0.1:8000/auth_wiki_simpletest/default/user/login



On Sunday, September 9, 2012 3:57:28 AM UTC+12, villas wrote:
>
> Just a thought,  but doesn't the wiki page have an is_public field?  If 
> so,  did you tick it?
>
>
>
> On Saturday, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote:
>>
>> Just Checking, were you logged in when you tried to open up the page ?  
>> Just to clarify, if I'm logged in it will take me directly to the page - 
>> as expected.  I wanted to test having pages available to users who haven't 
>> logged in - which for this case would be most people - the public.   I 
>> opened a new browser window, made sure I wasn't logged in to web2py, and 
>> pasted in the url of my new page.  I get the login screen.
>>
>> I've just tried it again at home, creating just a simple page (OK, I did 
>> add an extra css file to the layout).
>>
>> Screen shot attached of page (when logged in), and screen when I paste in 
>> the url.
>>
>> Apart from that, auth.wiki is looking great.  I'm experimenting with 
>> adding blocks with extra classes, allowing me to style them differently.   
>>  Can I specify classes to other elements, or is it just blockquotes ?
>>
>> P.S.  I'm getting a small S in the menu bar (app created from Welcome 
>> with no changes to menu)  - see screen shot
>>
>> Thanks
>>
>>
>> On Saturday, September 8, 2012 7:42:22 AM UTC+12, Massimo Di Pierro wrote:
>>>
>>> Strange. It should work even without url=True. You should be able to 
>>> paste any URL in markmin and it should work.
>>>
>>> MARKMIN(text, url=True)
>>>
>>> simply allows you to user the shortcuts @/app/controller/function/args 
>>> and they will be converted in http://..../app/controller/function/args 
>>> where app, controller and function are optional. You can do @///index for 
>>> example.
>>>
>>> On Friday, 7 September 2012 14:15:31 UTC-5, Andrew W wrote:
>>>>
>>>> No I didn't.   Only just found out about URL=True.  Di I pass as a URL 
>>>> variable ?
>>>
>>>

-- 



Reply via email to