Gossamer Forum
Home : Products : Others : Gossamer Community :

community luna templates

Quote Reply
community luna templates
I've been meaning to post this for a while now. Here is community working in luna.

The LSSI.pm file must be copied to the
Quote:
lib/Community/Web
folder

It is used to automatically create the fields using css instead of the html. It works a little different. "user_form_edit.html" is the template.


Code:
<%Community::Web::LSSI::ssi_profile_form(
template => 'user_form_edit.html',
required => '&nbsp*'
)%>

I didn't translate the ssi_apps_form but you can see it wouldn't be hard.

It works a little different, so you can see the two inputs.

Have a blast,

- Jonathan
Quote Reply
Re: [jdgamble] community luna templates In reply to
You can see an example of a site using them:

http://www.jokecan.com/

Good luck!

- Jonathan
Quote Reply
Re: [jdgamble] community luna templates In reply to
Looks good - great job! Just wish GT had got out an official new version of GComm though Whistle

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [jdgamble] community luna templates In reply to
Hi,

Just tried this out - very cool :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [jdgamble] community luna templates In reply to
Oh, one little thing - its pointing the CSS to:

http://www.mybandgig.com/community/luna.css

=)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] community luna templates In reply to
 
Where is LSSI.pm localed?

Quote Reply
Re: [LordStryfe] community luna templates In reply to
You need to copy it to lib/Community/Web , from the attachment in this first post.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Community Luna Templates Plugin 1.0 In reply to
So I went ahead and created a plugin for installing these templates. Now you don't have to know any of the odd paths or how exactly to install everything.

Features:

1.) LSSI.pm is complete and now works with ssi_profile_form and ssi_apps_form (not that it is needed for ssi_apps_form unless you are an advanced user.)
2.) The plugin installs the luna templates to the links luna directory but does NOT overwrite anything that may exist there.
3.) You can now change the system_template_set global variable without having to open community.conf and editing it manually.

Pointless Note: I have a sneaky suspicion that GT meant to allow this to be editable but got lazy and realized the difficulty of allowing this to work correctly since the admin templates are in the same folder as the regular templates (default). However it seems GT got it write/right when they made everything go to css in links 3, the real paying product. Anyhow I fixed this inconsistency by using a hook which leads to #4.

4.) By using a plugin hook, you do not need to recopy the admin templates everytime you add a template set. If you do wish to edit the admin templates, which this plugin does not do, you can simply disable the hook or edit them in the default folder.

5.) I added the variable db_cgi_url which anyone who has used community long enough knows it is desperately needed when connecting with links.

I believe thats it. Your welcome people. Good luck, let me know if there are any problems or if you have any feature suggestions.



- Jonathan

Last edited by:

jdgamble: Mar 13, 2011, 8:27 AM
Quote Reply
Re: [jdgamble] Community Luna Templates Plugin 1.0 In reply to
Fixed a quick template error.

- Jonathan
Quote Reply
Re: [jdgamble] Community Luna Templates Plugin 1.0 In reply to
Cool, thanks for sharing Angelic

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [jdgamble] Community Luna Templates Plugin 1.0 In reply to
Doesn't seem to be working for me.
Quote Reply
Re: [LordStryfe] Community Luna Templates Plugin 1.0 In reply to
What kind of error are you getting or not getting? Make sure you enter the correct path when you install.

Good luck,

- Jonathan
Quote Reply
Re: [jdgamble] Community Luna Templates Plugin 1.0 In reply to
I believe my paths are correct but when I go to the user pages its all non formated
Quote Reply
Re: [jdgamble] Community Luna Templates Plugin 1.0 In reply to
Just installed this on a site, and it works perfectly - thanks for sharing Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [LordStryfe] Community Luna Templates Plugin 1.0 In reply to
make sure you have the luna templates path correct and installed in the right place, although my plugin should do this for you!

- Jonathan