EnglishDeutsch
If you use Software of WebConstruction.ch please consider donating a small amount, that I can do further development and updates. more...
 
Amount: 

 

Dear Forum Users. Please don't spam this forum. Your spam will be deleted and your account deactivated (I just click your username and you are gone). So don't mess around with your and my time.

Welcome, Guest
Please Login or Register.    Lost Password?
Get support for "Show / Hide Content"-Plugin
Go to bottomPage: 1
TOPIC: Show hide table row
#405
Show hide table row 1 Year, 8 Months ago Karma: 0
Is it possible to use this on a table row? For example:
<tr>
<td>Kickoff</td><td>Explain....</td><td>sfasdff</td>
</tr>

when you click on kickoff, I would like the row to show..Not sure if this is possible..

Thanks!
codyjane
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1024
Re:Show hide table row 1 Year, 7 Months ago Karma: 4
I will check/test this in the next days. Am in Rome on holidays
webconstructor
Admin
Posts: 329
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1188
Re:Show hide table row 1 Year, 7 Months ago Karma: 4
Try creating a template (text file) called for example table.tmpl in the folder plugins/content/showhidecontent/templates with the following content:

Code:

htmltitle="<td>[title]</td>"
htmlobject="<tr>[object]</tr>"



Now you can add text to your article in the HTML-code-view: For example:
Code:

<table>
{showhide template="table" title="Kickoff"}<td>Explain....</td><td>sfasdff</td>{/showhide0}
{showhide template="table" title="Kickoff2"}<td>Explain2....</td><td>sfasdff2</td>{/showhide-1}
</table>


Be sure that the Plugin settings of your editor does not clean up the code.

Please post if this helped you further or/and solved the issue.
webconstructor
Admin
Posts: 329
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1