- Posts: 44
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Can someone help me with these customisations if they are possible please...
Can someone help me with these customisations if they are possible please...
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
RE your first question, the profile one, I'm not sure what you're trying to achieve here?
RE the image galleries, the built-in k2 image gallery function uses the Joomla Works Simple Image Gallery PRO plugin. The plugin allows you to create multiple image galleries and link them in your articles using the {gallery}My new photo Gallery{/gallery} linkage. For usage instructions, go to your Plugin manager and click on the plugin, usage instructions are included. All you need to do is make sure that the folder you create to hold your images is in the correct path.
RE tabs in articles, you need to download/install the Tabs & Slides in content items plugin (also from Joomla Works) Read the usage instructions, very simple to implement using the {tabname1}your content{tabname2}more content{/tabs} linkage
Good luck!!!
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Want I want is basically for the extra information of each item to be broken up into tabs, so for example
tab 1 - Name, address, tel no
tab 2 - work experience (multiple fields)
tab 3 - Video sample work
tab 4 - references
Is there anyway to do such a thing
Marty Peet said:Hey Gem,
RE your first question, the profile one, I'm not sure what you're trying to achieve here?
RE the image galleries, the built-in k2 image gallery function uses the Joomla Works Simple Image Gallery PRO plugin. The plugin allows you to create multiple image galleries and link them in your articles using the {gallery}My new photo Gallery{/gallery} linkage. For usage instructions, go to your Plugin manager and click on the plugin, usage instructions are included. All you need to do is make sure that the folder you create to hold your images is in the correct path.
RE tabs in articles, you need to download/install the Tabs & Slides in content items plugin (also from Joomla Works) Read the usage instructions, very simple to implement using the {tabname1}your content{tabname2}more content{/tabs} linkage
Good luck!!!
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
Yes, the answer to your question is in my first answer ;-], 3rd paragraph, download/install the Tabs & Slides plugin...
gemasis sydawn said:Hello sir,
Want I want is basically for the extra information of each item to be broken up into tabs, so for example
tab 1 - Name, address, tel no
tab 2 - work experience (multiple fields)
tab 3 - Video sample work
tab 4 - references
Is there anyway to do such a thing
Marty Peet said:Hey Gem, RE your first question, the profile one, I'm not sure what you're trying to achieve here?
RE the image galleries, the built-in k2 image gallery function uses the Joomla Works Simple Image Gallery PRO plugin. The plugin allows you to create multiple image galleries and link them in your articles using the {gallery}My new photo Gallery{/gallery} linkage. For usage instructions, go to your Plugin manager and click on the plugin, usage instructions are included. All you need to do is make sure that the folder you create to hold your images is in the correct path.
RE tabs in articles, you need to download/install the Tabs & Slides in content items plugin (also from Joomla Works) Read the usage instructions, very simple to implement using the {tabname1}your content{tabname2}more content{/tabs} linkage
Good luck!!!
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Ok, I understand. My problem is this though. I would like this customisation to be profiles for my members. So under this method, I would need to go into each and every profile and customise it accordingly putting in the plugin syntax correct?
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
How many profiles do you have?
gemasis sydawn said:Hmm, Ok, I understand. My problem is this though. I would like this customisation to be profiles for my members. So under this method, I would need to go into each and every profile and customise it accordingly putting in the plugin syntax correct?
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
My problem is I want the whole process to automate. So once someone joins I give them an item (or Mysql query auto assigns one to them) and they can fill in all their details accordingly.
Marty Peet said:OK, now I get what you're trying to do. To automate it you're going to require a k2 plugin, so that the core of k2 isn't hacked, or as you say you could do it manually for each profile. How many profiles do you have?
gemasis sydawn said:Hmm, Ok, I understand. My problem is this though. I would like this customisation to be profiles for my members. So under this method, I would need to go into each and every profile and customise it accordingly putting in the plugin syntax correct?
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
tab 1 - Personal Info: Name, address, tel no
tab 2 - Work Experience (multiple fields)
tab 3 - Video sample work
tab 4 - References
To create/edit/store that information you're gonna need a new database table/tables, (unless as you say you go for a k2 item and use the extra fields functionality) You will then need to create a customised profile.php file and use it via a k2 template over-ride. If you want I can get you a quote?
gemasis sydawn said:Well 320 so far. I have just seen a new module added, I believe it is called BNR or something. Now that could be another alternative BUT it would especially need to be able to breakdown the extra fields to different module positions, so once again the module would need to be hacked. My problem is I want the whole process to automate. So once someone joins I give them an item (or Mysql query auto assigns one to them) and they can fill in all their details accordingly.
Marty Peet said:OK, now I get what you're trying to do. To automate it you're going to require a k2 plugin, so that the core of k2 isn't hacked, or as you say you could do it manually for each profile. How many profiles do you have? gemasis sydawn said:Hmm, Ok, I understand. My problem is this though. I would like this customisation to be profiles for my members. So under this method, I would need to go into each and every profile and customise it accordingly putting in the plugin syntax correct?
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
Here it is, see if this fits your requirements, if not get back to me
extensions.joomla.org/extensions/extension-specific/k2-exten...
Marty Peet said:Looking back at your previous posting you want tabs that will contain information in the following blocks: tab 1 - Personal Info: Name, address, tel no
tab 2 - Work Experience (multiple fields)
tab 3 - Video sample work
tab 4 - References
To create/edit/store that information you're gonna need a new database table/tables, (unless as you say you go for a k2 item and use the extra fields functionality) You will then need to create a customised profile.php file and use it via a k2 template over-ride. If you want I can get you a quote?
gemasis sydawn said:Well 320 so far. I have just seen a new module added, I believe it is called BNR or something. Now that could be another alternative BUT it would especially need to be able to breakdown the extra fields to different module positions, so once again the module would need to be hacked. My problem is I want the whole process to automate. So once someone joins I give them an item (or Mysql query auto assigns one to them) and they can fill in all their details accordingly. Marty Peet said:OK, now I get what you're trying to do. To automate it you're going to require a k2 plugin, so that the core of k2 isn't hacked, or as you say you could do it manually for each profile. How many profiles do you have? gemasis sydawn said:Hmm, Ok, I understand. My problem is this though. I would like this customisation to be profiles for my members. So under this method, I would need to go into each and every profile and customise it accordingly putting in the plugin syntax correct?
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
- Posts: 955
There is the User Extended Fields Plugin.
Once installed, any new registration have additional profile fields, these are also availabled to edit within the user profile page at any time.
Take a look community.getk2.org/xn/detail/3536014%3ABlogPost%3A57007
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
What I need is for the long output to be put in a more compact output, hence I was thinking of tabs purely for output since I wouldnt want then to be scrolling down pages for the full profile.
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
gemasis sydawn said:Yes guys, I have this installed in the system since I installed K2. The problem is how it outputs the data, which is as one long output which doesn`t format correctly at times.
What I need is for the long output to be put in a more compact output, hence I was thinking of tabs purely for output since I wouldnt want then to be scrolling down pages for the full profile.
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
I`m seeing abit of light now, so what you are saying is find the code that manipulates the user defined fields and place this in the tabs? So that means I need the absolute paths correct? Also, how do I actually call each user defined field individually ? Look in phpmyadmin for references ?
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
gemasis sydawn said:Hmm, I`m seeing abit of light now, so what you are saying is find the code that manipulates the user defined fields and place this in the tabs? So that means I need the absolute paths correct? Also, how do I actually call each user defined field individually ? Look in phpmyadmin for references ?
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
So this seems to be the code:
BUT my question is how can I call each individual extra field based on the above code, I am pretty weak on this section of coding.
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
I tried everything but couldnt get it to work. Thanx for trying to help though.
G
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
- Posts: 84
Your last post had no code displayed?
gemasis sydawn said:Hello Marty,
I tried everything but couldnt get it to work. Thanx for trying to help though.
G
Please Log in or Create an account to join the conversation.
- gerald sisimayi
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Yes I am aware of what you have said, my problem is that my items extra fields has around 20 - 30 fields in it, so to put them into 1 tab wouldnt be good enough, so I need to split the extra fields tab into 4 - 5 smaller tabs with 4 or so tabs into each. This is what I cannot code correctly.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
you can get the extra fields like this if it suits your needs
$custom = $this->item->extra_fields;
and then addressing extra fields for the item like
echo $custom[1]->value;
Maby calling the first four into a tab, then calling the next four into a tab, etc etc
it will be trickey
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Can someone help me with these customisations if they are possible please...