I'm considering using Pier for a project, but am concerned that the
documentation seems quite sparse. I almost certainly will want to
extend it.
I know there's documentation on Seaside; it's the Pier part that
concerns me.
Am I missing something?
Ross
Sorry to bother again with this, but I really need it.
I need to internationalize Pier components. I am doing a site with Pier for
Spanish people. The final user has access to Pier components. For example,
it can leave comments or even post. But pier components have the html
outputs in English. For example when you are going to create a post you have
"author, publish, tags, ..." and I want "autor, publicacion, etiquetas...".
I think Pier give CMS a new and higher level to CMS. I think there is a
field in websites that can start being done with Pier, but they are no "CMS
traditional". For example, in my case, I am making a tourism website with
Pier. This sounds strange isn't it ? However It give me lots of features:
1) Do a lot with very little time and code
2) Dynamism: I can modify my website at any moment just using a browser.
3) The website can be built with business people. For example my friend
(Tourisim graduated). Hi doesn't now anything about computer neither wiki. I
explained few things: edit a page, add a page, links and now, he is building
the website with me. Ok, not all of it, but parts.
4) I am making the first tourism website I know where the final user can be
part of.
I think Pier+Seaside+Magritte has all the power and capabilities to spread
about this new field. But, for this, is very important to have int18.
Ok, after said that, I want to add int18 to my website but I don't want to
touch Pier code. So, the solution I thought is this:
override String #printOn: or Object #printString (which one could be
better?) to something like this:
(suppose I override printOn:)
printOn: aStream
"Print inside string quotes, doubling inbedded quotes."
self size < 100
ifTrue: [ self localize storeOn: aStream ]
ifFalse: [ self storeOn: aStream ]
Then I define localize like this:
localize
^ WACurrentSession value ifNotNilDo: [ :session | session language
localize: self ].
And then the Langauge # localize could be something like this:
localize: aString
^self localizationMap at: aString ifAbsent: [ aString ].
Obviously all of this methods will be with category *MiApp (an extension).
Could this be a good idea? Any other solution ?
Thanks in advance,
Mariano
hi all!
I think I am doing a mess here. I need to have:
1) a Login link if there is no user logged. Something like
*Login>.|command=Login*
2) a Logout if there is a logged user. Something like
*Logout>.|command=Logout*
3) Display something like what does loggedinuser (Logged in as +value:user+
(+widget+?))
4) a Register link if there is no user logged. This is to create a new user.
But I want all of them ;) Is there a way of put like ifs in a page ? just
to know if there is a user logged.
Can I do this just with Pier as it is now or I need to extend, modify or
create something ?
Thanks!
Mariano
Hi! Suppose I have a tag that has more than a word, for example: garbage
collector. If I put this in tags, this is interpreted like 2 different tags.
Is there a way of scaping this so that it can be considered as one tag ?
what about using , or other thing instead of a blank ?
Thanks in advance,
Mariano
Hi guys!
In a page I want to put a link to its parent. I am aware of +value:parent+
but this only prints the name of the parent. I want a link. In Pier
documentation (
http://www.piercms.com/doc/syntax?_s=Sm29MDRQBjStQgra&_k=KGUMf85-&_n&18) I
read "Furthermore these expressions become a link if you add the parameter
link.". So, the question is, what is a parameter in Pier ? how can I do it ?
Perhaps adding an example there would be useful for all of us.
Thanks in advance!
Mariano
When adding a new post when you are in the screen where you add all the post
information (author, contents, etc...) and you press cancel button, this
acts like an accept. The post is created not cancelled.
Greetings,
Mariano
As most of the newbies, my first Pier kernel was 'pier'. I started
developing my site over that kernel and now I want to rename it. I went
to /System Management/kernel change pier to 'Destino Mochila' (what I want)
and some things seem to have changed. For example:
- Browser title now shows Destino Mochila instead of pier
- When I put export the file is name DestinoMochila.obj instead of Pier.obj
- http://localhost:8888/seaside/config in Kernel option I see a PRKernel
name: 'Destino Mochila'
But, the application is still here: http://localhost:8888/seaside/pier/
shouldn't this be under http://localhost:8888/seaside/DestinoMochila/ or
similar ?
Thanks!
Mariano
Hi folks!
Suppose you have the common F.A.Q page with and index (with +value:toc+ )
and several numbered questions.
I would like to have a link from other page that goes directly to one of the
answers of the questions (a particular title with ! or !! or !!!).
What I need is what you do in swiki with:
*SqueakDBX - Compiling and installing OpenDBX@OpenDBX and FFI*
and then in the wiki page "SqueakDBX - Compiling and installing OpenDBX" you
put a "@OpenDBX and FFI" in the title.
Thanks in advance!!
Mariano
Hi!
I am developing a website where the final user can post. However, I (or the
rest of the webmasters) would like this post not to be publish inmediatly
but it requieres my Authorization. I see that a post is publish if I put a
publish date.
Can I set custom permissions to the "publish" command ?
What I tought is that perhaps I can subclass PRBlog and this one DOESN'T