Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 Next > End >>
more control over profile layout
Date: 2006/10/20 08:18 By: fire Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 40
graphgraph
Hi there,

currently, the profile layout is pretty flexible.. I can move plugins around etc, but
it would be much better if the layout was left up to the developer... kinda like the joomla template system...

I need total control over the profile page for it to be useful on my site..



is this in the agenda?
Using CB 1.2 RC2 - http://EnglishVillage.Asia
- Programmer, Teacher, Consultant
Click here to see the profile of this user The topic has been locked.

Re:more control over profile layout
Date: 2006/10/26 02:27 By: cosmicfantasia Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 35
graphgraph
This would be cool. Tabs aren't really the best place to put everything.

You get my vote...

Cosmic...
Click here to see the profile of this user The topic has been locked.

Re:more control over profile layout
Date: 2006/10/27 12:56 By: cosmicfantasia Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 35
graphgraph
The more I think about this the more it would be great to see included. Like it or not MySpace is now what has to be eaten in online communities. I can't see too many features which Community Builder and Joomla can't do, but the layout *user experience) has a bit to be desired.

It would be also ultra cool to have the option to allow users to add css to their profiles like MySpace to customize their profiles...

Click here to see the profile of this user The topic has been locked.

Re:more control over profile layout
Date: 2006/10/27 13:41 By: fire Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 40
graphgraph
I took a look at the code of community builder, and it looks pretty littered with html and php together...

so im not sure how easy it would be to convert it to a user templateable system.

What I'd like to see is fulkl developer control -

currently in Joomla for example, I can make my own template, and put something like <?php mosLoadModules('left', -2); ?>

then all the modules placed in the "left" get loaded...

I really hope community builder would follow the same design idea... would make CB so more useful...

is this a possibility?
Using CB 1.2 RC2 - http://EnglishVillage.Asia
- Programmer, Teacher, Consultant
Click here to see the profile of this user The topic has been locked.

Re:more control over profile layout
Date: 2006/10/27 14:00 By: mikko Status: User  
Karma: 106  
Platinum Joomlapolitan

Posts: 2230
graphgraph
One could make a plugin for this with the following logic:

1) make a wrapper function drawField(fieldname) which calls for CB field drawing function.
2) create a template file (similar to joomla templates) which include calls to this function to draw the fields
3) in the get###Tab functions of the plugin, initiate all varibles required by the drawField function and then include the template file
4) at the end of the get###Tab functions set fields parameter in the tab variable to false to prevent CB redrawing the the fields.
5) unpublish all plugins and publish this plugin to position main, and you have CB which supports joomla style templating.

For even more advanced template, you can make a plugin whicch besided individual fields, can call other tabs. (See for example consolidatedtab plugin as an example for createing tabs within tabs)

Including custom css in the beginning of the user profile has been discussed in many other threads.


-Mikko
Click here to see the profile of this user The topic has been locked.

Re:more control over profile layout
Date: 2006/10/27 14:32 By: fire Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 40
graphgraph
hmm, sounds like you know what you are doing Mikko, thanks for your reply.

Do you do any work on joomlancers.com as a freelancer?

I have a userprofile mockup done in photoshop, but I wanna implement it using the CB system... if I was to send this too you, could you have a quick look at it and tell me if it would be doable with your method?

Thanks
Using CB 1.2 RC2 - http://EnglishVillage.Asia
- Programmer, Teacher, Consultant
Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 3 4 5 6 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login