advance route, about ids in item URLs

More
10 years 2 months ago #58650 by MikeM
ggppdk, hello again, and thank that take notice for me :)
maybe my arguments to convince you
why i did it ? i try give more social functions for site, based only on FC
Idea about User profiles discussed on forum more than 4 years and mechanism is - category(type) as profiles sharing long time ago, but not released.
I see 2 way decisions for profiles - create new views or do it with categoryes/types
In FC no 'view' 'user' or 'userlist' (for comparison in com_cobalt there is 19(!!!) views, including users) - but it can do with types(categories)
add - in global component config option - where user define category whith be a profile category, or create default this category.
As i think it more useful than if i (or somebody else) install FC + CB and try to integrate 2 components - same result we see if it be in FC only - and more productivity - avatars, canvas, other field - can create in FC as fields -
relations with articles and authors - as relation field.

Why router?
At first - we can see as default joomla route create id and "-" everywhere - but how need it? As example - social media - VK, Facebook user profiles - as /id113245
If alias no need or it no play great role why use it?
Consider wider we can create type in flexi for every as we want - but route be as default for this everything content.
as example - real estate catalogue - default aliases be as site.com/houses/123-house-in-somewhere
but advance route can do site.com/houses/house123 or site.com/houses/id123 (or site.com/houses/house-in-somewhere)
and it retranslate as substr($segments[1], $somevariable); where $somevariable - number of characters
But it's not about only to remove id!
In cobalt component we can (as say on its forum) define url in file /language/en-EN/en-EN.com_cobalt.ini
Code:
SEF_CATITEMS="catitems" SEF_CREATED="created" SEF_FORM_ADD="add" SEF_FORM_EDIT="edit" SEF_ITEM="item" SEF_ITEMS="items" SEF_USERCATEGORY="usercategory" SEF_USERITEM="useritem" SEF_USER_ITEM="user-item" SEF_VWITEM="vwitem"

If add in configuration of component select or define custom url type - would that be bad?

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

More
10 years 2 months ago #58652 by MikeM
joomla feature - is permanent work with other people's code

I temporarily installed CB - and what i see? -
1 - very hard to customize CB
2 - great spagetti code(for front-end dev) in template CB
3 - no integration with FC - all links to author items as /component/content/article/23-profile/4-super-user?Itemid=101

why not make all in one place? and it place be a FC :cheer:
in FC - all code transparent and convenient

you have the right to decide as you think best

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

More
10 years 2 months ago #58684 by ggppdk
- About users
we will be using Joomla user and Joomla user profile plugin, which support extra fields too

we already added (not 100% finished) support for the Joomla user profile plugin with a new field in v3.0.x
- to do more
github.com/FLEXIcontent/flexicontent-cck/issues/274

About:
- User list view
- Tags list view

these are so much easier than other work done in FC :
v3.0.x milestone to add, and to improve in v3.1.0
github.com/FLEXIcontent/flexicontent-cck/issues/376

please subscribe to 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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