Hi there,
I'm working on a site for an agency that represents professional speakers and we're creating extremely customised profile pages for these speakers.
I want to be able to create an override for item.php that incorporates a lot of these customisations, but I need some help to figuring out the best way forward.
Categorisation
Each speaker will be in their own category, with subcategories for their content:
Speaker Name Category
--- Testimonials
--- Topics
--- Videos
--- Products
The speaker will also be an author in the system (they submit articles that the agency publishes on the site and we want to easily be able to tie in recent items from them as 'authors') and their own profile item will be assigned to their user.
Is it possible to insert items from subcategories if the structure is known?
For example, under each speaker's category, we will ALWAYS have Topics and Testimonials. Their profile won't go live until we have this data.
Here's the three examples for how I'd subcategories:
1) I'd like to pull in a list of item titles and item full texts from the subcategory of /topics.
(The plan is present these as an accordion).
2) I'd like to pull in a list of item full texts from the subcategory /testimonials and the data from a specific extra field for that category.
(These would be presented as a single random testimonial)
3) I'd like to pull in a list of item images, item titles and item introtexts from the subcategory /products and show a list of up to their latest 5 products.
Is it possible to retrieve a list of items by ($this->item->created_by_alias) that has more than just item titles?
I've been unable to even find a module or method that can can do this.
Essentially what I'm after is the equivalent of mod_k2_content item list with title, link on title, created data, image and introtext (limited by word), but only for ($this->item->created_by_alias), the specific user assigned to that profile item.
I've figured this one out, see post 3
Create menu by a extra field group
I'd like to create a menu that is a list of all the extra fields within a specific extra field group that will be on every page of the site. The extra fields will contain the list of speaking topics ('Innovation', 'Performance', 'Collaboration', for example) and each will link to an itemList of all items that area assigned that specific extra field.
That last one is something I can probably achieve with off-the-shelf modules, but most of them come as drop-down forms - a lot harder to style and manage than a list with links!
Any help in this matter would be appreciated!
I'm working on a site for an agency that represents professional speakers and we're creating extremely customised profile pages for these speakers.
I want to be able to create an override for item.php that incorporates a lot of these customisations, but I need some help to figuring out the best way forward.
Categorisation
Each speaker will be in their own category, with subcategories for their content:
Speaker Name Category
--- Testimonials
--- Topics
--- Videos
--- Products
The speaker will also be an author in the system (they submit articles that the agency publishes on the site and we want to easily be able to tie in recent items from them as 'authors') and their own profile item will be assigned to their user.
Is it possible to insert items from subcategories if the structure is known?
For example, under each speaker's category, we will ALWAYS have Topics and Testimonials. Their profile won't go live until we have this data.
Here's the three examples for how I'd subcategories:
1) I'd like to pull in a list of item titles and item full texts from the subcategory of /topics.
(The plan is present these as an accordion).
2) I'd like to pull in a list of item full texts from the subcategory /testimonials and the data from a specific extra field for that category.
(These would be presented as a single random testimonial)
3) I'd like to pull in a list of item images, item titles and item introtexts from the subcategory /products and show a list of up to their latest 5 products.
I've been unable to even find a module or method that can can do this.
Essentially what I'm after is the equivalent of mod_k2_content item list with title, link on title, created data, image and introtext (limited by word), but only for ($this->item->created_by_alias), the specific user assigned to that profile item.
I've figured this one out, see post 3
Create menu by a extra field group
I'd like to create a menu that is a list of all the extra fields within a specific extra field group that will be on every page of the site. The extra fields will contain the list of speaking topics ('Innovation', 'Performance', 'Collaboration', for example) and each will link to an itemList of all items that area assigned that specific extra field.
That last one is something I can probably achieve with off-the-shelf modules, but most of them come as drop-down forms - a lot harder to style and manage than a list with links!
Any help in this matter would be appreciated!