Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2017-03-18 16:50:44

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,902

Re: newbie issues (?) - what is wrong with my forms?

For the MLP issue you best ask in that topic.

The blog page might need some CSS love, like

.entry {
    padding-bottom: 0.5em;
    }

… cause the links there “adhere” to each other. Possibly caused when changing proprietary plugin code (with class) to TXP core tags (without).


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

Offline

#32 2017-03-18 21:23:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 7,643
Website

Re: newbie issues (?) - what is wrong with my forms?

sgw wrote #304884:

l10n: Content-Renditions still leads to a white page here …

Take your site out of Debugging / Testing mode and all will be fine. I think it’s an issue with the way MLP interacts with the new trace functionality that kills it. Haven’t found a fix yet.


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

#33 2017-03-20 08:45:11

sgw
Member
Registered: 2012-12-18
Posts: 52

Re: newbie issues (?) - what is wrong with my forms?

Bloke wrote #304894:

Take your site out of Debugging / Testing mode and all will be fine. I think it’s an issue with the way MLP interacts with the new trace functionality that kills it. Haven’t found a fix yet.

yes, that helps, thanks.

Offline

#34 2017-03-20 09:07:02

sgw
Member
Registered: 2012-12-18
Posts: 52

Re: newbie issues (?) - what is wrong with my forms?

uli wrote #304885:

For the separated contents issue: You’ll need something like this in your form “links”:

<txp:if_different>...

tried that without success.

pls advise, this is the content of the “Links” form (big L):

<li>
<txp:link rel="external" />
</li>

Offline

#35 2017-03-20 14:09:15

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,902

Re: newbie issues (?) - what is wrong with my forms?

Have a look at if_different’s page in the tag documentation (please bookmark), especially example 2. Note that a) if_different can only take 1 TXP tag inside its container to work. b) the linklist tag needs a “sort” parameter that corresponds to the tag used inside if_different, i.e. if you want the result sorted by e.g. category, with category name separators, the linklist tag’s “sort” attribute must contain “category” and the if_different tag must contain the link_category tag.
Edit: Put the result of your considerations at the top of your L/links form.


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

Offline

#36 2017-03-20 16:15:15

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 7,643
Website

Re: newbie issues (?) - what is wrong with my forms?

uli wrote #304939:

Note that a) if_different can only take 1 TXP tag inside its container to work.

That’s not strictly true. You can put whatever you want inside it — even many Txp tags — and if_different will only trigger if something inside its container differs from the last iteration. But you are correct insofar as the results might be a little unpredictable if you’re not careful, so for most cases one tag is plenty enough to avoid brain hurt!


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

#37 2017-03-20 17:38:19

sgw
Member
Registered: 2012-12-18
Posts: 52

Re: newbie issues (?) - what is wrong with my forms?

well, thanks for the pointers, didn’t get that working yet. And yes, brain hurts!! ;-)
I will give that another try some times maybe. For now the site works well enough IMO.
Got to get to updating content as well.

Offline

#38 2017-04-06 15:59:45

sgw
Member
Registered: 2012-12-18
Posts: 52

Re: newbie issues (?) - what is wrong with my forms?

I now return to this thread as I simply face the problem that I can’t add new content (or at least it doesn’t get displayed!).

What I did:

opened Rendition called “Talks: Linuxtage Graz 2016”, and created a copy (yab_copy_to_new 0.2).
Edited copy (to 2017 etc), switched to “Live” …

2016 : works

2017 : 404 not found

compared Status, Section, Category … deleted/edited user-defined URL … no success!

pls advise, I hope it’s a minor issue.

Offline

#39 2017-04-07 12:17:01

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,902

Re: newbie issues (?) - what is wrong with my forms?

You don’t need yab_copy_to_new on 4.6.2, there’s an onboard link for duplicating articles in the Write pane, on top of the right column (similar function in the Articles pane). In case you really used the plugin it’s most likely something didn’t work and results in the 404.

Things you could check:

  • If you used that built-in “Duplicate” link: Is the article really there? (With MLP you have a plugin that might easily give sone unexpected results on untested coincidences).
  • Does the 404 result from a faulty use of MLP (wrong section, wrong language, … whatever, I’m not MLP-savvy).
  • Does the page appear when you deactivate all plugins?
  • Does duplicating work with all plugins deactivated?
  • What happens when you copy the contents from the 2017 user-defined URL field (Write pane) and paste it into an opened 2016 article’s URL field (public facing side) replacing the 2016 part of the URL?


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

Offline

#40 2017-04-08 07:55:54

sgw
Member
Registered: 2012-12-18
Posts: 52

Re: newbie issues (?) - what is wrong with my forms?

removed yab_copy….
removed copied article, started again, used internal copy function.
Copying a german article results in an english one, “cloned” that to german via MLP, rm-ed “english” version.

preview of article works, in “live” status -> 404

disabled l10n/MLP, more blog entries visible, including the copied one.
checked section/category/language.

I think I will keep the site in german only for now.

Offline

Board footer

Powered by FluxBB