[pmwiki-users] skin template advice?

michael paulukonis xraysmalevich at gmail.com
Wed Oct 23 08:03:16 CDT 2013


Instead of "requiring people to create new pages" you can bundle pages with
a skin.

They come in a folder inside of the skin, but once edited are part of the
standard page repository.

This also allows you to ship documentation pages, etc.



-Michael Paulukonis
http://www.xradiograph.com
 <http://goog_2112721603>Interference Patterns (a
blog)<http://www.xradiograph.com%5Cinterference>
@XraysMonaLisa <https://twitter.com/XraysMonaLisa>
http://michaelpaulukonis.com
<http://www.BestAndroidResources.com>

Sent from somewhere in the Cloud
(hearthrug, by the fender)


On Fri, Oct 18, 2013 at 10:49 PM, Ian MacGregor <ardchoille42 at me.com> wrote:

> Thanks for the reply! Yes, I enjoy designing skins but reserve this method
> for my personal use as posting these types of skins on PmWiki.org would
> require people to create new pages.
>
> I searched for MouseSkin on pmwiki.org but couldn't find it. Was a page
> for this skin never created?
>
> Regards,
> Rev. Ian MacGregor
> http://www.ianmacgregor.net
>
> > On Oct 18, 2013, at 5:46 PM, Tamara Temple <tamouse.lists at gmail.com>
> wrote:
> >
> >
> >> On Oct 18, 2013, at 4:58 PM, Ian MacGregor <ardchoille42 at me.com> wrote:
> >>
> >> I am not always able to access my server via SFTP or a shell so I
> thought it would be easier for me to manage things as much as possible from
> the wiki. So, I have implemented my skin template as follows:
> >>
> >>  <body>
> >>    <div id="wrapper">
> >>      <div id="header">
> >>        <!--PageHeaderFmt-->
> >>        <!--wiki:Site.WebsiteHeader-->
> >>        <!--/PageHeaderFmt-->
> >>      </div>
> >>      <div id="sitenav">
> >>        <!--wiki:Site.SiteNavBar-->
> >>      </div>
> >>      <div id="content">
> >>        <div id="pageactions">
> >>          <!--PageActionFmt-->
> >>          <!--wiki:Site.PageActions-->
> >>        </div>
> >>        <!--PageTitleFmt-->
> >>        <h2>{$Title}</h2>
> >>        <!--PageText-->
> >>      </div>
> >>    </div>
> >>    <div id="footer">
> >>      <!--PageFooterFmt-->
> >>      <!--wiki:Site.WebsiteFooter-->
> >>    </div>
> >>    <!--HTMLFooter-->
> >>  </body>
> >>
> >> Is there anything wrong with this as long as I have the correct pages
> called from the .tmpl file?  I have designed a skin for my personal use and
> it seems to work as desired. However, I would like to know if this is a bad
> idea in the long run.
> >>
> >> Regards,
> >> Rev. Ian MacGregor
> >> http://www.ianmacgregor.net
> >> _______________________________________________
> >> pmwiki-users mailing list
> >> pmwiki-users at pmichaud.com
> >> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
> > This is very close to what I've done with MouseSkin. Nearly all aspects
> of the site's content is defined in wiki pages. It's sometimes a wee bit
> arcane (as the example with the menu you just posted prior) but it's not
> really hard to work with. Feel free to check MouseSkin if you want for
> examples, but also rolling your own is quite fun and instructive.
> >
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20131023/577fb4fd/attachment-0001.html>


More information about the pmwiki-users mailing list