Hi,
I'm trying to render some uploaded files as flash movies... but without
success by now... I thought it was easy, just putting this method in
MAFileModel (and of course, changing #renderOn:):
renderFlashOn: html
html swfObject
url: (self urlOn: html);
with: 'Loading...'.
But nothing happens (it shows "Movie not loaded...")
If I put an "example" url, the example movie is loaded ok... :(
renderFlashOn: html
html swfObject
url: 'http://www.mariaclaudiacortes.com/colors/Colors.swf';
with: 'Loading...'.
So I think there is something in the URL generated by #urlOn: that is
not good for swfObject (writing the html code directly drives to the
same answer)...
Any idea?
Thanks,
Esteban
All,
Lately, I've been attempting to make PRTables have a borders around
them. If I create a CSS file for table with class 'hasborden' by
adding the following to the top of PRTable>>accept:
(aVisitor isKindOf: PRRenderer) ifTrue: [aVisitor renderer
table attributes addClass: 'hasborder'].
then PRTables are displayed with the CSS class of 'hasborder' and is
displayed correctly, and other tables do not have borders (exactly
what I want!). Is there a better way to this sort of thing, I have
several similar changes, and I want to limit the amount of really bad
smalltalk.
Thanks,
John
I'm new with Pier, so possibly it's a stupid question... But still...
I want to show a local html file on a pier page. What's the simple way to do
it?
I tried to use File, but it renders it inside <pre> tag as a text files
according to MAFileModel.
BTW, why halts in MAFileModel >> renderOn: and MAFileModel >> renderTextOn:
html are not triggered when I open the page with the file or even add it?
Thank you in advance for all answers.
--
Dennis Schetinin
Hello,
I want to know if it possible to create some sort of template, in which if I
create a page it will add other XYZ pages inside of it.
For instance, I want to create a PageProject so that page have 3 other sub
pages:
MyProject
->Installation
->Wiki
->FAQ
I could do something like:
PageProject>>defaultDocument
^ super defaultDocument
add: (PRParagraph new
add: (PRText content: '*Installation* *Wiki* *FAQ*');
yourself);
yourself
But the problem is that those 3 pages aren't created, I have to click on
each link and then accept to make them "alive".
So, here is my question:
Is there any way to create dynamically pages inside a newly page(the one I
just had created)?
Notes:
I'm working with VisualWorks, and therefore the Pier versions are probably
quite old :(
Is somebody working on the port of the latest Pier version into VisualWorks?
Thanks in advance,
Lautaro Fernández
--
Luke LAut SkyFernadezWalker
Hi,
Release 1.1 of Pier is now available:
www.piercms.com/install
What's new:
- Several bug fixes
- New syntax constructs
- New and whiter stylesheet
www.piercms.com also received a face lift, and it received some new
documentation.
Have fun and tell us what you think.
Doru and Lukas
hi -
I am having difficulties loading Pier into my squeak 3.10.2 + seaside
2.9a2 image. The universe browser overwrites my seaside with seaside
2.8.3 and squeak map dies with a syntax error. Is there a description
somewhere of the list of mcz to load manually and in which order?
thanks,
Michal
Hi Noury
> Hope this is the right place to post a question about Pier.
Sure, that's fine. There is also a dedicated mailing list, see here:
<http://www.piercms.com/contact>.
> I'm currently looking at Pier and I'm wondering:
> -If there is a way to attach tags to blog posts and use tags for selecting a
> subset of posts
When you edit the post there is an input field for tags. Just add the
tags separated by spaces.
There are several widgets that go together with the blog. Go to the
environment of the blog and add the widget "Tags" in the section "Pier
Blog". You can see an example of this widget on my blog
<http://www.lukas-renggli.ch/blog>, along with the "Archive" widget.
Go to the settings to change the preferences of these widgets.
> -In persistency setup, there is a field shared between "history persistency"
> and "image persistency" named: "max history". What does it refer to? In the
> help-popup it is said that this is the max number of commands history. Which
> commands are these? How do I restore them ?
All executed commands are logged in the history, if you enable one of
these persistency strategies. This includes adding, removing, moving,
copying, editing, chaning the settings, ... of a page. The number
given in that settings says how many of these commands are remembered.
They are used to generate RSS feeds of the changes and can also be
used to restore previous states. To see a list of changes go to the
changes view.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Hello.
I am new to Magritte and I am searching for a way to describe
many-to-many relationship with Magritte. I just found one-to-one and
one-to-many relationships. Is there a possibility to describe such
relationships or do I have to use two special one-to-many relationships
(and how)?
Thanks,
Michael
Hi everyone,
A friend of mine just asked me if there were wikis for scheme/lisp/smalltalk
and I said "Sure, at least for the latter two" and mentioned Pier. He told
me about http://en.wikipedia.org/wiki/Comparison_of_wiki_software and said
"if it isn't in there it doesn't exist". Well, I thought I'd add Pier to the
list. I've filled in what I know, and what I can find on www.piercms.com.
I wonder if those more knowledgable than I could take a look and correct any
errors I might have inadvertantly made.
Thanks,
frank
Hello list,
I'm trying to describe a model, which values could have complex or
multiple types at once.
In general , a question is how to provide a description of following fields:
suppose you have a field, which in own turn having own fields, and you
want to display them in-line i.e.
position :: point(x,y)
point::x = integer
point::y = integer
so i'd like to describe a position, as a compound data type, lets say,
instances of class Point which having own fields (x,y).
So, then in form i could have this field displayed like following:
position x: [ ... ] y: [ ...]
Another case, is when value can use multiple types.
Following previous example, for position, now i reconsidered and want
a position accept not only instances of Point, but instances of
Point3D as well.
So, then Magritte should be able to display my 'position' field editor
like following:
position
* x: [ ... ] y: [ ...]
* x: [ ... ] y: [ ...] z: [...]
where * is radio button.
Or there can be different view where user can select a type first, and
then edit value:
position [<type selection combobox>] [ value editor for selected type ]
I don't want to get into detail how to render/build such editors, my
main question, is how to describe such things in less
painfull/controversial way using Magritte.
--
Best regards,
Igor Stasenko AKA sig.