arr0w
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listSo I figured it out. And the mistake was mine… Thank you for your help and Happy New year!
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listThe above is my template. I just need to know where to place the
if ($this->field->name == ‘edit_link’) {
$this->field->link = $record->get_edit_link();
}As I said I tried wrapping it in php tags and inserting both before and after the if ( $this->field->has_content() ) :
I’m not quite sure what you want me to do.
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listOf course, but where?
I tried wrapping your suggestion in <?php ?>But I’ve probably misplaced something… This it your suggested code to add:
if ($this->field->name == ‘edit_link’) {
$this->field->link = $record->get_edit_link();
}And here is the part of the template we are talking about (responsive list):
<?php if ( $record_count > 0 ) : ?>
<?php while ( $this->have_records() ) : $this->the_record(); // each record is one row ?>
<section id=”record-<?php echo $this->record->record_id ?>”>
<?php while( $this->have_fields() ) : $this->the_field(); // each field is one cell ?>
<?php if ( $this->field->has_content() ) : ?><div class=”pdb-field”>
<span class=”pdb-field-title”><?php echo $this->field->title ?></span>
<span class=”pdb-field-data”><?php echo PDb_FormElement::get_field_value_display($this->field); ?></span></div>
<?php else : // if the field is empty ?>
<?php endif ?><?php endwhile; // each field ?>
</section>
<?php endwhile; // each record ?>Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listSo I tried inserting the `if ($this->field->name == ‘edit_link’) {
$this->field->link = $record->get_edit_link();
}both before and after the
if ( $this->field->has_content() ) : ` but I cant get it to work. The page just shows a blank screen. Am I missing something?Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listI would like to use the responsive template, but how can I insert the “edit record” link as mentioned above?
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listHmm okay, that makes sense.
I’m trying to make a mobile friendly list with this “edit” link mentioned above.
If I use the bootstrap template the table will continue out of the screen area.
I tried changing the overflow but it didn’t help.Do you have any suggestion to make the bootstrap template mobile friendly so I can implement the record link. Can the table orientation be changed from horizontal to vertical?
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listBut why is it different with the responsive template?
Your suggestion above worked with the bootstrap template and I have my field ready, I just need to put the link in it.Forum: Plugins
In reply to: [Participants Database] Login add-on/cookie bugThank you!
Could you please take a look at the last comment on this topic: https://www.ads-software.com/support/topic/private-id-link-on-pdb_list/#post-8464636
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listHow do I use this function with the responsive template?
Forum: Plugins
In reply to: [Participants Database] Not saving datefields in other languagesAh!
Don’t be sorry, I just didn’t know. Thank you!
Everything works as expected now.Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginThank you!
You managed to save the day once again ??
Have a good day.
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginI tried flushing with no success.
When I take a look in the HTML, everything looks fine. This is only possible when the user is not logged in, because when I am logged in, I’m redirected to the wrong record page.
Please referer to this ticket, with the exact same problem – and here you managed to fix it (see the bottom): https://www.ads-software.com/support/topic/hide-private-id-in-url-on-load/#post-8445651As I said this problem has only something to do with the “Use Cookie”. Because, when this setting is turned off everything works fine (also the case in the link above). An important note is that this only applies when the user is ALREADY logged in and tries to access the domain.com/login page.
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginYes, I already answered that question above
- This reply was modified 7 years, 11 months ago by arr0w.
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginSee reply above
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginWhen I delete the cookie or disable the cookie setting it works, but when I enable it again, the same error appears.
I tried refreshing my permalinks.
The “Participant Record Page” setting is correct.
I’m using [pdb_login] for my login form.