10 years ago
3
Topic
Just thought I would re-post something I found in the SolidSystem.it site regarding the compatibility of the Custom Properties extension and Seblod. Custom Properties is not billed as a compliment to Seblod however you might be tempted to include it in your design. It's a pretty cool extension and I wish there was something like this integrated with Seblod.

Read this first.  I hope this helps.

We just tested Custom Properties 3.1.3 with Seblod 3.3.2.

source link

a) Custom Properties is able to assign tags to Joomla-Seblod articles; in fact, from a database point of view, those articles are Joomla articles, albeit quite heavily tweaked
b) CP Tags content plugin - the one responsible for displaying tags at the bottom of the article - gets positively triggered
c) Custom Properties search module is able to retrieve tagged Joomla-Seblod articles
d) the <div> with the CP tags inside, that is appended to the article text, *is not* rendered by Seblod; somehow it gets discarded upon rendering

I understand that Seblod replaces the actual content with its own placeholders (e.g. ::introtext:: ... ::/introtext), so the article is stored with placeholders in lieu of the actual content. When the article is about to be displayed those placeholders are replaced by the actual content.

That leads to two effects:
1) when CPTags plugin processes the article it appends tags <div> at the end of the article's text, beyond any placeholders; I assume that being outside the placeholder is the reason why CPTags are not being rendered
2) when you search by text, using CP Search module, you search placeholders too. Eg: if you type 'introtext' you retrieve all articles containing the string 'introtext' and, in turn, because that happens to be a placeholder, you retrieve all articles.

Conclusion:
- compatibility between Custom Properties and Seblod is still very problematic;
- custom, ad-hoc, development must be done to CPTags plugin to place the tags <div> into a meaningful Seblod placeholder
- the search-by-text function should be heavily (and I stress heavily) modified to ignore Seblod's placeholders; or disabled altogether


Get a VIP membership
693 Posts
rpoy
10 years ago
0
Level 1
Hi Joem,

Thank you for your post.  I will share this with the team.


Randy
4229 Posts
Kadministrator
10 years ago
1
Level 1
Hi,

I have not tested myself, but juding by the description of this extension, it seems that most of what it does can also be done in existing seblod without any modification - tags field is available in seblod and this means it can be searched, have predefined values etc.
10 years ago
0
Level 2
I'm still really new to Seblod.  I can see the potential for all this and much more already within Seblod however the path to get there is still somewhat complicated and unclear to me. When I get better educated on the use of Seblod I will share a tutorial on how to mimic the Custom Property extension... assuming I can figure it out in a respectable manner.  (don't expect that any time soon)
Get a Book for SEBLOD