canton
Total posts: 76
26 Aug 2012 02:28

I hope you can help with this...

MightyResource version of Multi Level Select could add sub levles as so..

Root

--sub root

----sub sub root

instead of using the "Values constructor" param.

is this not possible any more as there are a few Multi Level Select fields i need to copy with the same structure in different Item Types. If not is there a work around as the lists i have to construct are quite extensive.

Also if not could you please give this option in the next update as for some situations this would make things easier.

I hope this makes sense

thanks in advance

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
26 Aug 2012 06:41

Do you mean conversion of the text?

root

second level

third level

Another send level


canton
Total posts: 76
26 Aug 2012 14:05

yes i do


canton
Total posts: 76
26 Aug 2012 14:34

this is my problem i need to solve

I need the first Level Labels "Start Time" so i need to list in this instance every 15 minute increments of the day for example.

00:00am, 00:15am, 00:30am, 00:45am .......1: 00pm, 1:15pm, 1:30pm e.t.c

Now i need the second Level Labels "Finish Time" so i also need to list in this instance every 15 minute increments of the day for example.

00:00am, 00:15am, 00:30am, 00:45am .......1: 00pm, 1:15pm, 1:30pm e.t.c

as you could see this potentially is a very extensive list to create in you Multi Level Select field.

I don't know if it would be easer to create a script maybe to create such a list or maybe is it possible to create a sql query maybe there is another solution?

You help would be greatly appreciated. Thanks again


canton
Total posts: 76
26 Aug 2012 14:50

Essentially what i want to show on the front end is this..

Monday 9:30am - 4:30pm

Tuesday 9:00am - 5:00pm

Wednesday 9:30 - 5:00pm

Thursday 9:30 - 5:00pm

Friday 11:00am - 4:00pm

....and so on

any ideas?


Sergey
Total posts: 13,748
26 Aug 2012 19:39

Just use 3 different fields

On a day - datatime - date display format custom %A

Starts at - select

Ends at - select

Then in article template

fields_by_id[1]->result ?> fields_by_id[2]->result ?> - fields_by_id[3]->result ?>


canton
Total posts: 76
27 Aug 2012 00:39

On a day - datatime - date display format custom %A

is the param>Input Settings>Inputs default value:custom

then param>Input Settings>Inputs custom value:%A

also is it possible to add this option/format within "Date and Time" Field as i could imagine this would be needed regularly.

Thanks


canton
Total posts: 76
27 Aug 2012 02:15

also where would i find the field template to amend?


Sergey
Total posts: 13,748
27 Aug 2012 02:19

also where would i find the field template to amend?

Field template in com_cobalt/fields/****/tmpl/ where *** is the name of the field.

also where would i find the field template to amend?

also is it possible to add this option/format within "Date and Time" Field as i could imagine this would be needed regularly.

I think it is already in date and time field. At least I have those parameters there.


pepperstreet VIP
Total posts: 3,837
28 Aug 2012 09:59

Field template in com_cobalt/fields/****/tmpl/ where *** is the name of the field.

BTW, do I have to use a Cobalt HTML Override to keep my (field) templates safe?


Sergey
Total posts: 13,748
29 Aug 2012 20:08

Do field templates work with Joomla Overrides system?

No, ANd I do not think it is possible to implement. Because Joomla has it's own system. It only work for layouts, plugins and modules.


Sergey
Total posts: 13,748
30 Aug 2012 21:24

Maybe with backup/import/export feature?

Akeeba will make it perfectly.

Maybe with backup/import/export feature?

Does it make sense...

It does not make all the sense. I'll look into Joomla override process and see if we can extend of it.


Sergey
Total posts: 13,748
30 Aug 2012 21:30

Do field templates work with Joomla Overrides system?

Absolutely in next version! :D


Sergey
Total posts: 13,748
01 Sep 2012 08:49

Would be cool to have an overview about all overrides... so, nobody has to remember each field, or has to open the parametes. A list that shows the templates grouped/filtered by field... or type.

I added some text to tutorial how to make custom template in community knowledge. I pointed where overrides should be located.

Powered by Cobalt