Andres Fortier | 5 Sep 21:18

Starting with Pier

Hi list!
<intro>
I need a CMS for a job and I thought about trying Pier. So, my point 
is that even though I work with Smalltalk every day, I'm willing to 
use Pier mainly as an end user. Of course if in the future I need 
complex controls I would program them, but for the time being I would 
like to just act as an end user.
</into>

I've been reading some of the posts in the list (and checked 
presentations slides), but I'm having still kind of dizzy about 
where/how to start. So, I've bee thinking that maybe the best way to 
go is to take little steps based on my requirements and document them 
so that hopefully I can leave something useful for others. And of 
course I need the lists help :)

Ok, so far I've downloaded the squeak one-click experience and it 
works ok. Now the next things I need to do are:
1. Remove, at least for the not-logged user, all the menus, the search 
box, etc.
and
2. Add a blog component.

So, basically my first step is to just set up a blog.
Once that is done, the next things I would need are:
1. Disabling comments, so that only the original posts are allowed.
2. Styling the page.

So, any help on how to do this would be really appreciated.

(Continue reading)

Squeaker | 31 Aug 16:34

Customizing Pier

Greetings,

I am just starting to poke around Pier and I am trying to figure out how 
to hide the "Views" menu from a non-admin user.

I can change the permissions for "Other" so that there are no menu 
choices under the "Views" menu but the box with the word "Views" still 
appears. I would like this to not be shown.  How can this be done?

Just to clarify, what I mean by the "Views" menu is the menu on the left 
hand side.  There are three menus on the lhs: Views, Commands and 
Navigation.  I want the Views menu to not appear at all.

Thanks,
Frank

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

John Borden | 28 Aug 17:32

Pier - IMG placement

Pier Experts,
At my work, we've been running a smallwiki (the origininal version of  
pier) for about 3 years, and have accumulated around 3k pages.  While  
looking into upgrading to pier, I noticed that the newest images on  
** site resolve the missing slash problem (backslashes disappear in  
preformatted text if they don't preceed a *), however there's a new  
problem.  Suppose I have images intermingled with text, such as:
         text1
         <IMG ALT="Picture1" src="http://apache/resources/images/ 
pic1.png" />
         text2
         <IMG ALT="Picture2" src="http://apache/resources/images/ 
pic2.png" />
         text3
Assuming that the apache server is down, it would appear as:
         text1
         Picture1
         text2
         Picture2
         text3
With the new version of pier, it is displaying as:
         text1
         Picture1 text2
                   Picture2 text3
Does anyone know a way to fix this?  Is it in the CSS or in the ST code?

Thanks in advance,
John Borden

_______________________________________________
(Continue reading)

Squeaker | 27 Aug 21:03

How to insert a graphic image in Pier

Hi,

I am experimenting with Pier and I would like to create a link to an 
image (jpg) file. The Pier documentation on syntax says:

The contents of some links, e.g. links pointing to image-files, can be 
embedded into the current document by using +s: +reference+. However not 
all types of links support embedding and will quietly ignore it.

I don't understand the "+s: +reference+" syntax, can someone provide a 
real example that shows how this works?

Thanks,
Frank

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Sean Allen | 27 Aug 18:25

Another beginner question: query strings, google...

When navigating through a pier site like Lukas' you end up with URL  
like:

http://www.lukas-renggli.ch/smalltalk/pier?_s=mvDlpeLCyYzIkvaG&_k=OrAJMTqF&_n&20

but google has it indexed as http://www.lukas-renggli.ch/smalltalk/pier

Does the query string only get appended for users with cookies?

I'm assuming that is the case but its one of those fine points of  
seaside and pier
that I'm not actually familiar with yet.

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Dario Trussardi | 27 Aug 18:00

call seaside component from Pier

Hi All,
 
I have write seaside component and register it with specific application link.
 
Now i'm interested to integrate this component on Pier site.
 
I have do it with the 'component' of Pier, and all work fine.
 
 
My question is:
 
    how i can define se the call to on specific seaside component is direct or from pier .
 
I'm interested to define it because when rendering component from pier the header section of the component  isn't required.
 

Any pointers would be greatly appreciated!

Thanks!

 

 
 
 
 

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Dario Trussardi | 27 Aug 17:47

Rendering descriptions with automatic management of SUTabPanel

Hi All,
 
i work with some model descripted with MAgritte.
 
Some model have 20 or more description and when display it, for the user isn't simple.
 
I begin to write component for rendering description with SUTabPanel.
 
The idea is to group description based on it priority for example:
 
    the description with priority from 1000 to 1999  go in the first tab,
   
                                            from 2000 to 2999    go in the descon tab,
 
and so on.
 
The second idea is to renderign on the single tab div with:
 
                description from x100    x199    on the first line of the tab.
                 description from x200    x299    on the second line of the tab.
 
and so on.
 
My question are:
 
    anyone solve, work around  this problem ?
 
    do you have any consideration about it ?
 

Any pointers would be greatly appreciated!

Thanks!

Dario

 
 
 

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Esteban Lorenzano | 25 Aug 22:37

child in PRAddCommand question

Hi,
I'm using pier in a project who needs execute certain operations after 
a command is executed (journal/persistence stuff) and I added a method 
PRCommand, who is executed after doExecute... so... what is the 
problem? well, I have to mark an object as "persistent", in 
PRAddCommand, and then I do: self child bePersistent... but, as #child 
answer a ew instance of #type, the operation is lost...
I changed #child to use an instVar and just instantiate once.... 
everything seems to be working now, but I want to know if there is a 
possible problem with this change...
what do you think? the change works?

Thanks,
Esteban

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Randal L. Schwartz | 22 Aug 15:41

"offline" branch/merge


My current website is driven by Perl Template Toolkit, generated from source
files that are managed in git.  The theory is that any of the webmasters who
want to edit the website can do so in an offline fashion (at 30k feet, or on a
cruise ship, for example), and then merge the changes up to the live site,
possibly resolving any conflicts that may have happened in the meanwhile.

Is there a way that I can achieve something similar with Pier?  As in, have
some way to serialize and restore the current pages so that they are treated
sensibly by git as a collection of files, or perhaps as code so that they can
be tracked with Monticello?

--

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

David Zmick | 22 Aug 08:13

[pier] MessageNotUnderstood: SimpleLog class>>info

MessageNotUnderstood: SimpleLog class>>info
How did I do that? and does anyone now a fix?

--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
David Zmick | 22 Aug 08:04

[pier] Problems with password once magma setup

Pier will not let me change the password now that I have magma set up! Why is this?

--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Gmane