Welcome, Guest
Username Password: Remember me

** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more
(1 viewing) (1) Guest

TOPIC: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months, 2 weeks ago #406

hello?
Web and Augmented Reality Developer!
-- SOCIALISM IS COMING!

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #407

  • JoPaMi
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Im using SEBLOD 2.3.9 and SD Field Concat 2.0

I’m trying to create custom aliases so they will be unique using the title plus the date and time.
The Aliases are coming out fine but the title are all messed up, see pics below, any ideas why it is changing the titles too?










Any help would be greatly appreciated. You can make your own attempt here:

execucort.com/post-a-review

For some reason it always makes the title all messed up like that.

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #408

  • adonay
  • ( User )
  • OFFLINE
  • Senior Boarder
  • Posts: 59
Hi JoPaMi,

You must store titles in the same way as you are storing aliases, note this is:

Standard - Article - Title and not Custom - Article - Title

You can take a look here if you want to see an example of good site of escorts, made 100% with Seblod.

Best Regards.

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #409

  • JoPaMi
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
OMG, thank you so much for the response, I would have probably found it eventually, I dont know how that got changed. Ive been killing myself trying to figure it out.

Im retarded, thanks again. That escort site looks awesome btw. I am working on a template now that I got the site working correctly.

I want people to be able to easily post reviews of escorts from classified ads, in my area, and it has been more difficult than I originally thought. And I am a vet in these CMS's.

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #410

  • JoPaMi
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
I just want to say this extension is awesome, and so is SEBlod, and will be donating to both as soon as I can. Thank you all.

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #411

  • will_c
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hello guys!

I need some help, how can I use SD Field Concat to search in multiples fields with only one text input?

I wanna that a unique search field search on this fields:

art_title (standart article title)
tags (custom article introtext)

Thanks

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 7 months ago #412

  • jodafatass
  • ( User )
  • OFFLINE
  • Gold Boarder
  • Posts: 255
Hi all, hi will,

If you want to search with one field, you'll have to concatenate the value of the two wish fields :

Field name Value Type
Art_title My article title Text
Art_tags My tag 1, my tag, my tag 3 Text, radio what you want
Art_concat_for_search My article title My tag 1, my tag, my tag 3 SD concat field


And in your search type, use the Art_concat_for_search field, it'll have both the value and can rednre the good result.

have a good day
jo
Last Edit: 7 months ago by jodafatass.
The following user(s) said Thank You: will_c, JoPaMi

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 3 weeks ago #413

  • Nuzzina
  • ( User )
  • OFFLINE
  • Gold Boarder
  • Posts: 247
Hi everyone
I use this plugin and it's very fantastic, but when I use it for create an article title composed, it doesn't work. The title of the article is always the automatic one (es: 2012-10-28-16-38-57). I don't understand where I made a mistake... someone can help me?

Senzatitolo-1.jpg

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 3 weeks ago #414

  • serval
  • ( User )
  • OFFLINE
  • Platinum Boarder
  • Posts: 499
Hi nuzzina.

Have you tryed with value, opposite to text ?

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 3 weeks ago #415

  • Nuzzina
  • ( User )
  • OFFLINE
  • Gold Boarder
  • Posts: 247
Yes, but the result is the same.
But today, when I try to save new articles, the title works! I don't understand why today yes and yestarday no, but... problem solved!

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 1 week ago #416

  • sebastien83
  • ( User )
  • OFFLINE
  • Expert Boarder
  • Posts: 92
Hello,
I want to use the concat plugin to copy a date (a datetime field) located in a table to another table.
I can not do this. The field datetime type must receive the date the plugin concat is filled with zeros:
0000-00-00
0:00:00

We can duplicate a datetime field type with plugin concat?

Thank you in advance for your help

Seb

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 1 week ago #417

  • adonay
  • ( User )
  • OFFLINE
  • Senior Boarder
  • Posts: 59
Hi Seb,

I think if the db has a field type datetime, you must ensure the values of your calendar seblod field are passed exact like datetime format are supported on db. Something like "00-00-00 00:00:00" then use SD field concat to pass it.

Best regards.

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months, 1 week ago #418

  • sebastien83
  • ( User )
  • OFFLINE
  • Expert Boarder
  • Posts: 92
Hello Adonay,
Thank you for your reply.
Here is my table structure :
First table : `date_debut` datetime NOT NULL,
Second table : `date_debut` datetime NOT NULL,

Format date of SD Field Concat : Y-m-d H:i:s
It seems to me that this is right, but I'm no expert .
In the attachment setting field

Thank you for your help

Seb
Attachments:

Re: ** NEW PLUGIN: SD Field Concat V.2.2.6 - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 6 months ago #419

  • sebastien83
  • ( User )
  • OFFLINE
  • Expert Boarder
  • Posts: 92
I find
Format date of SD Field Concat : Y-m-d H:i:s it's ok!
But Format of my origine field date : d F Y H:i It's wasn't ok!

Seb

Re: ** NEW PLUGIN: SD Field Concat V.2.2.3 [ UPDATED ] - SEBLOD 2.3.x - Concatenate fields, text & predefined variables, multiple checkboxes & more 5 months, 3 weeks ago #420

  • xmattx
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
joriscommerc@gmaill.com wrote:
[...]

I created a dynamic field with a free query that works fine on the form and lists, it returns me the text and value. The field is locked to the content type.

When I try to refer to the field in an SD Field Concat I get nothing though, neither from text or value, other referred fields do work.

[...]

Apologies if this has been answered, I couldn't find a response.

I have the same problem: after looking through the code it seems SD Concat only works with the dynamic field in 'Construction' mode and not in 'Free', additionally it doesn't seem to work with the multiselect option either. A start on a fix for Free mode could be this (slightly dirty, I know... also, this is just one change, a similar change needs to be made in several places in sd_field_concat.php. This is for selecting the text, for selecting the value replace 'SELECT $1 FROM' with 'SELECT $2 FROM'):

 
// Set Query to get select dynamic criteria (thanks Lionel!)
if ($fieldOpt2['query'] > '') {
$query = preg_replace('^SELECT\s(.*?as\stext),\s*?(.*as\svalue)\s*?FROM^i','SELECT $1 FROM',$fieldOpt2['query']);
} else {
$query = 'SELECT '.$fieldOpt2['name'].' FROM '.$fieldOpt2['table'].' WHERE '.$fieldOpt2['value'].'="'.$config['post'][$sdField].'"';
}
 

This is a quick fix and assumes the order in which you select text and value is text, then value. It needs to be robustified.

A solution for multiselect is probably more work...
Last Edit: 5 months, 3 weeks ago by xmattx. Reason: clarifications
Time to create page: 0.49 seconds