forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: railgun on July 10, 2016, 11:04:01 pm

Title: want to add some "about us" informations at contact.php
Post by: railgun on July 10, 2016, 11:04:01 pm
hello as the headline say, i want to add some "about us" infomartions at the contact side of coppermeine, to use this page for the "impressum",
the other way would be to get the code of the contact.php in a site of minicms but i think this would be more dificult.
Title: Re: want to add some "about us" informations at contact.php
Post by: Αndré on July 11, 2016, 05:18:52 pm
You need to modify contact.php. Have a look at the end of the file to find a good place to start.
Title: Re: want to add some "about us" informations at contact.php
Post by: railgun on July 11, 2016, 07:33:42 pm
thanks fot tell me to edit the contact.php
i used trial and error to find the correct place where to edit it, and i have found it!
so if someone els want to edit it:
find:
Code: [Select]
// name fieldad above:
Code: [Select]
//own text field
if ($CONFIG['contact_form_subject_field'] != 0) {
       print <<< EOT
    <tr>

        <td class="tableb" align="right">
        </td>
        <td class="tableb">
            <span id="subject_wrapper" class="{$highlightFieldCSS}">
your text<br>
more text<br>
just another line<br>

  </span>
        </td>
        <td class="tableb">
        </td>
    </tr>
EOT;


then it can look like this:
https://railgun-on-tour.de/contact.php?referer=index.php