[Plugin: Custom Field Template] need help
-
Hi,
i′ve got massive problems with using this problem (problems are not plugin-related… they are more likely sitting in front of the computer) and understanding the way it works.
i tried to make a template with my custom fields to get some sort of contact-list. the i tried to bring them on a single post with using the short code for format.
when i use the short code [ctf page_id=XY template=0] i can display a single contact/article. when i try to use [ctf format=1] to get all contacts/articles displayed, i get an error in row 1383(?): preg_replace() [function.preg-replace](…).
my TEMPLATE #0:
[Personen bezogene Daten] type = radio value = Frau # Herr default = Herr clearButton = true hideKey = true output = true [Vorname] type = text size = 35 label = Vorname output = true [Nachname] type = text size = 35 label = Nachname hideKey = true output = true [AkadTitel] type = text size = 35 label = Akademischer Titel hideKey = true output = true [Funktionstitel] type = text size = 35 label = Funktionstitel hideKey = true output = true [Position] type = text size = 35 label = Position im KH/Verbund/Konzern hideKey = true output = true [Mobiltelefon] type = text size = 35 label = Mobiltelefon hideKey = true output = true [E-Mail] type = text size = 35 label = E-Mail Adresse hideKey = true output = true [Photo] type = textarea rows = 1 cols = 1 mediaButton = true label = den linken Button klicken um ein Photo hochzuladen output = true [Standort bezogene Daten] type = checkbox value = Innsbruck # Graz # Wien default = Innsbruck # Graz # Wien label = Teilnahme nach Standort output = true [Hotel Innsbruck] type = select value = Ibis Bahnhof # Autria Trend Congress # Whatever default = label = Hotel Innsbruck hideKey = true output = true [Hotel Graz] type = select value = Erzherzog Johann # Daniel # Whatever default = label = Hotel Graz hideKey = true output = true [Hotel Wien] type = select value = Austria Trend Hotel Albatros # Bellevue # Ibis Westbahnhof default = label = Hotel Wien hideKey = true output = true [Bustransfer] type = radio value = Ja # Nein default = Ja output = true label = Bustransfer hideKey = true clearButton = true output = true
my FORMAT #1:
<table class="cft"> <tbody> <tr> <th rowspan="3">Personen bezogene Daten</th> </tr> <tr>Anrede <td rowspan="3">[Personen bezogene Daten]</td> </tr> <tr> <td>[AkadTitel],</td><td> [Vorname],</td><td> [Nachname]</td> </tr> <tr> <td>[Funktionstitel],</td><td> [Position]</td> </tr> <tr> <td>[Mobiltelefon]</td> </tr> <tr> <td>[E-Mail]</td> </tr> <tr> <th rowspan="3">Teilnahme nach Standort</th><td>[Standort bezogene Daten]</td> </tr> <tr> <th rowspan="3">Hotel nach Standort</th><td>[Hotel Innsbruck], </td><td>[Hotel Graz], </td><td>[Hotel Wien]</td> </tr> <tr> <td rowspan="2">Bustransfer</td><td>[Bustransfer]</td> </tr> </tbody> </table>
i did a lot of try and error, but nothing worked. i think my problem is withhin the format=xy (according to try and error).
i want to get #1) around the error message and #2) display all cutsom-fields in posts withhin a certain category as a table.
is #2 possible? i simply don′t understand the short code [ctf format=xy], right?
If you can lend a helping hand: Thanks a lot!
https://www.ads-software.com/extend/plugins/custom-field-template/
- The topic ‘[Plugin: Custom Field Template] need help’ is closed to new replies.