ahhak1989 Posted January 19, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/12/12 Last Seen: September 30, 2016 Share Posted January 19, 2013 As title, my table in view Monster Database is Name Level State Rate Cast Time Delay Cancelable Target Condition Value I want to hide the column "Condition & Value" I go to remove the following : 'condition' => $row[10], 'value' => $row[11], 'val1' => $row[12], 'val2' => $row[13], 'val3' => $row[14], 'val4' => $row[15], 'val5' => $row[16], 'emotion' => $row[17], 'chat' => $row[18] in modules/monster/view.php but error come out... Anyone know how to do it? Link to comment Share on other sites More sharing options...
Emistry Posted January 19, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 19, 2013 you should edit the HTML / PHP part...i mean inside your themes folder ....not the modules folder... Link to comment Share on other sites More sharing options...
Brian Posted January 19, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted January 19, 2013 Edit /fluxcp-1.0/themes/default/monster/view.php and remove these lines indicated: Index: themes/default/monster/view.php =================================================================== --- themes/default/monster/view.php (revision 1125) +++ themes/default/monster/view.php (working copy) @@ -200,8 +200,6 @@ <th>Delay</th> <th>Cancelable</th> <th>Target</th> - <th>Condition</th> - <th>Value</th> </tr> <?php foreach ($mobSkills as $skill): ?> <tr> @@ -213,14 +211,6 @@ <td><?php echo $skill['delay'] ?>s</td> <td><?php echo htmlspecialchars(ucfirst($skill['cancelable'])) ?></td> <td><?php echo htmlspecialchars(ucfirst($skill['target'])) ?></td> - <td><em><?php echo htmlspecialchars($skill['condition']) ?></em></td> - <td> - <?php if (!is_null($skill['value']) && trim($skill['value']) !== ''): ?> - <?php echo htmlspecialchars($skill['value']) ?> - <?php else: ?> - <span class="not-applicable">None</span> - <?php endif ?> - </td> </tr> <?php endforeach ?> </table> Link to comment Share on other sites More sharing options...
Question
ahhak1989
As title, my table in view Monster Database is
I want to hide the column "Condition & Value"
I go to remove the following :
in modules/monster/view.php but error come out...
Anyone know how to do it?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts