Jump to content

Template System


Recommended Posts

Custom Fields anywhere and everywhere.

This application is an update to the v3 versions of the Topic Template System and the Calendar Template System.

The Template System allows you to customize anything in the suite - forums, calendars, gallery categories, blogs, etc - and to create forms for the user to populate when posting new content.

  • Create custom fields
  • Group custom fields into Sets for individual containers (e.g. forums)
  • Customize the layout of the field values when viewing content
  • Allow multiple Sets per container to give users a choice of which form to populate
  • Mark individual fields as required - preventing users from creating content without populating the additional fields

 

 

Link to comment

So if I understand what this addon does, it allows you to "extend" IPB by building custom forms, allowing user content to be consumed into a database table(s)?

Would this be possible with this addon:

If I wanted my users to be able to add entries into a Discography, and then display their entered content say in a Pages display, would this be suitable for this, or would using strictly Pages for that be more appropriate?

An example of what this could be used for might help in understanding the potential of the addon. 

Link to comment
36 minutes ago, Joy Rex said:

So if I understand what this addon does, it allows you to "extend" IPB by building custom forms, allowing user content to be consumed into a database table(s)?

Would this be possible with this addon:

If I wanted my users to be able to add entries into a Discography, and then display their entered content say in a Pages display, would this be suitable for this, or would using strictly Pages for that be more appropriate?

An example of what this could be used for might help in understanding the potential of the addon. 

Not even close. This is not a forms application and it does not store data in Pages at all.

This will add:

  • Custom fields when creating topics
  • Custom fields when creating calendar events
  • Custom fields when posting blog entries
  • Custom fields when uploading images to the gallery
  • Custom fields when submitting downloads files

You can create different fields for different areas or you can use the same field for multiple areas. For example, I can have a text field that appears in just topics, or I can have the text field appear in both topics and blogs. I can also have the text field appear in Forum 1, but Forum 2 will have a dropdown. 

You can create as many fields as you want and group them any way you want. So Forum 1 will show a text field, but Calendar 1 will show a text field and a radio button.

Link to comment
3 hours ago, superj707 said:

Is there a live working example of something created using this modification?

I just released it this morning. So... no, not yet.

3 hours ago, superj707 said:

Is there a live working example of something created using this modification?

If it helps at all, the v3 version of this app had 167 purchases, all happy people. ;) You can probably ask in the support topic of the original mod to see if anyone is willing to share a link. The functionality is basically the same.

Link to comment

A couple of quick questions,

Does this incorporate any custom fields that a user may have previously made for IPS as options to include?

              Edit: Documentation says "All custom field types are available, but they are not appearing in my list when adding a field.

With a custom gallery field being included for an image as an example, what database table would it store the new field data in for the image?

Would it have options to add fields for albums as well as images with gallery?

If I wanted to add custom fields to gallery, as an example, there are currently options to for something like "Set Copyright on All." Would there be the option to "Set XX Custom Field" for all images in the album?

Edited by mycota
Link to comment
7 minutes ago, mycota said:

Does this incorporate any custom fields that a user may have previously made for IPS as options to include?

Provided they were created in the core, yes. Currently you can create custom field types in the core or in CMS (Pages). The system right now will only detect the core custom fields. I can look into the feasibility of including the CMS fields.

8 minutes ago, mycota said:

With a custom gallery field being included for an image as an example, what database table would it store the new field data in for the image?

All field values for all items are stored in the templates_fields_values table. One of the things I have on my "to-do" list is the ability to create widgets that will bring up a list of content items (regardless of type) based on selected fields/values. Storing all the data in a single location makes this feasible.

10 minutes ago, mycota said:

Would it have options to add fields for albums as well as images with gallery?

No. Albums are a different object type. Topics, Images, Events, etc are all content items. An Album is actually a node (which is the equivalent of a forum or calendar). Adding custom fields on the node level would be a bit of a train wreck, as most nodes are created in the ACP.

12 minutes ago, mycota said:

If I wanted to add custom fields to gallery, as an example, there are currently options to for something like "Set Copyright on All." Would there be the option to "Set XX Custom Field" for all images in the album?

Can you please clarify your question? Do you mean that you want to set a default value for all items?

Link to comment
2 hours ago, Joy Rex said:

What would be an example where this addon would be useful to a community?

If you have a help forum, for example, and you want the user to populate certain fields so that you have all the information they need.

If you have a gaming community, and you want people to enter the game they are referring to.

if you have a community around nature (like bird-watching) and people are uploading images and you want to make sure they enter things like the location of the image and/or the subject of the image.

I'm sure I can think of other examples if I put my mind to it. The idea is to eliminate things like "if you are posting in this forum, please make sure you provide the specs of your PC". That goes away, because the user simply can't post anymore without providing that information.

Link to comment

Can the fields be required too?

I have a for sales section, if I setup 8 required fields that must be enterted or it wont post?

Example:

Topic Title
Topic Description

(Required field*)

*Year:
*Condition:
*Price:
*Location
--------------------

Then your normal text box underneth

--------------------
 

Link to comment

Hello. After installation and data entry errors in the database. Deletion of the app also came with errors (removed only after switching off). Unfortunately the screenshots are not made, but the second time set for screenshots this version on the working forum will not. Please verify that the application works. Version 4.1.12.1 IPS

Link to comment
1 minute ago, MGeek said:

Hello. After installation and data entry errors in the database. Deletion of the app also came with errors (removed only after switching off). Unfortunately the screenshots are not made, but the second time set for screenshots this version on the working forum will not. Please verify that the application works. Version 4.1.12.1 IPS

the app definitely works or I wouldn't release it. ;)

I need a LOT more information before I can help you. Where are there data entry errors in the database? What were the errors? Do you have logs? What were you working with - ACP? Template System fields/sets/containers? Front end? Creating topics? Creating calendar events?

You need to provide me with some starting point if you would like me to help you.

7 hours ago, Dvan2005 said:

Hello, i;m lookig for solution to enchant ip.gallery item with IP.Comtent database field. 

I need to connect it with 1 to many link.

Is it possible with Template System?

There is no IP.Content integration of any kind at this point in time.

Link to comment

Hello! I installed the application, and when I turn it, I want to let the bug to write a private message:

Fatal error: Access to undeclared static property: IPS\core\Messenger\Conversation::$containerNodeClass in /home/vps/domains/xxxxx/public_html/init.php(434) : eval()'d code on line 100

 

Edited by Maniutek
Link to comment
1 hour ago, Maniutek said:

Hello! I installed the application, and when I turn it, I want to let the bug to write a private message:


Fatal error: Access to undeclared static property: IPS\core\Messenger\Conversation::$containerNodeClass in /home/vps/domains/xxxxx/public_html/init.php(434) : eval()'d code on line 100

 

I've pushed an update to the Marketplace. It should fix the above issue, please let me know if it doesn't.

In addition to this, there were multiple fixes for the gallery area.

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...