Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] tcm_crumbs

#37 2004-10-08 08:04:55

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: [archived] tcm_crumbs

Thank you for this great plugin !
Works like a charm, and the way you customized it is user-oriented… what more could we ask ?

THX !

I have used it for this site

Last edited by davidm (2004-10-12 00:21:08)


.: Retired :.

Offline

#38 2004-10-10 13:39:42

papalozarou
Member
Registered: 2004-07-05
Posts: 43

Re: [archived] tcm_crumbs

I have managed to get it to output the links in enclosed in lis by altering the code slightly:

<pre>
$data .= “<li><a href=\”“.$pretext[‘pfr’].”?c=”.$thisarticle[‘category2’].”\”>”;
$data .= $thisarticle[‘category2’];
$data .= “</a></li>”;
</pre>

But what i need is to be able to move the separator character to within the preceeding li item, but not as a link:

<pre>
<li><a href=”/alinkhere”>Section name</a> &raquo </li>
</pre>

Anyone know how to do that?

Last edited by papalozarou (2004-10-10 13:40:27)

Offline

#39 2004-10-10 23:30:56

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_crumbs

Offline

#40 2004-10-11 06:41:23

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: [archived] tcm_crumbs

FYI Tom:

After installing your plugin (running on IIS, WinXp, PHP 5.01 CGI), I got this error:

Parse error: syntax error, unexpected ‘"’ in c:\Inetpub\wwwroot\textpattern\textpattern\publish.php(769) : eval()’d code on line 1982

Of course, this might be just particular to my system, but I thought you might like to know.

Offline

#41 2004-10-11 23:23:12

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_crumbs

aesop – that should be fixed, it was probably due to some careless f+replace with single quotes.

Offline

#42 2004-10-12 15:34:14

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: [archived] tcm_crumbs

Cool. Great plugin—I’ll install it and see if I can finally replace my little hack job.

Offline

#43 2004-11-17 19:53:34

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] tcm_crumbs

Um, just wondering if there is any reason this plug-in would not work if droped into a form OR hardcoded into a page????

Yes, it is installed and turned on, but it out puts absolutely nothing….

Ugh.


To even the least of these…

Offline

#44 2004-11-17 20:28:35

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_crumbs

and you’ve followed the instructions on how to format the output?

Offline

#45 2004-11-17 20:33:07

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] tcm_crumbs

the instructions are a bit vague… I dont get <code>!h!</code> etc.

What i did was to put < txp:tcm_crumbs /> by itself and then with every combo of the other atts that i could but it did not output anything. Tried stuff like mode=“htccs” and such…

Any thoughts???

Last edited by jbrew (2004-11-17 20:33:47)


To even the least of these…

Offline

#46 2004-11-17 20:48:12

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_crumbs

you need to set the “format” for the crumbs to use.

< txp:tcm_crumbs format=“,,!s!” />

will output

Category 1, Category 2, Section.

Offline

#47 2004-11-17 20:56:40

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] tcm_crumbs

Warning: Unexpected character in input: ‘’ (ASCII=1) state=1 in /home/starbeck/public_html/textpattern/publish.php(767) : eval()’d code(639) : regexp code on line 1

Parse error: parse error, unexpected ‘;’, expecting T_VARIABLE or ‘$’ in /home/starbeck/public_html/textpattern/publish.php(767) : eval()’d code(639) : regexp code on line 1

Fatal error: Failed evaluating code: $ in /home/starbeck/public_html/textpattern/publish.php(767) : eval()’d code on line 639

Oops! Didn’t expect that…. any idea why that error pop up?


To even the least of these…

Offline

  1. Index
  2. » Archives
  3. » [archived] tcm_crumbs

Board footer

Powered by FluxBB