Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2004-10-08 17:25:14
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Ok, I think I see the problem. Since you aren’t using the default group, the plugin requires that a group be specified for each of those calls. Doing this should work:
<code>
<txp:spc_section_alias_name group=“blogs” />
<h1><txp:spc_section_alias_section group=“blogs” /></h1>
<h4><txp:spc_section_alias_description group=“blogs” /></h4>
</code>
Last edited by spchampion (2005-08-25 14:42:56)
Offline
#32 2004-10-19 22:05:00
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Bug fix and updated to 0.4.2.
The spc_section_alias_link and _article_link functions did not properly respect the group list feature. No other changes.
Last edited by spchampion (2004-10-19 22:06:00)
Offline
#33 2004-10-22 20:18:11
- codyjack
- New Member
- Registered: 2004-09-27
- Posts: 3
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Is there the ability to add accesskey to section links?
Offline
#34 2004-10-22 22:20:19
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
I’ve not used that before. From reading the documentation, I see that this is just another field like id or title? Is that correct? If so, I can add a hook for it pretty easily.
Offline
#35 2004-10-22 22:31:54
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Yes. Just another attrib is all it is. <code><a href=”/” accesskey=“h”>Home</a></code> for a link attribute would send you to that page if you hit ‘alt-h’ (different on Mac?).
Offline
#36 2004-10-25 16:33:06
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
I’ve posted a new version (0.5) that adds support for accesskey.
Offline
#37 2004-10-27 08:38:47
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Hie Stanton,
i did get the 0.5 version of your plugin and installed it on rc1 on my local host. i did start with the prefix form. But no luck to get it work. so i went through the whole thread and followed akb tests.
<code><?php global $spc_section_alias_hash; print_r($spc_section_alias_hash); ?></code> doesn´t throw out anything at all.
the plugin is aktive. another plugin i tryed, works fine.
would be great, if you could help.
thx alex
Offline
#38 2004-10-27 17:52:50
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Alexandra,
Double check your page source and make sure the place where you put that test line is really empty. Does it display anything at all? If that test failed, it means that the alias function is not setting the data correctly in your prefix header.
Can you tell me more about your site? What does your prefix header look like?
Offline
#39 2004-10-27 18:58:58
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Hie Stanton,
i get this:
<code>Array ( [default] => Array ( [tags] => Array ( [name] => Site News [title] => Stuff about this site [description] => Articles about changes to the site go here. Read all there is to know about how this place has changed over time. [inactive] => 0 [section] => tags ) ) )</code>
i did take your pre fix form obviously.
ps: i am off for a couple of days, will come back next week
Last edited by alexandra (2004-10-27 20:34:43)
Offline
#40 2004-10-27 20:32:48
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Ok… Can you confirm that you’re using a tag that looks something like this:
<code>
<txp:spc_section_alias_name section=“tags” />
</code>
Last edited by spchampion (2005-08-25 14:43:15)
Offline
#41 2004-10-27 20:43:12
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
> spchampion wrote:
> Ok… Can you confirm that you’re using a tag that looks something like this:
i did use <code><txp:output_form form=“section_prefix” /></code> which did not work.
With this tag
<pre>
<code>
<txp:spc_section_alias_name section=“tags” />
</code>
</pre>
it works.
i´m sorry, if i did bother for nothing. i followed you instructions.
Offline
#42 2004-10-27 21:26:40
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Right! Doing the output_form thing again only reloads the section settings.
Glad it works! Good luck!
Offline
#43 2004-10-27 21:41:26
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
Thx Stanton, for your help. i will take further steps on your very helpful plugin next week. perhaps i have to consult you again :)
best regards – alex
Offline
#44 2004-10-29 06:57:27
- humanoid
- Member

- Registered: 2004-06-24
- Posts: 17
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
hi,
I like this plugin a lot, and try to use it like this:
<txp:article_custom limit="5" category="leftlinks" section="<txp:spc_section_alias_article_section />" />
the outcome is however not what I would expect, it doesn’t seem to work
Also tried
<txp:article_custom limit="5" category="leftlinks" section="<txp:spc_section_alias_section />" />
without luck.
Using just
<txp:spc_section_alias_section />
works ok in the rest of the page.
Hope someone can help me.
Offline
#45 2004-10-29 18:59:39
- spchampion
- Archived Plugin Author
- Registered: 2004-06-10
- Posts: 62
Re: [plugin] [ORPHAN] spc_section_alias - Section renaming and management plugin.
humanioid,
Are you doing this as part of an iterate call or is this just in a page template? If you’re doing this in a page template, then my plugin isn’t even necessary here. article_custom will use the current section without any extra help.
Offline