- Posts: 2
COMMUNITY FORUM
Different Extra fields in Different Locations?
- thirdangle
-
Topic Author
- Offline
- New Member
Less
More
15 years 7 months ago #73489
by thirdangle
Different Extra fields in Different Locations? was created by thirdangle
Hey friends,
Is there any way to put different extrafields in different locations in K2 templating?
i.e suppose i want to location of the event (extrafield 1) then description and then date (extrafield 2). Is this possible???
Is there any way to put different extrafields in different locations in K2 templating?
i.e suppose i want to location of the event (extrafield 1) then description and then date (extrafield 2). Is this possible???
Please Log in or Create an account to join the conversation.
- Matthieu Brunet
-
- Offline
- Junior Member
Less
More
- Posts: 28
15 years 5 months ago #73490
by Matthieu Brunet
Replied by Matthieu Brunet on topic Different Extra fields in Different Locations?
look at the plugin system :
k2community.joomlaworks.gr/forum/topics/example-k2-plugin-for
k2community.joomlaworks.gr/forum/topics/example-k2-plugin-for
Please Log in or Create an account to join the conversation.
- Stéphane Herby
-
- Offline
- New Member
Less
More
- Posts: 12
14 years 5 months ago #73491
by Stéphane Herby
Replied by Stéphane Herby on topic Different Extra fields in Different Locations?
Sorry, need this information, but this link doesn't work anymore... Does anybody tell us the good link ? Thks by advance :)
Please Log in or Create an account to join the conversation.
- Matthieu Brunet
-
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 5 months ago #73492
by Matthieu Brunet
Replied by Matthieu Brunet on topic Different Extra fields in Different Locations?
Please Log in or Create an account to join the conversation.
- Jeff Whitmore
-
- Offline
- Junior Member
Less
More
- Posts: 24
14 years 5 months ago #73493
by Jeff Whitmore
Replied by Jeff Whitmore on topic Different Extra fields in Different Locations?
After first creating a new template for my category, I used the method in this post to accomplish this:
community.getk2.org/forum/topics/output-extra-fields
Example:
dev.music-man.com/instruments/guitars/reflex-guitar.html
With the exception of the Front Page Slide Show, everything on that page is generated from K2 extra fields or K2 attachments. Basically you just make cases in item.php and echo them out wherever you want them to appear. I'm not sure this is the best method but simple enough and works.
I also used the CSS4K2 plugin to allow me to override default K2 css as needed.
community.getk2.org/forum/topics/output-extra-fields
Example:
dev.music-man.com/instruments/guitars/reflex-guitar.html
With the exception of the Front Page Slide Show, everything on that page is generated from K2 extra fields or K2 attachments. Basically you just make cases in item.php and echo them out wherever you want them to appear. I'm not sure this is the best method but simple enough and works.
I also used the CSS4K2 plugin to allow me to override default K2 css as needed.
Please Log in or Create an account to join the conversation.