octopoos / seblod Goto Github PK
View Code? Open in Web Editor NEWBuild high-end websites with SEBLOD®, a CCK for Joomla!
Home Page: https://www.seblod.com
License: GNU General Public License v2.0
Build high-end websites with SEBLOD®, a CCK for Joomla!
Home Page: https://www.seblod.com
License: GNU General Public License v2.0
Select dynamic custom attributes are not working in Free mode, they are always empty like data-sth="". Also interface is behaving wrong, first attribute is initially shown then on toggle first one is hidden and 2-6 are shown.
In case a form needs to be canceled the validation rules block this function, only after all required fields are filled i can cancel a form. (This happens on all forms in backend)
Hi, I have notify a bug in the Seblod Forum VIP, James Morrel suggested me to notify it here, so ...
I have a link on a Free text field made with the plugin Link on "2" linked to a form.
That's worked well until I upgrade my Seblod from 3.6.2 to 3.7.0 OR 3.7.1
When I upgrade, the link doesn't work anymore, just is print the word "Insccription" from my free text field.
I have a Custom variable on this plugin : "formation=$cck->getValue('art_id')"
If i don't enter the custom variable, the link work again but of course link to Error as the variable is not given anymore....
If I enter the custom variable, the link disappear...
The problem is also mentionned here by an other user : http://www.seblod.com/community/forums/general-discussions/update-3-7-problem
To make it work again, I change the entire folder Plugin > cck_field_link from a Seblod 3.6.2. And work again.
I know this is just a temporary solution, if you could have an eye on this problem ?
Hello!
For SEO i need to compress the seblod .js files, but with standard tools there are always conflicts then.
It would be great to have a possibility to compress the seblod *.js files.
In Joomla, associated menu items can have different aliases.
The multisite functionality doesn't follow the association to the associated menu item of the "homepage", that is set in the multisite area.
Right now, I have to give home pages of all languages the SAME ALIAS, or it will not work.
While SEBLOD is creating a url with the appropriate language tag,
it uses just the exact alias of the selected homepage menu item of whatever language that is.
... thus, disregarding the menu item association
Hi there,
There doesn't seem to be a way to list articles using a List & Search Type that have been scheduled for publication at future date using the article_publish_up field. My list successfully shows published, unpublished and trashed items, but not ones that have been schedules for publication in future.
To debug, I have tried to:
All of the above do not list all articles, including the scheduled ones.
James
User should be able to search for a numeric string and receive usable results.
If the user searches fro a numeric string that contains part of a Seblod CCK_id they receive the error below.
SQL Error : ..... WHERE a.id = "5<span class="highlight">405</span>";
In my case the problem results are with the returned Seblod categories that contain a matching Seblod CCK_id.
While I would prefer to just remove those specific results, maybe there is an edge case and it isn't the desired behavior for everyone? The returned category content doesn't actually match what the user is looking for but rather an Seblod CCK id that is only used behind the scenes.
::cck::5405::/cck::
Joomla is running the search and then modifying the result string prior to running the onContentPrepair plugins. So when the Seblod _prepare method gets the content it has been modified like the object below and seblod is running a sql query with HTML. plugins/content/cck/cck.php:165
stdClass Object
(
[title] => PreTest
[text] => ::cck::5<span class="highlight">405</span>::/cck:: ::description::PreTest::/description:: ...
[created] =>
[browsernav] => 2
[catid] => 127
[slug] => 127:pretest
[href] => index.php?option=com_content&view=category&id=127&Itemid=39
[section] => Category
)
The modified code below has worked as a temporary solution for my needs and is only here to help illustrate the problem I was having and may not be the best overall solution.
$search = str_replace(['<span class="highlight">','</span>'],'',$article->$property);
preg_match( '#::cck::(.*)::/cck::#U', $search, $matches );
If you create a list & search type for an article or related Content Type, and then try ordering by Category Title it is not possible.
You can order by Article Category Id, which orders by the actual catid field, which doesn't provide alphabetically sorting.
If you try to order by Category Title, it fails because it tries to join the category table with the cck_core table matching the category tables id column with the pk column in cck_core.
I believe this is likely a common problem, and am supplying a pull request with a fix. I would be happy to discuss other solutions with anyone, but would really like this or a related fix to make it into a near future release.
Hello.
The issue defined here
http://www.seblod.com/community/forums/fields-plug-ins/fieldx-with-upload-image-problem
Please, correct it again.
Thank you.
If you apply computation rules on a content type, and then include that content type within another using the Group field, the computation rules don't work.
I am unable to save new fields. If I disable the field name availability check (by removing the validate class from the form field using browser dev tools) I am able to save normally.
This bug appears in Safari, Chrome and IE. If I click Save twice quickly in IE the field is saved normally.
This appears to be a Javascript problem of some sort. Somehow the availability check is interfering with the form post.
Merci beaucoup mes amis.
Joomla! 3.4.1 Stable, Seblod 3.5.1, PHP 5.6.3, MySQL 5.6.21
Issue from forum http://www.seblod.com/community/forums/general-discussions/upgrade-problem
Every time when I upgrade SEBLOD I have an error
Duplicate column name 'path' SQL=ALTER TABLE xxx_cck_core_folders ADD path VARCHAR( 1024 ) NOT NULL AFTER parent_id;
I found in plg_conten_cck.zip/csript.php following:
if ( $i < 23 ) { // ONLY < 2.4.5 JCckDatabase::doQuery( 'ALTER TABLE #__cck_core_folders ADD path VARCHAR( 1024 ) NOT NULL AFTER parent_id;' );
So, now the question is - where is marker which defines my SEBLOD version like < 2.4.5?
I don't remember when it started, but it was 3-4 times exactly. Every update and last update also - from 3.6.2 to 3.7.
By using the default joomla login module the redirects which are set in module settings are broken.
For example in my case the home item is set but the module redirects to /?search=categories&task=search after login.
Also tested on clean Joomla install without issues. By adding Seblod to the clean installation environment it´s broken. For example by selecting to redirect to the Demo Page "About" it redirects to "/component/content/article.html?id=1" instead of about.html.
Issue in Joomla 3.4.1 with Seblod 3.5.1
If you set a seblod list to AUTOREDIRECT to content, the SEF url that is generated does NOT follow the SEblod SEF global configuration (example: /alias ) but always /id !
So if you come from another content and use a list&search link plugin to jump to another content (being sure there will be only one result givent the parameters you pass) you don't land to /alias or /id-alias but always /id
This is a real problem since it gives a new url (mymenu/id) to an existing content (mymenu/alias) so it is a DUPLICATE CONTENT
I also tried passing the alias instead of the ID but the destination url (on the destination content view) is still /id
If we deactivate the SEF settings we can see the autoredirected URL has a "id=x" instead of "id=x:alias" parameter. May be the problem could be solved if Seblod would add the alias in this automatic url generation ?
thanks
cyril
Hi there,
The button free field will not render in a multi-stage form when it is used as a "Back" button by using the Form -> Edition settings, if the user does not have full edit permissions.
The scenario I have tested this in is where I require a user to have "edit own" permissions, which works perfectly so that the user can only edit articles they've created, and use the multi-page form features of SEBLOD. However, with "edit own" permissions, the Button Free field is not rendered. If the user is changed to have full "edit" permissions, then the button is rendered.
SEBLOD 3.7.1
Joomla 3.4.3
Thanks,
James
Let's say we have an image gallery FieldX upload_image. Example: yesterday user uploaded two images pic.jpg and pic2.jpg. Today user try to upload the third image it has the same name pic.jpg. When he upload it, the first uploaded image will disappear.
SEBLOD 3.6.2
In frontend, When editing an article which have a GroupX, clicking on the "+" of the groupX generate a JS error and no item is added.
Hi, we're trying to use the cck_field_plugin "address_to_coordinate", but we've got some problems with seb_map because the list AND the field were both loading the google api,...
So we tryed to secure it by checking in the $doc->_scripts if the script we were looking for had not been previously loaded, but here we found out that the field didn't add the api using the $doc->addScripts method, but instead were using JCckDev !
Problem here is that even if we used JCckDev, we don't really know at all how to check the previously loaded script with this method >__<
And, seblod being but one of others joomla extensions, wouldn't it be more secure to use joomla common functions in the purpose to avoid possible library conflicts ?
So, in the end, we used these lines =>
if(!isset($doc->_scripts[$lib])){
$doc->addScript($lib);
}
Have a nice day
Hi,
Thank you for Seblod : it's a great tool !
I setup a checkbox dynamic field (v. 1.0.0) which select title and id of usergroups according to an user propriety. So I 'Where' I put : parent_id = $user-> something. With Select dynamic it's working but not with Checkbox dynamic : i've got in the form an SQL error : SELECT title AS text, id AS value FROM #__usergroups WHERE parent_id= $user->something
so it doesn't evaluate the expression $user->something.
The only solution is to use the free method and write the sql line : SELECT title AS text, id AS value FROM #__usergroups WHERE parent_id= $user->something
.
Thank you in advance for the fix !
Hi
If you have more than one groupX in a form and each groupX is stored in another place than the Introtext, only the first Groupx fields are stored when you save the content.
Example:
thanks
cyril
It would be nice to have a core validation type numeric for text inputs.
This is a request to extend the functionality of the JForm Media field to support the addition of Image Titles and Image Descriptions as is natively supported in the Joomla Media Manager.
Dear Seblod-team,
I just saw a nice opportunity to improve the "Link" Field-Plugin. A new option to add a "rel" attribute would be nice. I use the Link-Plugin especially for outgoing links. it would be nice to be able to set rel="nofollow" to avoid losing too much link-juice and therefore to improve SEO.
Best Regards
The Links in the E-Mail from SEBLOD Forum are duplicated, the reply link opens a blank page and the last ones do not open at all.
Category: Fields & Plug-ins
Reply: How can i create opening hours
Category: Forms & Content Types
Reply: How can i create opening hours
Best Regards,
SEBLOD Team.
www.seblod.com
Follow us on SEBLOD Social Hub
Discuss on SEBLOD Forums
Using CONCAT in the free SQL query makes SEBLOD inserting a usless div into the link markup and wiping out the content so the page source looks like
<a href<="" div=""></a>
despite the sql says:
SELECT CONCAT('<a href=\"/index.php?Itemid=496&option=com_comprofiler&task=userprofile&user=',#__comprofiler.user_id,'\" taget=_blank>',#__comprofiler.lastname,', ', #__comprofiler.firstname,'</a>') AS text, ...
No setup in the form or field can prevent that from happening.
The Message (thanks) Textarea (to display a message when a Site Form has been successfully saved) in the admin backend of SEBLOD Content Types has a character limit of 258 characters, but the validation warning on the field is not displayed if the user enters too much text. Instead, the console just notes an error: Uncaught TypeError: Cannot read property 'alertText' of undefined.
This is confusing for a user because it is not clear why they cannot save their Message (thanks) text which is longer than 258 characters.
Using media field on a Group X or Field X. Only first image is able to be saved. After the first iteration, if you click on the "Select" button, you are redirected outside of the page to the media manager and you lose any progress.
This issue had been confirmed by others on the Seblod forums:
http://www.seblod.com/resources/tracker/18180
by clicking links in seblod forum i´m leaving the site. Would be cool to set them as blank for UX
A SEBLOD edit link is not rendered for the user if their user group only has "edit own" permissions for that content type. The edit link is only rendered if the user has at least "edit" permissions.
Tested on SEBLOD 3.6.2 - Joomla 3.4.1
Hi,
we would like to expand the size of the columns link_options in the tables #__cck_core_search_field and #__cck_core_type_field.
Currently the size is varchar(1024) and we would like TEXT because we need to add more options in some plugins of ours.
thanks
Since SEBLOD 3.6.2, the download link on an upload_file don't work anymore when the field in part of a fieldX.
I am attempting to use the Select - Dynamic field to display the joomla vote calculation. I am able to use this field to display the correct value. I also tried ordering this field but it is ordering by the "value" rather than the "options name". It seems like this field would be more useful if it ordered the field by what the user actually sees rather than what is saved to the database table. Thank you for your time. I enjoy using the product.
Hello everybody.
I found new and vrey useful function replaceLive($attr). Thats great!
But I see that:
file \libraries\cck\rendering\rendering.php
string 983: $get = 'get'.$target;
but next
string 984: $replace = $this->getValue( $fieldname );
and $get variable isn't used. I think that it should be
string 984: $replace = $this->$get( $fieldname );
to have not only Value but Attributes, Text etc...
Thanks!
When I'm using free SQL inside the Select Dynamic Cascade I get an exeption when I save the form:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14 SQL=SELECT article.id AS value, article.title AS text, parent_id FROM p2vcj_content AS article, ( SELECT id, related_nationality AS parent_id FROM xxxxx_cck_store_form_dn_series ) AS related, ( SELECT id, title FROM p2vcj_content WHERE catid =30 ) AS series WHERE article.id = related.id AND parent_id = series.id AND parent_id =#parent_id# order by text
As you can see parent_id =#parent_id# - placeholder is not replaced
The error occurs in function protected static function _getOptionsList, line 601 of the lattest version as query can nt be executed because of placeholder in query.
Same happens if I try [parent] as shown in replace:
preg_replace( '/('.$opt_parent.' ?= ?[parent]|'.$opt_parent.' ?= ?#parent_id#)/', $opt_value.' = "'.$value.'"', $opt_query );
Hi there,
I use seblod for image gallery. It would be great if you implement watermark for images. Thank you.
A Joomla error page with this message:
Unknown column 't1.tags' in 'where clause' SQL=SELECT t0.id AS pid,t0.pk AS pk,t0.pkb AS pkb,t0.cck AS cck,t0.storage_location AS loc,tt.id AS type_id,tt.alias AS type_alias FROM j_cck_core
AS t0 LEFT JOIN j_content
AS t1 ON t1.id = t0.pk LEFT JOIN j_cck_core_types
AS tt ON tt.name = t0.cck WHERE t1.state = 1 AND t1.access IN (1,1,5) AND ( t1.publish_up = '0000-00-00 00:00:00' OR t1.publish_up <= '2015-03-18 20:49:59' ) AND ( t1.publish_down = '0000-00-00 00:00:00' OR t1.publish_down >= '2015-03-18 20:49:59' ) AND t0.cck = 'test' AND t1.tags LIKE '%%' GROUP BY t0.pk ORDER BY t1.title ASC
Hi all! In the wysiwyg editor field does not work custom attributes & css class.. So it should be or is it a bug?
Hello,
I have a problem with the SD extension Concat Fields
I have a contact form here:
http://www.aulaideal.com/contactoseblod/
I'm using SD Field Concat to create a single title of articles, like this:
< content > || # fc_nombre #
When not using the Math Captcha Recaptcha or field, the form sends the information correctly and generates a title for my articles For example: 656 Erick
But when I place or Recaprcha Math Captcha field and put a word of incorrect security, the system shows me a text like this:
Error
Wrong security code. Please try again.
...
But beneath the text it appears as follows:
#fc_nombre# IS A FIELDS
This problem only occurs when you use the field "SD Concat Field" together with fields "Captcha Math" or "RE Captcha"
Hi,
The setup:
In form and content type: simple select repeated with field x.
In list and search type: added the simple select field, go to 3 and click +, select permissive and the field x.
The search does not work. I've tried nomerous ways and read all I can find about it. All threads end unsolved - and the ones that are marked solved dosn't solve it.
Just some threads:
http://www.seblod.com/community/forums/fields-plug-ins/can-you-do-a-search-list-on-a-fieldx
http://www.seblod.com/community/forums/fields-plug-ins/fieldx-and-lists
http://www.seblod.com/community/forums/fields-plug-ins/fieldx-and-search
http://www.seblod.com/community/forums/general-discussions/inconsistent-documentation-regarding-storage
http://www.seblod.com/community/forums/lists-search-types/searching-article-with-field-x
I've treid different ways of setting up storage (I've set up new field and not changed storage on an created field) without luck.
Also, the articles, forum posts and tutorials around storage and field x is not telling the same story. They preach different setups.
Hello,
Once the checkbox has a link (button 2 -> View), it is no longer displayed.
A description you can find here: http://www.seblod.com/community/forums/general-discussions?task=download&client=intro&file=seb_media_document&id=60325
Best regards
The method to use $cck->getValue('field_name') to retrieve the value of a field within the HTML typo used on a field in the INTRO view of a Content Type does not render the value. It just shows the code.
When we need to search in the field FieldX in the SQL-query uses REGEXP. For example:
...... AND t1.introtext REGEXP ("(::art_keyword|[0-9]+|art_keywords::).keyword.(::/art_keyword|[0-9]+|art_keywords::)") .....
REGEXP is case-sensitive function. As a result, when the user enters "Keyword", and the database contain "keyword", then the search will return the empty result.
When seb_blog is used as the list template within a list field, it will only display 1 result. If seb_table or seb_list is used, there is no issue.
Issue originally reported and confirmed here - with some further debugging information as well: http://www.seblod.com/community/forums/standard-premium-memberships/seblod-list-plugin-always-returns-only-1-item
Hi All,
I want to add custom Javascript to my forms - the existing 'conditional states' are too limiting.
I don't want this custom JavaScript available to all pages because it's form specific, so adding a file and changing the template has too broad of scope.
I'd like to see a field in the template or the configuration tab that would allow entry of general JavaScript. While you are at it, a CSS entry would be nice to... for those fiddling adjustments that are local to one page.
Anyone know enough SEBLOD to do this?
Thanks!
-dr
SEBLOD 3.6.2 -
Context : on ulpoad_file or upload_image when settind a default value.
Bug : when deleting the content, the default image/file is deleted too.
When deleting a user note item created with the User Notes Object, the item is deleted from the #__user_notes table but it is not deleted from #__cck_store_item_user_notes.
Permissions and inherritance dont work at all in SEBLOD. The only thing that works is setting permissions on the content type. But that's about it. You cannot even set permissions on the article level not to mention categories although the permissions tab is there.
The user would expect the same behavior in SEBLOD as in native Joomla content as outlined by the Joomla permissions creator Andrew Eddie :
http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
I have a gallery FieldX Upload Image. Default value is 10, maximum value is 10 and minimum value is 10. So when user create new article he can see 10 input file boxes. If user upload two images and save an article next time when he edit an article there will be two thumbnails and only two input file boxes.. But there is NO other (8) input file boxes. To upload more images user has to click green button (add image button). According to default settings it must be 10 input file boxes. So 8 input file boxes are missing.
It's a serious issue because some users doesn't click green button.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.