Having battled my way through most of the upgrade to Pebble
version
2.2, I am now settling in to down the cosmetic tweaking, but
I am
having some difficulty doing so.
First of all, half of the help screens (especially those
involving
theme, decorators, and most if not all of the developer
notes) seem to
be missing, so this adds to the challenge.
In my case, I have upwards of ten or twelve different blogs,
with
Pebble running in multi-user mode, but with aggregation
turned off.
Basically, I need to include a few global javascript include
hooks as
well as some html snippets in places that get picked up in
different
groups of blogs without having to have individual
template.jsp and
screen.css files for each blog.
Ideally I would like to create around two or three different
themes
which larger groups of blogs could all share. This strategy
doesn't
seem to work very well as, regardless of what gets created
in the
webapps directory, the only themes which seem to appear in
the user
data directory are those associated with a particular blog.
I could
simply hack the default theme files to get what I want, but
unfortunately I have several different web domains all
sharing
different groups of blogs on the same back-end pebble web
application
server (so they all share the same default theme).
Short of that, I would settle for adding this kind of code
to the
template.jsp of each blog, but I seem to be running into
errors when
tweaking the individual template.jsp files, which results in
an
automatic reset to the default theme. The odd thing is
that the
actual template.jsp and screen.css files which initially get
placed
into the directory of each blog appear to be empty files, so
it isn't
clear what should be used as a starting point for these
theme files
(short of manually copying the source code from the files in
the
default directory).
Obviously, my problems are likely located somewhere in my
blog theme
files, most of which have been manually refreshed to the new
default
theme files, but which seem to contain errors of some sort.
Given
that I am an upgraded web site, I suspect that some of the
errors
could be lingering obsolete files hiding in the Tomcat work
directory
(or elsewhere).
I think a couple of features which would be helpful in
cleaning up the
mess which can quickly accumulate in these cases (especially
to people
such as myself who are upgrading) is a way to :
(1) Remove and/or archive an existing blog.
(2) Remove and/or archive an existing theme.
Either that, or simply some instructions on which files need
to be
removed to effect these changes. My guess is that, to
delete a theme
for example, there might need to be as many as three
different sets of
deletions. For example to delete a theme named
"Foo", the following
three directories might need to be deleted (assuming a
Tomcat web
container in this example) :
(1) /pebble/Foo/theme.
(2) /webapps/pebble/themes/user-Foo
(3)
/work/Catalina/localhost/pebble/org/apache/jsp
/themes/user_002dFoo
Most of the things I am attempting to change are relatively
trivial,
like shrinking the height of the header image from 200 to
100 so as to
better fit a custom header image I have successfully
substituted.
This sort of thing would seem like a simple edit to the
#header
section of the screen.css style sheet. Doing so doesn't
seem to
change anything however. It isn't until I change the
default theme
header image and reset to the default theme that I see any
changes.
This is obviously due to the fact that something is still
sensing bugs
hiding in my blog's theme files causing the reversion to the
default
theme every time (even though my theme files are themselves
copied
from the default).
Thanks
David McLure
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pebble-user mailing list
Pebble-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user
|