Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 2005-05-25 21:59:44
Re: mem_glinklist: Grouped Link List
I would like to use this plugin with the “rss_link_date” but it needs the $thislink variable
As of Textpattern Rev 366 a global variable $thislink has been added. This variable is available for use during the processing and listing of links when using the <txp:linklist /> tag and allows for the display of any and all information related to links.
Would it be too difficult to add this functionality to your plugin?
Refresh Dallas and other Refreshing Cities.
Offline
#122 2005-05-26 03:10:58
Re: mem_glinklist: Grouped Link List
Also, can you enable it so it outputs the category titles instead of the category names.
Like Etz did in comment #67 of this post
Last edited by tinyfly (2005-05-26 03:29:20)
Refresh Dallas and other Refreshing Cities.
Offline
#123 2005-05-27 20:30:27
Re: mem_glinklist: Grouped Link List
supa,
I would like to see your code. I really need the mem_if_links_exist() and mem_if_subcategories_exist(). This works in the page template right?
Last edited by tinyfly (2005-05-27 20:31:32)
Refresh Dallas and other Refreshing Cities.
Offline
#124 2005-05-28 06:25:17
Offline
#125 2005-05-28 12:32:01
Re: mem_glinklist: Grouped Link List
Excellent Manfre, thanks!
Last edited by tinyfly (2005-05-28 12:34:39)
Refresh Dallas and other Refreshing Cities.
Offline
#126 2005-05-29 01:44:03
Re: mem_glinklist: Grouped Link List
I have updated the plugin to the latest version 0.8. Until today, I was using one of the first versions of this plugins, so, i need to re-learn the use of this plugin and all the new attributes. I’m still learning… but…
I think something is going wrong with the “headwraptag” attribute.
If I set it to “div” or “h2”, it outputs a closed tag (similar tu “br” or “hr”)
It is outputting something like this:
<div class=“caja”><b><div /></b>
<ul><li>
I dont know if I’m setting anything wrong…
BTW, if I set “headwraptag” to something like “div” or “h2”… what will this plugin output between the tag? the category name?
I can figure it out yet.
Thanks!
PD: is possible to use BBCode in this forum?! I didnt be able to use [code][/code], so, need to write HTML entities to display the chunk of HTML code.
Offline
#127 2005-05-29 04:57:43
Re: mem_glinklist: Grouped Link List
maniqui, What is the mem_glinklist tag that you are using? Also, what version of Textpattern are you using?
Offline
#128 2005-05-29 05:54:44
Re: mem_glinklist: Grouped Link List
Hi Manfre,
this is my mem_glinklist tag:
<txp:mem_glinklist category=“fabricantes” form=“plainlinks” columnwraptag=“ul” columnclass=”“ headwraptag=“h2” headclass=”“ listwraptag=“div” listclass=“caja” />
My TXP version is RC3 (stable version, downloaded from textpattern.com, not from SVN).
Offline
#129 2005-05-29 06:30:55
Re: mem_glinklist: Grouped Link List
Mmmmmmmmm.
How is the correct way to use of “catform” attribute?
and wich is the difference with “headwraptag”?
I’m trying to use both… and now the plugin is outputting two heading tags…
Offline
#130 2005-05-29 06:43:10
Re: mem_glinklist: Grouped Link List
Cannot edit posts… (whats going on?!)
So, I need to post again (excuse me)
I’m trying to use both… and now the plugin is outputting this:
…<div class=“caja”><b><div><h2></h2></div></b>
<ul><li>….
My catform form is this:
…<h2><txp:mem_cat_title /></h2>
So, the only thing left is to output the value for <txp:mem_cat_title />
The value that will be outputted… is the name corresponding to the category given in the mem_glinklist tag?
PS: excuse my english
Offline
#131 2005-05-29 06:52:15
Re: mem_glinklist: Grouped Link List
Finally, I get it
<txp:mem_cat_title /> and >txp:mem_cat_name /> arent the same thing.
It workis with name (the category name is outputted) but… what is category title?!
BTW, TXP should have the option to give a category two values:
- a category name (to be used as a variable) and a category title (to be used for more human readable purposes, as long titles…)
- the same applies to sections (i know there is a plugin spc_section_alias for these, but I think this should be part of the TXP ouf-of-the-box)
PS: again, excuse my english
Offline
#132 2005-05-29 14:22:05
Re: mem_glinklist: Grouped Link List
The category title is the human readable field “title” from the database. This has been added to svn not too long ago. My guess is that you are using a version before they added this functionality.
FYI, the mem_cat_crumbtrail tag uses the “name” field and not the title field. This will be corrected in the near future.
Offline