Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-10-19 00:43:55

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

adi_form_links - Admin-side form links

Summary

adi_form_links is another plugin designed to speed up workflow – from an idea by Edoardo.

It gives you a list of TXP forms referenced by the currently viewed Page or Form template. From this list you can then jump straight to the form edit/create tab.

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

Screenshot

Textpack

You can install a Textpack from the adi_form_links options page under the Plugins tab. Corrections or additional language translations are most welcome and can be submitted here.

Currently the Textpack contains:

  • French (thanks Pat64)
  • German (thanks uli)
  • Polish (thanks BKawalec)

Requirements

Textpattern 4.7 or later.

Bug & Limitations

  • if your page or form contains TXP code with syntax errors then the form list may not work
  • forms are only recognised if the attribute names end with “form”, e.g. “form”, “listform”, “thanks_form” etc.

Version history

  • 0.5
    • TXP 4.7+
  • 0.4
    • refixes for TXP 4.6
  • 0.3.1
    • fix: cope with default page not being called “default” in 4.6 (thanks jpdupont)
  • 0.3
    • fixes: to back up the wild claim made about TXP 4.6 in version 0.2
    • code tidy up
  • 0.2
    • ignore invalid form names
    • blacklist
    • tested on TXP 4.6
  • 0.1
    • initial release

Feedback

Comments are most welcome.

Credits

  • Edoardo (wornout) – his great idea
  • Uli – beta tester extraordinaire

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-06 00:24:40)

Offline

#2 2011-10-19 01:36:37

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

Re: adi_form_links - Admin-side form links

Absolute fuggin genius :)

I read the thread which started all this and didn’t understand what you were trying to achieve, but now – superb

Thanks to all involved :)

Offline

#3 2011-10-19 02:53:55

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: adi_form_links - Admin-side form links

Useful for every TXP site I’ve built. Thanks, Adi.

Offline

#4 2011-10-19 07:56:10

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: adi_form_links - Admin-side form links

adi=bomb

Offline

#5 2011-10-19 12:35:42

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: adi_form_links - Admin-side form links

A linked cheat sheet that you can throw on any existing TXP site!

I find adi_form_links incredibly useful especially if you have front-side page/form editing links and need to make quick changes on a site you built quite a while back so you can’t remember which form adds content to the form you’re just looking at.
Also, you don’t need to clutter or overlay your design with edit links for each form the (front side) page uses.

Thanks, Adi! :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2011-10-19 17:40:34

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

Re: adi_form_links - Admin-side form links

Hi Adi ;)

Here is a (possible) french translation for adi_form_links_super_usefull textpack file:

$adi_form_links_gtxt = array(
		'adi_edit_form' => 'Editer ce module',
		'adi_forms_referenced' => 'Modules associés ',
		'adi_forms_used' => 'Modules utilisés',
		'adi_link_list' => 'Liste de liens',
		'adi_list_format' => 'Format de la liste ',
		'adi_none_found' => 'Aucun résultat',
		'adi_pref_update_fail' => 'Echec de mise à jour des préférences',
		'adi_textpack_fail' => 'Echec d\'installation du Textpack (fichier de traduction)',
		'adi_textpack_feedback' => 'Commentaires sur le Textpack (fichier de traduction)',
		'adi_textpack_online' => 'Textpack est également disponible en ligne',
		'adi_update_prefs' => 'Mettre à jour les préférences',
	);

Cheers,


Patrick.

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

Offline

#7 2011-10-19 22:40:02

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

Re: adi_form_links - Admin-side form links

Uli – thanks for the German textpack

Pat64 – thanks for the French (I already had the last 5 phrases) and I hope I’ve preserved the “space before colon”!

tye, maruchan & mrdale – no excuses not to work faster now!

Offline

#8 2011-10-19 22:45:46

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 329
Website

Re: adi_form_links - Admin-side form links

Adi,

This is fabulous. I’m in the midst of developing a complex site – this plugin is huge.

Keith

Offline

#9 2011-10-21 14:10:25

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: adi_form_links - Admin-side form links

Hi Adi !
If the form doesn’t exist … fabulous !!!
:-)))))

Offline

#10 2011-11-10 16:00:17

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: adi_form_links - Admin-side form links

Hi Adi,
Good plugin, unfortunately I do not use the back office to write the pages and modules. I use the plug’in cnk_versionning.

But I’m thinking if it is possible to create a form that would have the role of “Admin Links” with rvm_privileged: an area that lists a series of useful links, visible from the front pages:

  • Name of the template used with link to edit the template
  • Names of modules used with links to editing modules.
<txp:if_privileged level="1">
  <div id="admin_links>
    <txp:adi_page_link />
    <txp:adi_form_link />
  </div>
</txp:if_privileged>

Is this plug’in could be a basis for work?

Offline

#11 2011-11-11 03:55:38

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

Re: adi_form_links - Admin-side form links

sacripant wrote:

Hi Adi,
Good plugin, unfortunately I do not use the back office to write the pages and modules. I use the plug’in cnk_versionning.

Is this plug’in could be a basis for work?

Currently adi_form_links is very much geared up for life on the admin side of things. That said, it would not be beyond the bounds of possibility to extend it into the outside world. Current work commitments would preclude such an undertaking for the time being. Sorry.

I don’t use cnk_versioning, so excuse my ignorance, but my understanding of it is that pages/forms etc are stored as external files – so I’m not sure how I’d link to them anyway? Aren’t they edited using an external editor?

Offline

#12 2014-07-17 13:24:20

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

Re: adi_form_links - Admin-side form links

Version 0.2 available for download

  • ignore invalid form names
  • blacklist
  • tested on TXP 4.6

The first blighter for the blacklist is smd_wrap with its “transform” attribute. If anyone finds any others, please let me know.

Offline

Board footer

Powered by FluxBB