A public side plugin. It simply saves search phrases, which are made with Textpattern’s internal search engine, to a database. The plugin saves:

search phrase

date and time when search was made

]]>Sat, 01 Aug 2015 23:20:28 +0000http://forum.textpattern.com/viewtopic.php?id=46098http://forum.textpattern.com/viewtopic.php?id=46087
I’m trying to recreate an installation of TXP g1.19 from a backup. So far the admin area is working fine but I can’t get the front end working, I am missing the .htaccess file and possibly others. Is there an archive of older versions where I might find a complete package and some setup instructions for this or similar versions?

——————————
Update: I located another backup and used that. All working fine now.

While the design and content of the site is still in ferment, its primary role is to explain Textpattern in a nutshell, targeted at people who know nothing about it.

I set myself the task of illustrating “What is Textpattern” in a diagram:

Missing is Themes – ‘though this shouldn’t be too difficult to add (I’m waiting until we know just how themes will work).

Comments please. Does my diagram work? Is it rong?

]]>Thu, 30 Jul 2015 23:08:03 +0000http://forum.textpattern.com/viewtopic.php?id=46085http://forum.textpattern.com/viewtopic.php?id=46084
i have crated a custom field, it’s name is serial . is it possible to make that unique? it mean don’t accept the repeated code on each article.
thanks TXP team :-)]]>Thu, 30 Jul 2015 19:16:55 +0000http://forum.textpattern.com/viewtopic.php?id=46084http://forum.textpattern.com/viewtopic.php?id=46083
“New beginnings are often disguised as painful endings.” ~ Lao Tzu

Last week, Stef and I carried on an email thread related to Themes, no conclusion was arrived at.

While testing Stef’s new Themes branch on GitHub, I came to the conclusion that it just ads another layer of complexity that we don’t really need. The way Stef’s branch works is that you pick a Theme and then the Pages, Forms & _Styles are populated from said Theme. But what if I want to copy/paste some code from another theme? – Open up another browser tab to the other theme? .or. Pick the theme to copy from, copy the code, then go back to the one I was working on? Quite a lot of steps to copy/paste code between layouts.

What is a Theme?

1 or 2 Pages

Assorted Forms – head, footer, etc.

1 Style

My thinking is that a Theme is 1 page, with an associated Style of the same name. From the example above you can see that I’m working on the 2-col-portfolioTheme. So I have a 2-col-portfolio Page and a 2-col-portfolio Style, but in the Forms tab, I have to preface each form with the Theme name.

Why not use Form type to denote Theme?

Back to the screenshot, I changed the gTxt language record for Articles to Default and Section to 2-col-portfolio just to make this point.

Let’s install this new Themes related branch, for those that want to take the plunge:

All forms are placed under a DefaultTheme(Form type), this Theme cannot be deleted nor the list of protected forms that reside under this Theme.

This new DefaultTheme is just the bare essentials, not Phil’s new Theme, that can be installed afterwards.

Let’s upgrade to this new Themes related branch

All your current forms are grouped under the DefaultTheme – some forms have protection status, you can change them but they can’t be deleted, like the default article form.

Don’t like everything under Default, then clone the DefaultTheme into My Theme and go from there – but you’ll have to adjust your Pages and Forms to use My Theme, wherever a form is called, or else leave them all under Default and your site keeps serving pages without a hiccup.

How do we accomplish this?

Any Textpattern tag that uses a form would have to take into account the Theme, if no Theme attribute is given, the default Theme is Default.

<txp:article form="default, 2-col-portfolio" />

or

<txp:article form="default" theme="2-col-portfolio" />

Where’s the payoff?

Now’s the time for all you web developers, who live in your text editors and copy/paste your immaculately indented code into the Textpattern Presentation tabs for rendering purposes, to leave the room, this doesn’t concern you.

The payoff is that we, the Textpattern end users, can freely share Themes and we can install them in our Textpattern sites and use them or learn from them.

New beginnings

This post is not a can we do this? Let’s discuss, ad nauseum. No. This post is my intention, my direction.

]]>Thu, 30 Jul 2015 11:26:42 +0000http://forum.textpattern.com/viewtopic.php?id=46083http://forum.textpattern.com/viewtopic.php?id=46081
I want to have a search box, that should search exact word from the Title not any other fields like excerpt, body, etc…
Example: if i write ABC-001 on the title of first article, write ABC-001 on the body and excerpt of the second article when i want to search ABC-001 that will find just the first article.<txp:search_input label="Search" match="exact" />]]>Thu, 30 Jul 2015 09:59:33 +0000http://forum.textpattern.com/viewtopic.php?id=46081http://forum.textpattern.com/viewtopic.php?id=46078
I have also posted this question in the plugins forum, but that forum does not appear to be too active so I am hoping for more success with the general community:

Has anyone got Insert Image to work in version 4.5.5 using hak_tinymce WYSIWYG article editor — the box pops up but the wheel just spins and the fields have labels like: {xpimage_dlg.src} Any assistance would be greatly appreciated.

Thanks.

]]>Wed, 29 Jul 2015 21:04:31 +0000http://forum.textpattern.com/viewtopic.php?id=46078http://forum.textpattern.com/viewtopic.php?id=46074
I’ve got Oleg’s etc_pagination set up to paginate an article_custom list pretty much according to his instructions (very useful btw) but want to have a clean url structure and rewrite that using htaccess.

I believe I’ve set up a new sub-domain at my host. That’s at least what it says, ie, I am the proud owner of a sub-domain.

Subdomain Name: imagebank
Folder: /imagebank
Status: Setup

I have put the images in the folder /imagebank that was created by the host.

<img src="http://imagebank.xxxxx.co.nz/imagebank/8.jpg" alt="">

does not produce an image

<img src="http://xxxxxx.co.nz/imagebank/8.jpg" alt="">

does produce an image

Maybe I’ve missed some step in there

Any thoughts there, I have a feeling it’s something quite simple.

Thanks, g

]]>Tue, 28 Jul 2015 04:30:20 +0000http://forum.textpattern.com/viewtopic.php?id=46071http://forum.textpattern.com/viewtopic.php?id=46070
Is it possible to add a photo to an existing gallery at a certain date in the future?
I.E. I would like to upload the image today, designate the image category, caption and so on, and make it visible next week.

Thanks

]]>Mon, 27 Jul 2015 19:20:18 +0000http://forum.textpattern.com/viewtopic.php?id=46070http://forum.textpattern.com/viewtopic.php?id=46068
Before we take hammer and chisel to the doc slates — for which the index page is a logical first step, as it gives indication to the organization of content — it would be prudent to briefly talk about audience, scope, and organization.

As I recall from the conversations of old, one of the problems happening with the former .net wiki was that it was turning into a dumping ground for docs of any ol’ nature and audience. But that was not what it was originally created for. It was supposed to be the “end user manual” for the core system, not the plugin developer manual and theme designer manual too. With this new opportunity, I would propose we get back to the basics as it concerned end users and core functionality.

Obviously the core will change a bit in future releases, notably with how themes are handled. But we’re not there yet, so those docs are not a priority yet either. Nevertheless the user docs might not be the best location for specific kinds of docs like theme designing and plugin development. If there’s ever a real plugins site (e.g., .org) and a similar kind of home for themes/competitions, then those locations would be better places for housing their specific documentation types in context. My two cents.

With that in mind, I propose removing reference to any kind of documentation in the new user docs that is beyond core functionality (e.g., extension, custom design, etc.), as well things like discrete tutorials that would provide more clout at TXP Tips, the .com blog, or whatever. User docs should just be basic, out-of-the-box descriptions of core functionality with a few examples (such as you’d find in the Tag Ref pages).

So, if Team Textpattern was in agreement, my first chiseling would be on the index page, refining it to show this more narrow scope of instruction (for the first-time installer/end-user audience type).

]]>Mon, 27 Jul 2015 13:00:14 +0000http://forum.textpattern.com/viewtopic.php?id=46068http://forum.textpattern.com/viewtopic.php?id=46067
According to Kaizen Garden’s website, literary magazine, Five Dials, is run on Textpattern. Looks great! One for the honors list if the rumor is true.]]>Mon, 27 Jul 2015 11:14:21 +0000http://forum.textpattern.com/viewtopic.php?id=46067http://forum.textpattern.com/viewtopic.php?id=46062
Consider the following scenario:

Please have a look at my a site I’m currently working on: http://frickeln.jensfreyer.de/ (I guess it’s the easiest way to get the issue I’m struggeling with. Please go to the navigation bar “Reisen” | “Deutschland” | …

I’m trying to create a kind of a “dynamic” navigation which depends on available categories. For “Deutschland” all children categories (category2) are shown according to that piece of code:

But that’s not what I actually want to do. My intension is to show a list of category2 if available for the shown Category 1 (= “Deutschland”). But all previous attempts failed with the TXP error information “Article tags cannot be used outside an article context”.

Is there any way to show all “children” of e.g. the Category 1 = “Deutschland” if existing outside an article context!?

Your ideas are very appreciated! Thanks in advance!

Cheers!
—
Jens

]]>Sun, 26 Jul 2015 16:58:08 +0000http://forum.textpattern.com/viewtopic.php?id=46061http://forum.textpattern.com/viewtopic.php?id=46060
I recently got an email when Textpattern auto-updated to a new version on one of my sites. I want to add another email address for such notifications, but darned if I can find where to do that. It’s not under Admin > Users or Admin > Preferences, either Basic or Advanced. Where then?]]>Sat, 25 Jul 2015 20:44:13 +0000http://forum.textpattern.com/viewtopic.php?id=46060