Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 02:09 pm EST
Geeklog Forums
how to insert { tag in template
Status: offline
ivy
Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
How can I insert {xxx} tag in template?
like this
see http://getuikit.com/docs/lightbox.html
now, {goup... is disappeard.
Geeklog Japan https://www.geeklog.jp
like this
Text Formatted Code
<a href="" data-uk-lightbox="{group:'my-group'}">...</a>see http://getuikit.com/docs/lightbox.html
now, {goup... is disappeard.
Geeklog Japan https://www.geeklog.jp
14
11
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Ivy,
Try to add a space between { and content
I'm available to customise your themes or plugins for your Geeklog CMS
Try to add a space between { and content
Text Formatted Code
<a href="" data-uk-lightbox="{ group:'my-group' }">...</a>I'm available to customise your themes or plugins for your Geeklog CMS
13
7
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Yeah that is the problem with using the curly brackets to define Geeklog template variables. Adding the space stops the template class from replacing what it thinks is a unused template variable with an empty string.
One of the Geeklog Core Developers.
One of the Geeklog Core Developers.
10
13
Quote
Status: offline
ivy
Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
Thanks! It works correctly.
Geeklog Japan https://www.geeklog.jp
Text Formatted Code
Try to add a space between { and contentGeeklog Japan https://www.geeklog.jp
14
13
Quote
All times are EST. The time is now 02:09 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content