Assign a Field to only one Type: failed

More
14 years 7 months ago #51 by devil
Hi,

when i will assign a (core)field to one type, not to all, i select the type and click on apply.

After the Site is reload, the field is assign to all types.

Joomla-Aktuell - www.joomla-aktuell.de

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

More
14 years 7 months ago #73 by vistamedia
You're right, but it's a normal behaviour. All core fields are automaticly affected to every new content types.
In order not to display them on the frontend, just don't check any checkbox in the item view template.
It may require you duplicate and rename the default template.
1. Go to components/com_flexicontent/views/tmpl
2. Copy and rename default.php and default.xml
3. Open younewtemplate.php go to line 21
Find :
Code:
$tmpl = '.items.default';
Replace it by :
Code:
$tmpl = '.items.younewtemplate';
That's it ;)

FLEXIcontent lead developer.
www.vistamedia.fr web agency and custom development.
www.joomla.fr co-administrator.
Please no PM for support request, use the forum for that!!!

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

More
14 years 7 months ago #90 by bsky92
Do we have to first duplicate the default template and modify it, and then in the backend create our new type based on this new template for your solution to work?

I had my new type and new template already done, and there is no way I can unassign the categories field to this new type ...

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

More
14 years 7 months ago #91 by bsky92
Forget about my question,I just probably did not do it right the first time, now it's working as t should

Really great work, thanks again

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.285 seconds
Save
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