Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-19 02:19:00

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

adi_page_tab - Enhanced Page Tab

Summary

adi_page_tab is an enhancement to the standard Page templates tab, which will give you:

  • an indication which sections are using the current page template (i.e. the ones that are greyed out)
  • the ability to assign the current page to a new section (select one of the non-greyed out sections & click Update)

See the help supplied with the plugin, or have a look online. You can download the latest version from here.

Screenshot

Textpack

There is a mechanism to install a Textpack in the adi_page_tab options page under the Plugins tab.

Corrections or additional language translations are most welcome and can be submitted here.

Translation credits:

  • Pat64 (French)
  • Uli (German)

Requirements

Textpattern 4.7 or later.

Version history

  • 0.6
    • updated for TXP 4.7+
  • 0.5
    • fixes for TXP 4.6
  • 0.4
    • code tidy up
    • TXP 4.5-ified
    • TXP 4.5+ only
  • 0.3
    • fix to ignore new page name if “copy page as” filled in and Save button clicked (or Enter key used)
  • 0.2
    • handles page create, delete & copy properly
    • “Update” button now has its own language string (for Pat64)
  • 0.1
    • initial release

Feedback

Comments are most welcome.

Spread the love

If you find this plugin useful and would like a warm and fuzzy feeling to go with it, please consider donating to the Textpattern development team.

Last edited by gomedia (2021-07-01 04:44:27)

Offline

#2 2011-09-19 06:54:57

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: adi_page_tab - Enhanced Page Tab

Hi Adi.

Here is the missing french entries for the textpack file:

adi_use_page_section => Utilisez {name} avec la section 
adi_section_updated => Section {name} mise à jour

Note: the 1rst line need a space as a final character.

Cheers,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#3 2011-09-19 07:54:16

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Pat64 wrote:

Here is the missing french entries for the textpack file:

Thanks Patrick, uploaded & ready for action.

Note: the 1rst line need a space as a final character.

Now that’s something I never knew about French colons!

Offline

#4 2011-09-19 08:38:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,445
Website GitHub

Re: adi_page_tab - Enhanced Page Tab

Nice work as always, sir.

Are you a mind reader or have you installed adi_spyware on my laptop, btw? :-) Last week I made some notes on my Txp5 ToDo list that read:

  • An indicator on Pages/Styles tabs to show which Section(s) the currently edited item belongs.
  • (possible) A way to reassign the currently edited Page/Style to different Section(s) directly from these tabs.

Spookeh.

Last edited by Bloke (2011-09-19 08:38:32)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2011-09-19 09:35:10

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: adi_page_tab - Enhanced Page Tab

gomedia wrote:

Now that’s something I never knew about French colons!

Sure ;) And now if you want a very smart translation, you could change gTxt(‘update’) in:

.fInput("submit", "use", gTxt('update'), "smallerbox")

by gTxt(‘adi_section_update_button’) and for french translation:

adi_section_update_button => Mettre à jour

Note. It’s a subtile change. gTxt(‘update’) is translated to “Mise à jour” which means a final state action, and “Mettre à jour” is an invite for an action, very good for a button.

Cheers,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#6 2011-09-19 09:39:40

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Bloke wrote:

Nice work as always, sir.

Thanks – it’s one of things that’s been on list for some time.

Are you a mind reader or have you installed adi_spyware on my laptop, btw? :-) Last week I made some notes on my Txp5 ToDo list that read:

  • An indicator on Pages/Styles tabs to show which Section(s) the currently edited item belongs.
  • (possible) A way to reassign the currently edited Page/Style to different Section(s) directly from these tabs.

Spookeh.

I do tell my boy that I’ve got eyes in the back of my head! Maybe I’ve got iEyes too?

Offline

#7 2011-09-19 09:43:35

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Pat64 wrote:

… And now if you want a very smart translation, you could change gTxt(‘update’) in …

Always like to be smart … I’ll dress up for the next version.

Offline

#8 2011-09-19 11:18:37

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: adi_page_tab - Enhanced Page Tab

Yeah, man :)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#9 2011-10-25 05:43:02

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Version 0.2 now available for download:

  • handles page create, delete & copy properly
  • “Update” button now has its own language string (for Pat64)

Offline

#10 2011-10-25 22:35:32

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: adi_page_tab - Enhanced Page Tab

iEyes – lol

Offline

#11 2011-12-14 05:13:16

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Version 0.3 available here – fixes a problem if “copy page as” is filled in and the Save button is clicked, instead of Copy.

Offline

#12 2015-07-11 02:04:28

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_page_tab - Enhanced Page Tab

Version 0.4 now available for download

  • code tidy up
  • TXP 4.5-ified
  • TXP 4.5+ only

It’s mostly a 4.5 thing. I thought there was an issue on 4.6 but couldn’t find again, so please let me know if you see something.

Offline

Board footer

Powered by FluxBB