[pmwiki-users] Goal: Editing of sidebar to require password
weddingdj at gmail.com
Wed Nov 2 15:31:08 CST 2005
Goal: Editing of sidebar to require password
I thought I had it working so that the sidebar menu could not be edited. I
did something wrong when trying to edit the config.php file and now editing
the sidebar does not require a password. Here is my config.php file:
$WikiTitle = "Private Dance Lessons";
$DefaultPasswords['admin'] = crypt("12345");
## Use the CIS-Dept. Lean Skin and its printable view skin.
Note: I downloaded the config.php file using windows explorer with Windows
explorer ftp, modified it and then uploaded it using Windows Explorer. I got
some error messages. Then reformatted the file using notepad and uploaded it
again. The error messages went away, but not the password protection is
gone. Maybe this is a problem with how the file is uploaded?
website is: http://www.private-dance-lessons.com
What did I do wrong?
On 11/2/05, Tegan Dowling <tmdowling at gmail.com> wrote:
> I use the (:toc:) at the top of this faq:
> the recipe is in Cookbook/PageTableOfContents
> Hope that Helps.
> On 11/2/05, Waylan Limberg <waylan at gmail.com> wrote:
> > I redefined some Q&A markup for my FAQs pages so that each question
> > (Q:Some question) gets an anchor of "#Some_question". What I would
> > like to do is add a directive (possibly (:toc:)) to create an
> > unordered list of all the questions on the page. That way, all the
> > questions could be listed at the top of the page as links and one
> > could click to jump to the question and answer lower on the page.
> > It would be really cool if one could do (:toc pages=Some.Page,
> > Some.OtherPage ) to create a list of all FAQs on all listed pages.
> > Perhaps (:toc pagelist=Some.PageList:) would be better. Or how about
> > (:toc group=GroupName:) for a list of all FAQs on all pages in that
> > group.
> > Anyway, I have seen a couple references to (:toc:) before, but have
> > never found an explanation anywhere. I have gotten the feeling in the
> > past that there is a recipe somewhere that already does this, but
> > haven't been able to find it. Could someone point me in the right
> > direction.
> > If it doesn't exist, I just may do it myself. What would be the best
> > way to go about collecting all the anchors from a page (or Pagelist or
> > Group of pages) to build the list of questions? I think that would be
> > enough to get me started.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users