Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-11-29 19:05:57
- kr
- New Member
- Registered: 2012-11-27
- Posts: 3
How do I temporarily hide code?
Hello
I am looking for some guidance, tutoring. I have just started using TXP and have a couple of questions.
Is there anyway to “hide code” from being used and then later down the road open code up for use again?
Please help if you can
Ken
> deleted telephone number for privacy protection (thanks Pete). Please contact Ken via his profile
Last edited by colak (2012-11-30 09:24:00)
Offline
#2 2012-11-29 20:03:01
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: How do I temporarily hide code?
Hi Ken, welcome to Textpattern! First of all, I will move your post to the appropriate forum :)
Edit: OK, done :) You can ask all you want in this forum.
To answer your question: you can wrap the code you want to hide in <txp:hide>...</txp:hide>
tags. Whenever you want to use the hidden code again, all you have to do is remove these tags.
Last edited by els (2012-11-29 20:07:03)
Offline
#3 2012-11-30 18:59:16
- kr
- New Member
- Registered: 2012-11-27
- Posts: 3
Re: How do I temporarily hide code?
Thank You
Offline
#4 2012-11-30 19:32:32
- kr
- New Member
- Registered: 2012-11-27
- Posts: 3
Re: How do I temporarily hide code?
Hello, I wanted to hide some code to use at a later time using <txp:hide>, but the whole page disappears. I only wanted to hide some dots on the page.
Can you Help? I would be glad to talk to someone on a one to one basis if this is ok.
Thanks
Ken
Offline
#5 2012-11-30 20:51:30
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: How do I temporarily hide code?
Hi Ken,
please post the code that you have added the hide tags to, i.e. with these tags. Might be the way you used them, might as well be a lacking apostrophe or slash or opening/closing bracket.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Pages: 1