Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Input Tabs
#75
(2012-11-10, 23:42:15)uitdecom Wrote: Silently following this thread
(I am building a two column layout site, so this is very helpfull)

I was having some problems losing data from all but active tab after saving sometimes. But that seems solved! (Will do some more testing.)

Small other thing (I use a custom css for the backend)
-Active-tab-colour's not working (an .active-tab class would be nice)

Great work,
Hmm little worried about data loss. Let me know if you have any issues.

Ah yeah. The active tab colour config option is (currently) for the non-javascript style. This plugin is using the same tab CSS colours (in reverse) as the page tabs along the top navigation.

I can add another CSS for the active tab. No problem. Smile

(2012-11-11, 01:54:51)hameau Wrote: Some early requests.

* Option to disable default content in empty tabs, including that in the 'Main' tab for an empty page. It's okay the first time or two, but quickly becomes a nuisance having to remove it (especially as the Main field has a non-obvious empty paragraph at the beginning).
The empty paragraph is intentional. Otherwise you end up typing in Header 1 size after deleting everything. Tongue
I'm thinking it might be time to add a proper settings menu. Didn't really have enough cosmetic options to warrant it before but this would be a perfect candidate.

Quote:* Following on from above, allow empty tabs. It may not be necessary to fill all places for all pages. As a further refinement, the ability to tag an entry field as required (so must have content) or optional (so can be empty). This could be in addition to or (my preference) in place of the existing 'content not found' error.
You can turn off the content not found error currently. There is an option in the code if you open it with a text editor, near the top. You can specify the default content in the template, so could leave a message mentioning content is optional. I'll need to make sure that it doesn't save that default text though.

Quote:* A (PHP level) signal to show that content was not available to render (e.g., a field is empty or a redirected tab is not available/missing/empty). Perhaps something like the return value seen in many of mvlcek's I18N_ series plugins, where return true indicates successful output. See for example the function outputContent in i18n_base/frontend.class.php and the mention here. This allows quick and elegant logical content selection.

I'll check that out. If it outputs nothing (ie no error) though, isn't that enough to get a true/false reading?
EDIT: You can use return_tab_content("tabname"); to get the content already. I imagine this would also work to check if content exists or not:
Code:
<?php if(return_tab_content("mytab")){ echo "Content exists!"; } else { echo "There is no content."; } ?>

Quote:In all, I think this plugin is much more useful than might first appear (to the doubters). Although its features can already be achieved by other means, it is really easy to use and certainly fits well with the ideals of GetSimple, imo. Thank you.

Edit: typo.

There are doubters? Cool
Reply


Messages In This Thread
Simple Input Tabs - by jason.dixon.email - 2012-10-19, 22:59:03
RE: Simple Input Tabs - by islander - 2012-10-30, 19:30:59
RE: Simple Input Tabs - by jason.dixon.email - 2012-10-31, 03:34:11
RE: Simple Input Tabs - by stevenatherton42 - 2012-10-31, 05:56:17
RE: Simple Input Tabs - by islander - 2012-10-31, 06:23:31
RE: Simple Input Tabs - by stevenatherton42 - 2012-10-31, 06:30:52
RE: Simple Input Tabs - by jason.dixon.email - 2012-10-31, 11:02:48
RE: Simple Input Tabs - by stevenatherton42 - 2012-10-31, 11:28:30
RE: Simple Input Tabs - by jason.dixon.email - 2012-10-31, 12:03:12
RE: Simple Input Tabs - by jason.dixon.email - 2012-10-31, 23:39:08
RE: Simple Input Tabs - by islander - 2012-11-01, 02:45:39
RE: Simple Input Tabs - by stevenatherton42 - 2012-11-01, 08:43:19
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-01, 11:53:37
RE: Simple Input Tabs - by stevenatherton42 - 2012-11-01, 12:09:05
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-01, 15:04:04
RE: Simple Input Tabs - by stevenatherton42 - 2012-11-03, 04:11:50
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-03, 09:46:05
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-03, 11:27:10
RE: Simple Input Tabs - by shovenose - 2012-11-03, 16:12:34
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-07, 23:43:18
RE: Simple Input Tabs - by islander - 2012-11-08, 02:07:06
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-08, 03:26:39
RE: Simple Input Tabs - by islander - 2012-11-08, 03:42:27
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-08, 03:54:36
RE: Simple Input Tabs - by hameau - 2012-11-08, 18:32:08
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-08, 21:12:49
RE: Simple Input Tabs - by hameau - 2012-11-08, 22:22:50
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-08, 22:39:37
RE: Simple Input Tabs - by hameau - 2012-11-09, 01:50:38
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-09, 02:14:57
RE: Simple Input Tabs - by hameau - 2012-11-09, 03:18:47
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-09, 11:24:00
RE: Simple Input Tabs - by hameau - 2012-11-10, 04:58:50
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-10, 05:04:18
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-10, 21:58:05
RE: Simple Input Tabs - by hameau - 2012-11-10, 23:21:13
RE: Simple Input Tabs - by uitdecom - 2012-11-10, 23:42:15
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-11, 06:18:19
RE: Simple Input Tabs - by hameau - 2012-11-12, 04:56:17
RE: Simple Input Tabs - by hameau - 2012-11-11, 01:54:51
RE: Simple Input Tabs - by Timbow - 2012-11-11, 23:10:01
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-12, 07:50:11
RE: Simple Input Tabs - by hameau - 2012-11-13, 02:41:59
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-13, 03:37:52
RE: Simple Input Tabs - by hameau - 2012-11-13, 06:53:17
RE: Simple Input Tabs - by Timbow - 2012-11-13, 21:43:12
RE: Simple Input Tabs - by hameau - 2012-11-13, 22:52:22
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-14, 01:59:54
RE: Simple Input Tabs - by islander - 2012-11-14, 06:45:58
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-14, 08:46:21
RE: Simple Input Tabs - by islander - 2012-11-14, 09:04:15
RE: Simple Input Tabs - by uitdecom - 2012-11-16, 04:09:15
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-16, 12:19:25
RE: Simple Input Tabs - by uitdecom - 2012-11-16, 19:20:58
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-16, 21:00:03
RE: Simple Input Tabs - by uitdecom - 2012-11-16, 21:30:04
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-16, 22:10:08
RE: Simple Input Tabs - by uitdecom - 2012-11-16, 22:19:02
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-16, 22:38:54
RE: Simple Input Tabs - by uitdecom - 2012-11-16, 22:44:50
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-16, 23:10:26
RE: Simple Input Tabs - by uitdecom - 2012-11-17, 00:23:24
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-17, 01:14:37
RE: Simple Input Tabs - by uitdecom - 2012-11-17, 01:45:05
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-17, 01:57:29
RE: Simple Input Tabs - by uitdecom - 2012-11-17, 02:08:14
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-17, 02:16:22
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-21, 02:36:11
RE: Simple Input Tabs - by islander - 2012-11-21, 03:54:48
RE: Simple Input Tabs - by jason.dixon.email - 2012-11-21, 12:50:25
RE: Simple Input Tabs - by islander - 2012-11-21, 19:12:57
RE: Simple Input Tabs - by tazmandev - 2012-12-09, 06:18:26
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-09, 09:25:07
RE: Simple Input Tabs - by shawn_a - 2012-12-11, 10:53:04
RE: Simple Input Tabs - by Timbow - 2012-12-12, 04:04:29
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-12, 12:16:56
RE: Simple Input Tabs - by datiswous - 2012-12-13, 04:43:19
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-13, 13:54:49
RE: Simple Input Tabs - by shawn_a - 2012-12-13, 06:40:41
RE: Simple Input Tabs - by datiswous - 2012-12-13, 06:50:16
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-13, 12:43:56
RE: Simple Input Tabs - by shawn_a - 2012-12-14, 00:51:01
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-14, 02:14:58
RE: Simple Input Tabs - by shawn_a - 2012-12-14, 03:41:16
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-14, 23:09:39
RE: Simple Input Tabs - by datiswous - 2012-12-15, 08:22:14
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-18, 03:11:27
RE: Simple Input Tabs - by Timbow - 2012-12-19, 20:45:01
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-19, 22:00:24
RE: Simple Input Tabs - by Timbow - 2012-12-19, 23:29:14
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-20, 02:28:25
RE: Simple Input Tabs - by Timbow - 2012-12-22, 09:40:25
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-22, 13:03:35
RE: Simple Input Tabs - by Timbow - 2012-12-28, 10:48:01
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-29, 00:25:56
RE: Simple Input Tabs - by Timbow - 2012-12-29, 03:20:31
RE: Simple Input Tabs - by lukastaylor - 2012-12-30, 09:16:59
RE: Simple Input Tabs - by jason.dixon.email - 2012-12-31, 12:30:42
RE: Simple Input Tabs - by lukastaylor - 2013-01-01, 03:46:42
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-01, 03:56:23
RE: Simple Input Tabs - by lukastaylor - 2013-01-01, 04:01:37
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-01, 12:42:29
RE: Simple Input Tabs - by lukastaylor - 2013-01-02, 00:24:12
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-02, 00:36:17
RE: Simple Input Tabs - by lukastaylor - 2013-01-02, 02:14:12
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-02, 02:39:21
RE: Simple Input Tabs - by lukastaylor - 2013-01-02, 02:40:37
RE: Simple Input Tabs - by Timbow - 2013-01-22, 02:20:06
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-22, 02:56:55
RE: Simple Input Tabs - by Timbow - 2013-01-22, 06:09:58
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-23, 03:24:17
RE: Simple Input Tabs - by Carlos - 2013-01-23, 04:14:30
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-23, 21:13:12
RE: Simple Input Tabs - by mvlcek - 2013-01-23, 21:48:46
RE: Simple Input Tabs - by jason.dixon.email - 2013-01-29, 01:06:19
RE: Simple Input Tabs - by shawn_a - 2013-01-29, 01:19:04
RE: Simple Input Tabs and i18n - by jezok - 2013-03-14, 18:03:49
RE: Simple Input Tabs and i18n - by jezok - 2013-03-14, 22:02:04
RE: Simple Input Tabs and i18n - by jezok - 2013-03-15, 05:06:59
RE: Simple Input Tabs - by jason.dixon.email - 2013-03-17, 18:47:59
RE: Simple Input Tabs - by jason.dixon.email - 2013-03-18, 23:01:50
RE: Simple Input Tabs - by tazmandev - 2013-03-31, 05:08:44
RE: Simple Input Tabs - by jason.dixon.email - 2013-03-31, 16:15:39
RE: Simple Input Tabs - by jason.dixon.email - 2013-04-02, 13:34:55
RE: Simple Input Tabs - by tazmandev - 2013-04-02, 21:09:10
RE: Simple Input Tabs - by shawn_a - 2013-04-03, 00:01:16
RE: Simple Input Tabs - by tazmandev - 2013-04-03, 02:06:47
RE: Simple Input Tabs - by jason.dixon.email - 2013-04-03, 21:16:45
RE: Simple Input Tabs - by shawn_a - 2013-04-03, 22:59:59
RE: Simple Input Tabs - by jason.dixon.email - 2013-04-05, 18:40:29
RE: Simple Input Tabs - by tazmandev - 2013-04-08, 19:33:35
RE: Simple Input Tabs - by jason.dixon.email - 2013-04-08, 22:40:52
RE: Simple Input Tabs - by hempelr - 2013-06-24, 22:32:50
RE: Simple Input Tabs - by jason.dixon.email - 2013-06-25, 02:08:54
RE: Simple Input Tabs - by hempelr - 2013-06-25, 16:45:56
RE: Simple Input Tabs - by jason.dixon.email - 2013-06-25, 17:46:28
RE: Simple Input Tabs - by villeristi - 2013-09-19, 01:30:55
RE: Simple Input Tabs - by jason.dixon.email - 2013-09-19, 06:56:39
RE: Simple Input Tabs - by villeristi - 2013-09-19, 08:13:23
RE: Simple Input Tabs - by jason.dixon.email - 2013-09-19, 16:46:28
RE: Simple Input Tabs - by villeristi - 2013-09-19, 16:58:14
RE: Simple Input Tabs - by bensayers - 2014-01-17, 11:07:37
RE: Simple Input Tabs - by jason.dixon.email - 2014-01-17, 13:18:21
RE: Simple Input Tabs - by bensayers - 2014-01-17, 17:20:52
RE: Simple Input Tabs - by jason.dixon.email - 2014-01-18, 00:08:41
RE: Simple Input Tabs - by bensayers - 2014-01-18, 05:29:35
RE: Simple Input Tabs - by jason.dixon.email - 2014-01-18, 05:39:27
RE: Simple Input Tabs - by jason.dixon.email - 2014-01-19, 11:01:02
RE: Simple Input Tabs - by Thomas Helzle - 2014-04-12, 21:05:56
RE: Simple Input Tabs - by Thomas Helzle - 2014-04-12, 21:10:57
RE: Simple Input Tabs - by jason.dixon.email - 2014-04-13, 06:46:32
RE: Simple Input Tabs - by Thomas Helzle - 2014-04-13, 08:53:47
RE: Simple Input Tabs - by Thomas Helzle - 2014-04-15, 04:05:22
RE: Simple Input Tabs - by danielg - 2014-07-08, 19:20:12
RE: Simple Input Tabs - by tazmandev - 2014-07-08, 21:10:01
RE: Simple Input Tabs - by mvlcek - 2014-07-09, 03:36:52
RE: Simple Input Tabs - by jason.dixon.email - 2014-07-08, 21:22:40
RE: Simple Input Tabs - by danielg - 2014-07-21, 20:11:34
RE: Simple Input Tabs - by datiswous - 2015-02-16, 21:01:55
RE: Simple Input Tabs - by shawn_a - 2018-03-24, 00:36:10
Simple Input Tabs - by datiswous - 2012-10-21, 15:18:09
Simple Input Tabs - by jason.dixon.email - 2012-10-21, 15:35:30
Simple Input Tabs - by islander - 2012-10-22, 06:34:06
Simple Input Tabs - by jason.dixon.email - 2012-10-22, 07:44:55
Simple Input Tabs - by datiswous - 2012-10-22, 09:00:55
Simple Input Tabs - by jason.dixon.email - 2012-10-22, 14:33:41
Simple Input Tabs - by islander - 2012-10-23, 00:24:29
Simple Input Tabs - by yojoe - 2012-10-23, 01:21:14
Simple Input Tabs - by jason.dixon.email - 2012-10-23, 02:01:24
Simple Input Tabs - by jason.dixon.email - 2012-10-23, 02:06:03
Simple Input Tabs - by jason.dixon.email - 2012-10-24, 22:27:49
Simple Input Tabs - by islander - 2012-10-25, 08:16:34
Simple Input Tabs - by islander - 2012-10-25, 19:45:08
Simple Input Tabs - by jason.dixon.email - 2012-10-26, 02:47:55
Simple Input Tabs - by islander - 2012-10-26, 07:53:56
Simple Input Tabs - by ChriS - 2012-10-26, 09:31:30
Simple Input Tabs - by jason.dixon.email - 2012-10-26, 11:30:35
RE: Simple Input Tabs - by ChriS - 2012-10-30, 09:21:22
RE: Simple Input Tabs - by jason.dixon.email - 2012-10-31, 01:07:02
Simple Input Tabs - by islander - 2012-10-26, 19:12:18
Simple Input Tabs - by jason.dixon.email - 2012-10-27, 00:55:06
Simple Input Tabs - by islander - 2012-10-27, 01:05:04
Simple Input Tabs - by jason.dixon.email - 2012-10-27, 01:08:54
Simple Input Tabs - by islander - 2012-10-27, 01:27:11
Simple Input Tabs - by jason.dixon.email - 2012-10-27, 02:55:21
Simple Input Tabs - by islander - 2012-10-27, 04:01:25
Simple Input Tabs - by uitdecom - 2012-10-27, 07:31:44
Simple Input Tabs - by jason.dixon.email - 2012-10-27, 12:17:00
Simple Input Tabs - by jason.dixon.email - 2012-10-27, 12:23:58
Simple Input Tabs - by islander - 2012-10-27, 20:35:02
Simple Input Tabs - by Timbow - 2012-10-27, 23:39:12
Simple Input Tabs - by jason.dixon.email - 2012-10-28, 12:25:42
Simple Input Tabs - by jason.dixon.email - 2012-10-28, 12:31:10
Simple Input Tabs - by jason.dixon.email - 2012-10-28, 15:41:25
Simple Input Tabs - by islander - 2012-10-28, 19:04:06
Simple Input Tabs - by jason.dixon.email - 2012-10-29, 05:44:34



Users browsing this thread: 3 Guest(s)