Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2008-03-31 11:16:19

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Feedback on the Textpattern 4.0.6 release

It does work in 4.0.6 as up until about 48 hours ago I was using it myself. I’ve just read geoff777’s post and note that he has placed the link in his footer form which I’m pretty sure won’t work. As far as I recall it needs to be in your article form. The idea of the plug-in isn’t to simply take you into TXP admin but to be a direct link to a specific article in the “Write” tab. Where have you placed the tag?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#86 2008-03-31 11:50:44

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

Yep. From the documentation: Add the rss_editlink tag to your article form (e.g., <txp:rss_article_edit>Edit</txp:rss_article_edit>)

Works for me too in 4.0.6.

No change required!

if (@txpinterface == 'admin') {
	add_privs('editlink','1,2,3,4,5,6');

Already in the 0.1 code.

Last edited by merz1 (2008-03-31 11:53:55)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#87 2008-03-31 21:58:19

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: Feedback on the Textpattern 4.0.6 release

Thank you for your quick replies, and pointing out to put the ‘rss_editlink tag’ in the ‘article form’.

Offline

#88 2008-04-01 13:04:59

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Feedback on the Textpattern 4.0.6 release

Rudd (or Anyone else)

I have come across the same issue (Restircted Area Under extension Tab) with a site I recently upgrdaed. The plug in that I am having an issue with is IGN Password Protect. I am getting under the Extension Tab the message “Restricted Area.” I looked inside of the plug in and saw this code:

//generate admin interface
if (txpinterface == 'admin')
{
	if (empty($prefs['ign_user_db']))
	{
		ign_pp_install();
	}

	//assign privs for interfaces
	add_privs('ign_password_protect','1,2');
	add_privs('ign_users','1,2');

	//create tabs, register callback functions for those tabs
	register_tab('extensions', 'ign_user_mgmt', 'ign_user_mgmt');
	register_callback('ign_manage_users', 'ign_user_mgmt');
}

From this thread it seems like the discussed solution is already in place.

Do you happen to have any other suggestions? It was working fine prior to the upgrade.

Thanks.

progre55

Last edited by ruud (2008-04-01 13:10:41)

Offline

#89 2008-04-01 13:10:13

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Feedback on the Textpattern 4.0.6 release

I think add_privs('ign_user_mgmt', '1,2'); is missing.

Offline

#90 2008-04-01 13:13:42

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Feedback on the Textpattern 4.0.6 release

Rudd:

THANK YOU.

progre55

Offline

#91 2008-04-01 16:18:07

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: Feedback on the Textpattern 4.0.6 release

ruud,

thanks for bailing me out – i’d tweaked my local version after compiling and hadn’t noticed that it was different from the svn repo version.


And then my dog ate my badger, and the love was lost.

Offline

#92 2008-04-15 01:38:31

sirNemanjapro
Member
From: Čačak, Serbia
Registered: 2007-12-08
Posts: 59
Website

Re: Feedback on the Textpattern 4.0.6 release

I dont get it. Dose asy_sitemap should look like this?

if (@txpinterface == ‘admin’) { add_privs(‘asy_sitemap’, ‘1’); register_tab(“extensions”, “event”, “tab name”); }


“… they were enterprising voyages…” – Mr. Spock ( from Spock vs. Q )

Offline

#93 2008-04-15 01:51:44

sirNemanjapro
Member
From: Čačak, Serbia
Registered: 2007-12-08
Posts: 59
Website

Re: Feedback on the Textpattern 4.0.6 release

I got it. :)
Solved.


“… they were enterprising voyages…” – Mr. Spock ( from Spock vs. Q )

Offline

#94 2008-04-22 13:29:42

mbravo
New Member
Registered: 2005-08-11
Posts: 8

Re: Feedback on the Textpattern 4.0.6 release

I have upgraded a 4.0.5 installation to 4.0.6 and suddenly got a problem with out-of-context txp:link_to_prev on default page (front page). It worked in 4.0.5 but broke in 4.0.6. When in Live mode, the navigation header just stops working, but if I enable testing mode, I see a Textpattern notice at the top about txp:link_to_prev being used outside of article context.

Is this supposed to happen with the upgrade? Any suggestions on the way to fix it, or work around it?

I’m using the Widescreen template by James Muspratt at my photoblog here – http://podorogenarabotu.spb.ru/

Many thanks in advance, and thanks for all the maintenance work that’s going in the upgrades!

Offline

#95 2008-04-22 14:13:32

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Feedback on the Textpattern 4.0.6 release

The notice/warning is correct: link_to_next/prev should be used in article context, not in article list context.
You can fix this by putting those tags inside a <txp:if_individual_article> container tag.

Offline

#96 2008-04-22 15:20:10

mbravo
New Member
Registered: 2005-08-11
Posts: 8

Re: Feedback on the Textpattern 4.0.6 release

ruud wrote:

The notice/warning is correct: link_to_next/prev should be used in article context, not in article list context.
You can fix this by putting those tags inside a <txp:if_individual_article> container tag.

Thank you, this worked as intended, to get rid of the warning notice! Now I have to think about how do I reference the previous article outside of article context (need to link to it from navigational header on first/current page), but it’s not for this thread I guess.

Offline

Board footer

Powered by FluxBB