2-part category titles

More
12 years 7 months ago #30613 by snlr
2-part category titles was created by snlr
Hi,

I'd like to create categories from names of people, so that the title is "Name Surname", but occasionally I can list them off like "Surname, Name". Is that possible with Flexicontent?


thank you

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #30614 by Rooney
Replied by Rooney on topic 2-part category titles
Categories or articles? Articles is possible with FC using fields. Categories might also be possible but with php programming.

Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #30617 by ggppdk
Replied by ggppdk on topic 2-part category titles
This is a kind of too specific to be supported out of the box :D

You speak of reordering some words of a string e.g.

<?php
$words = preg_split("/[\s]*/", $category_name);
echo @$words[1] .','. @$words[0];
?>

but the string name to split depends on where you want to do it.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #30635 by snlr
Replied by snlr on topic 2-part category titles
Thank you for your replies.

I'm trying to build a website where certain products of different types can be sorted into the categorie of the author. Making the author the title of the category seemed the easiest way for later editors, but there's probably another way.

After I imported the items, as suggested after the installation of Flexicontent, suddenly every page has a block like this added to it, right after the title:



How can I get rid of this?


thank you

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #30636 by Rooney
Replied by Rooney on topic 2-part category titles
You have to disable this in the global FlexiContent settings.

Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #30637 by ggppdk
Replied by ggppdk on topic 2-part category titles
Thanks Rooney, for taking time to read / answer forum, slowly this give some benefit back ;)

i think the question is different,

This what is happening,

-- your item is no longer displayed by Joomla article component but it is displayed by FLEXIcontent,

Do this:
1. Go to backend and open the content Type of you items, e.g. article
2. at bottom you will see the (item) template layout used to display the items of this content type
3. It looks like the template used is the template 'default', goto to template management and edit the item layout of 'default' template, AND remove (drag to remove) the fields that you do not need

In short by editing appropriate template you will be able to control what appears when your frontend item(article) view


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.695 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save