Photo gallery?
by Damien Cassou
Hi,
is there any photo gallery available for Pier? I mean a widget where I
could upload pictures and they are rendered in a nice way. I started
one 4 years ago but I abandoned it.
Bye
--
Damien Cassou
http://damiencassou.seasidehosting.st
5 years, 4 months
Magritte description for e-mail
by dtrussardi@tiscali.it
Hi,
i have some descriptions and one based on MAStringDescription for manage the e-mail reference.
Now i'm interested to create a MAReport with fields for management email.
Where for management i think a link to open new email directly from report :
html anchor attributeAt: 'href' put: 'mailto:', anObject emailBase.
How i can do it ?
Anyone create a specific MADescription for define e management email reference ?
Thank,
Dario
12 years, 3 months
Display Pier environment as Seaside component
by dtrussardi@tiscali.it
Hi,
my goal is to display Pier environment as Seaside subcomponent.
I have some problem ....
First i create a class:
WAComponent subclass: #TestMultiPier
instanceVariableNames: 'pageA pageB tabs task'
classVariableNames: ''
poolDictionaries: ''
category: 'DTR-TestPier'
the
initialize
super initialize.
tabs := OrderedCollection new.
nomeKernel := 'pier'.
pageA := PRPierFrame on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )).
self initTopMenuFor
the
initTopMenuFor
tabs add: 'PageA' -> pageA.
the
renderContentOn: html
html text: 'Prova gestione multi Pier istance'.
html paragraph: Time now.
self renderTopMenuOn: html.
task ifNotNil:[ html div id: 'divTabMst';
with:[ html render: task]]
the
renderTopMenuOn: html
html unorderedList id: 'menu'; with: [
tabs do: [ :each |
html listItem: [
html anchor
class: (task = each value
ifTrue: [ 'active' ]);
callback: [ task := each value ];
with: each key ] ] ]
Now when clic on the PageA link the system rendering the Pier page correctly.
The error is erase when i click on sub link ( of the Pier main page ) Information or Environment.
The system report the error:
UndefinedObject(Object)>>doesNotUnderstand: #context:
PRCurrentContext class>>value:
[] in PRContext>>activationCallback
BlockClosure>>valueWithPossibleArguments:
WAActionCallback>>evaluateWithArgument:
WAActionCallback(WACallback)>>evaluateWithFieldValues:
[] in WACallbackRegistry>>handle:
OrderedCollection>>do:
WACallbackRegistry>>handle:
[] in [] in WAActionPhaseContinuation>>runCallbacks
BlockClosure>>on:do:
WAActionPhaseContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo:
[] in WAActionPhaseContinuation>>runCallbacks
BlockClosure>>ensure:
WAActionPhaseContinuation>>runCallbacks
WAActionPhaseContinuation>>handleRequest
[] in WAActionPhaseContinuation(WASessionContinuation)>>basicValue
BlockClosure>>on:do:
WAActionPhaseContinuation(WASessionContinuation)>>withUnregisteredHandlerDo:
WAActionPhaseContinuation(WASessionContinuation)>>basicValue
Because this ?
Thanks,
Dario
12 years, 6 months
Save PRBook as PDF file
by dtrussardi@tiscali.it
Hi,
i create small book based on PRBookDistribution.
Now i have 2 question:
A) How i can save it in PDF format ?
B) After create and update the pages with the Pier editor ( Login and edit the structures ) i can save the change to the original methods ?
This for save and generate a new structure ( in other image ) update with the last change.
The same question is relative to save the note add by user.
Thank for any consideration,
Dario
12 years, 6 months
site is deployed.. extra '//' in url..
by sergio_101
whew!
i got the site deployed..
i will blog about the things i had to do to get it set up, but suffice
it to say, it wasn't impossible...
bear in mind that it's not public yet.. and not complete.. but it will
be in a day or so..
but you can see it here:
http://www.thoseoptimizeguys.com
my question..
if you go to a page, you will see there is an extra '/' in the url... ie
http://www.thoseoptimizeguys.com//ContactUs?_s=7leixyWenK8hmr6j&_k=oJw56k...
i am not sure if i need to change that in my image, or in my apache config..
that section of the apache config looks like:
<VirtualHost *:80>
# set serer name
ProxyPreserveHost On
ServerName thoseoptimizeguys.com
ServerAlias www.thoseoptimizeguys.com
# connfigure static file serving
DocumentRoot /home/optimizeguys/optimizeImage/files
<Directory codingforhire/vmImage/files>
Order deny,allow
Allow from all
</Directory>
# rewrite incoming requests
RewriteEngine On
RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last]
RewriteRule ^/files/(.*)$ http://localhost:8085/files/$1 [proxy,last]
RewriteCond /home/optimizeguys/optimizeImage/files/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ http://localhost:8085/pier/$1 [proxy,last]
</VirtualHost>
--
----
peace,
sergio
photographer, journalist, visionary
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
12 years, 6 months