Hi,
It looks like Pier does not take into account the changes made to the
CSS using the Edit Design command. You can reproduce the error by just:
- Edit Design
- add: body { background: yellow;}
- save and nothing happens.
The strange thing is that the changes are stored, they just do not
affect the rendering.
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"What we can governs what we wish."
I am a bit stuck in a pre-Blueprint world. So I was having a look at it.
I loaded up the current, release of pier, and it is very clean and ready
to be styled. I miss the tree view, has it gone because it doesnt fit in
the layout?
Blueprint looks cool for some applications. I have one site which has a
fairly fixed layout, so blueprint appears to me to be an ideal solution
for that, but not, I fear for pier in general.
This appears to me to be a better fit, for general blogish/corporate sites.
http://www.contentwithstyle.co.uk/Articles/17/a-css-framework/
best regards
Keith
Hello Lukas,
I recently hit an error condition in rendering a component. Having
clicked 'debug', and continued, the PRContentsWidget refused to display
ever again!
Looking around I discover that beenHere has been set to true, and is not
getting reset, by anyone.
To fix this I modified
PRContentsWidget-#renderContentOn: html
beenHere ifTrue: [ beenHere := false. ^ self ].
self heading isEmptyOrNil ifFalse: [
html heading
level: 1;
class: 'heading';
with: self heading ].
beenHere := true.
[ html render: self component ]
ensure: [ beenHere := false ]
I am a bit behind the frontline at the moment, so cannot commit
effectively to the repo. It would be helpful to have a bit more
discussion as to where things are going, recent developments have been
hard to keep up with.
I would like to continue to plug Pier-Jetsam-Environment as the way to
go... The chosen Frame provides the central point for ALL configuration,
styles, js, environments, default content etc. Then we can publish our
examples i.e. a PierBlog example as a single class. This then provides a
standard mechanism for providing pre-packaged configurations. And as
explained before, the PRFrameAdmin is always available if you should
break your environment.
Finally, a suggestion, when a component fails to render, it is not
possible to use any commands on it, edit, move, remove etc. Even Damiens
remove children command is useless if the component that is broken is
embedded to a couple of levels. Could we please have something similar
to morphic's red box with a yellow cross. If an error occurs the debug
walkback could have a button, "Mark Component as Broken". Then that
component can be rendered as a red box, and the rest of the page will
remain usable. Could this facility be provided at the seaside level?
thanks in advance
Keith
I'm trying to learn how to hook into the pier security/user model but
I'm getting lost amongst
all the trees. Can someone point to the right couple classes/methods
to look in?
I got as far as PBEntry having an author and uuid but from there...
lost.
Trying to understand how I can use a Seaside application inside pier
and use
pier users/security etc.
Any and all help, big and small greatly appreciated.
Hello
In the class PRDistribution (Pier 1.0.17) I found that the methods makePrivate
and makePublic are identical. I assume this is an error. How does a fix look
like. Or do I need to load a Security addin/overlay which patches these
functions?
Kind regards
Hannes Hirzel
PRDistribution>>makePrivate
makePrivate: aStructure
aStructure securityDecoration owner: self kernel users anyOne.
aStructure securityDecoration otherPermissions: Set new.
aStructure securityDecoration group: self kernel groups anyOne.
makePublic: aStructure
aStructure securityDecoration owner: self kernel users anyOne.
aStructure securityDecoration otherPermissions: Set new.
aStructure securityDecoration group: self kernel groups anyOne.
Dear all
Currently I work with the one-click installation 1.0.17 of
http://www.piercms.com/.
Before I had the latest version of Pier installed into Squeak 3.10.2 through the
package "Universe".
I installed the package "Pier version current".
However it seemed that it was not the most recent version.
However it did not include the class PRDistribution which is in the one-click
installation 1.0.17.
How can I find out which (maybe minor version) I have got?
Something like
PRKernel version
in the sense of
Smalltalk version
I did not yet find such a version information.
Regards
Hannes Hirzel
I'm currently investigating approaches to an update/rewrite of a
publishing system we've developed (using Rails) which takes publications
stored as Docbook XML and renders a series of webpages with navigation
according to a set of common themes switched by metadata in the source
file. Pier looks a promising candidate, either on Squeak or Gemstone/S,
but I get the impression that Smalltalk XSLT libraries are fairly scant.
Is this right? I guess there would be the approach of calling out via a
web service or FFI to other libraries, but any advice would be appreciated.
--
International Baccalaureate Steve Lloyd Research Engineer
Publications group
Peterson House, Malthouse Avenue,
Cardiff Gate, CARDIFF CF23 8GL,
United Kingdom
Tel: +44 29 2054 7869
Fax: +44 29 2054 7778
Web: http://www.ibo.org
Hi All,
i development with GLASS and i found this problem:
i work araund the Error for MADescription with autoAccessor.
The problem is because first i rendering one subset of the description of the anModel with:
A) html render: ( descriptionKeyA descriptionKeyB ) asComponentOn: anModel
and after rendering all the descriptions with:
B) self call: ( anModel asComponent
addMessage: 'Input dati';
addValidateForm;
yourself)
I don't understand, but the system in this mode don't work.
This problem is only for the first time when description of the class and the relative structure and methods isn't alignment.
After when all is alignment all work.
In Squeak ( where it works fine ) i see:
when
at A) the system compile the class of model for the number of ( descriptionKeyA descriptionKeyB ) with autoAccessor set
and generated the relative I/O methods
at B) the system compile the class of model for the number of other description of model( descriptionDatoA descriptionDatoB ) with autoAccessor set
and generated the ralative methods
I think one temporany 'solution' is when i change one class with some descriptions set with autoAccessor
to update the structure with a specific command
anClass 'updateMAStructure'
I remain in everyway on disposal for eventual explanations.
Yours faithfully
Dario
Hi,
i work with Gemstone and i have some description based on MAFileDescription with kind set to: MAExternalFileModel.
My question are :
A) In my server where Gemstone load,
i have a directory /mnt/Foto with my fotos.
Now when, with one MAFileDescription, upload one or my foto,
the system save it in another directory follow the indication report in MAExternalFileModel comment.
Because it? It can't use my original file ?
If i have some 'Magritte' reference to the same foto the system save it in some different directory.
And if i have need to update one specific foto in /mnt/Foto how i can update the other directory (link)?
B) in the Ubuntu when the system save one foto in a specific subdirectory
( follow the indication report in MAExternalFileModel comment. )
it save the file but after i d'ont have enough autorizzation to display it.
How i can solve this ?
Thanks for any consideration.
Dario