# Tags not working (on my test setup?)

**URL:** https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249
**Category:** Questions
**Tags:** v2
**Created:** [March 3, 2015, 8:20pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249 "2015-03-03T20:20:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![koffeingeladen](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/koffeingeladen/32/191_2.png) [@koffeingeladen](https://forum.getkirby.com/u/koffeingeladen)
#### Post date: [March 3, 2015, 8:20pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249/1 "2015-03-03T20:20:02Z")

</div>

Hi!

I’ am playing with kirby right now and wanted to write a kirbytext extension. I followed the tutorial in the documentation and noticed that it did not work. After some fiddling I decided to download a plugin (I choose [this](https://github.com/fanningert/kirbycms-extension-code) one) to test if it was my fault and it turns out that the plugin doesn’t work either. I am using MAMP with Apache for testing and developing, but I am not sure what causes this error.

If I wanna use the tag it just gets printed. For example:

I have following lines in my article.txt file:

```md
# Test

Trying out stuff!
(code: test.html)

```

and it just gets printed out.

This is the folder structure:

```auto
site
├── ...
├── tags
│ └── code.php
├── ...

```

I have following custom contents in my config.php:

```php
c::set('timezone', 'Europe/Berlin');
setlocale(LC_TIME, 'de_DE');
c::set('markdown.extra', true);

```

Any ideas?

PS: Hi everyone, first time working with kirby, I am really exited. 🙂

---

<div class="post-metadata">

### Author: ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)
#### Post date: [March 3, 2015, 8:36pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249/2 "2015-03-03T20:36:11Z")

</div>

@koffeingeladen What code do you use to output the content?

BTW: the code in your config should be: `c::set('locale', 'de_DE');`, I think.

---

<div class="post-metadata">

### Author: ![koffeingeladen](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/koffeingeladen/32/191_2.png) [@koffeingeladen](https://forum.getkirby.com/u/koffeingeladen)
#### Post date: [March 3, 2015, 8:42pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249/3 "2015-03-03T20:42:40Z")

</div>

```php
<?=$page->text()->markdown()?>

```

Yeah, the `->kirbytext()` was missing. Thanks!

About the locale: For now it is only there to get german month names and `setlocale(LC_TIME, 'de_DE');` ist doing that for me. Don’t know what difference `c::set('locale', 'de_DE')` would make.

---

<div class="post-metadata">

### Author: ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)
#### Post date: [March 3, 2015, 8:45pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249/4 "2015-03-03T20:45:30Z")

</div>

c::set is just the kirby way of doing it …, so used to it now that sometimes pure php looks unfamiliar;)

---

<div class="post-metadata">

### Author: ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)
#### Post date: [February 6, 2025, 5:20pm UTC](https://forum.getkirby.com/t/tags-not-working-on-my-test-setup/249/5 "2025-02-06T17:20:50Z")

</div>


