Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - pierremataias

2
Questions / Re: Special Report Design
Hello;

I create custom page and add this code:

Code: [Select]

<style>
table , td, th {
border: 1px solid #595959;
border-collapse: collapse;
}
td, th {
padding: 3px;
width: 30px;
height: 25px;
}
th {
background: #f0e6cc;
}
.even {
background: #fbf8f0;
}
.odd {
background: #fefcf9;
}
</style>

<div id="page-report-body" class="table-responsive">
   
   

               
                        <table style="width:100%">
                    <tbody>
                    <tr>
                    <td colspan="4">1</td>
                    <td colspan="4" rowspan="12" style="width:50%">42</td>
                    </tr>
                    <tr>
                    <td style="width:15%">2</td>
                    <td colspan="3" style="width:35%">7</td>
                    </tr>
                    <tr>
                    <td>3</td>
                    <td colspan="3">8</td>
                    </tr>
                    <tr>
                    <td>4</td>
                    <td colspan="3">9</td>
                    </tr>
                    <tr>
                    <td>5</td>
                    <td colspan="3">10</td>
                    </tr>
                    <tr>
                    <td>6</td>
                    <td colspan="3">11</td>
                    </tr>
                    <tr>
                    <td colspan="4">12</td>
                    </tr>
                    <tr>
                    <td>13</td>
                    <td colspan="3">17</td>
                    </tr>
                    <tr>
                    <td>14</td>
                    <td colspan="3">18</td>
                    </tr>
                    <tr>
                    <td>15</td>
                    <td colspan="3">19</td>
                    </tr>
                    <tr>
                    <td>16</td>
                    <td colspan="3">20</td>
                    </tr>
                    <tr>
                    <td>21</td>
                    <td>22</td>
                    <td>23</td>
                    <td>24</td>
                    </tr>
                    <tr>
                    <td colspan="8">25</td>
                    </tr>
                    <tr>
                    <td colspan="2" rowspan="3">26</td>
                    <td>27</td>
                    <td>30</td>
                    <td colspan="2" rowspan="3">34</td>
                    <td>35</td>
                    <td>38</td>
                    </tr>
                    <tr>
                    <td>28</td>
                    <td>31</td>
                    <td>36</td>
                    <td>39</td>
                    </tr>
                    <tr>
                    <td>29</td>
                    <td>32</td>
                    <td>37</td>
                    <td>40</td>
                    </tr>
                    <tr>
                    <td colspan="4">33</td>
                    <td colspan="4">41</td>
                    </tr>
                    </tbody>
                    </table>


</div>



Finally create a table and want to pull data from database.
But i did not succeded =(

How can i get data for example in 7, i want to get record id.
and all table should be repeat with all records.
3
Questions / Special Report Design
Hello;

Is it possible to make a special report design with bootstrap/css?
I want to create a simple table like in attached file.
With this table i will change labels in html and add php codes in related field areas.
But i do not have enough information about bootstrap/css.
I can create simple tables but not in detail like merged cells.
Is there anyone to help me  :-[

10
Questions / Inline Edit Not Working
Hello;

Inline edit not working :(

I kindly ask you to see screen recording in attached file and waiting for your reply.
12
Questions / Record Count - Calculation
Hello;

I have a question about Record Count or Circular Record Progress Element.
I create a simple table for actions.
It includes two fields like "action_description" and "Status".
Status mean; related action had been "completed" or still "open".

In my homepage I already add record count element to see completion level of actions.
I am able to count records with small sql query and filter which are completed.

But I want to see results in percentage.
In attached file i saw project progress level or any other alternatives.

Is it possible to add such kind of percentage information at dashboard?


or is it possible to make math calculations for record count element?
for example;

(Record Count equals to "Completed") / (Total Record Count) * 100




14
Issues / Re: Fatal error: Cannot redeclare str_contains()
Hello @willvin ;

Now i understand. Normally it is not related with any changes. ( I mean this is not a case that, the preview was working properly at first then in any changes it is not working. )

At the beginning phase i am receiving this message. For example, you just start new project and create a table then publish it or activate the preview. (no change in anything just publish a simple project) you will receive this error.  No changes no different settings or parameters. Just install software and start new project and publish.

As far as i understand from short internet search; a function was used twice or multiple times on Functions.php file.

Here is a simple explanation;

Code: [Select]
If you see error message 'PHP Fatal error: Cannot redeclare function' or similar error message in your script, it means there is a problem with your script code (it tries to declare the same function multiple times).

This error says that your function is already defined. This could mean:

you have the same function defined in two files
you have the same function defined in two places in the same file
the file in which your function is defined is included two times (so, it seems the function is defined two times)
To help with the third point, a solution would be to use include_once instead of include when including your functions.php file -- so it cannot be included more than once.

Thank you very much for your interest.
15
Issues / Re: Fatal error: Cannot redeclare str_contains()
Hello @willvin ;

I am rookie about phprad. So i am not sure that understand your question well. But in general i am using phprad classic edition with xampp. I am starting xampp for apache and mySQL then run phprad. I am creating tables and designing pages but when i try to see the results in preview, i am facing with this error message. Everything works fine in real server but not working on localhost.

If you can give me some detail about configuration, i can check all the values and share with you.
(Which parameters should i check and from where?)

Thanks for your quick and kind reply. Yours truly...