cetaceancousins
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] PHP 7.6Hi – I contacted my hosting company and apparently they haven’t released 7.2 yet! so my question is should it say version 7.2 not 7.6?
Forum: Plugins
In reply to: [StaffList] Additional ColumnsPerfect thank you! it has worked.
Forum: Plugins
In reply to: [Participants Database] Add Page title automatically to filtersThanks! I have found an alternative option but will try this.
Forum: Plugins
In reply to: [Participants Database] Are the columns in the listing sortable?Nrtdesign can you share your solution? I really need to get my columns sortable but have no idea how!
Forum: Plugins
In reply to: [Participants Database] Rich text box gone weirdHi
Thanks for replying. I did convert the format but it didn’t work and I have to much data to just simply create a new field (over 10k!)
Forum: Themes and Templates
In reply to: [Hueman] Feature Image poor quality!I want to show the feature image when you search
e.g. http://cetacousin.org/tag/active-italy/ – just inserting an image won’t let me display a photo when people search / or use my tagsForum: Plugins
In reply to: [Participants Database] Using wp_page title in list filtersChecked my phpMyAdmin, its definitely post_title. If I add post_name, comes up with a parse error….
Forum: Plugins
In reply to: [Participants Database] Using wp_page title in list filtersi changed it back to post and made no difference
echo do_shortcode (‘[pdb_list filter=”species~Bottlenose Dolphin&status=Alive&last_known_location~’ . $post->post_title. ‘”]’);
Forum: Plugins
In reply to: [Participants Database] Using wp_page title in list filtersThanks – the first one I must be doing something wrong, I am using InsertPHP by Willmaster
[insert_php]
echo do_shortcode(‘[pdb_list filter=”last_known_location~’ . $page->page_title . ‘”]’);
[/insert_php]
http://cetacousin.org/bottlenose/
it should show the “orcas” and couple other records on this link http://cetacousin.org/marine-parks/united-kingdom/clacton-dolphinarium/; instead its bringing through the one with an empty cell.Also used XYZ PHP snippets with
“echo do_shortcode (‘[pdb_list filter=”species~Bottlenose Dolphin&status=Alive&last_known_location~’ . $page->page_title . ‘”]’);”The data for first tab (current – bottlenose) is blank….http://cetacousin.org/marine-parks/latin-america/cabo-dolphin-center/
- This reply was modified 8 years, 10 months ago by cetaceancousins.
Forum: Plugins
In reply to: [Participants Database] Using wp_page title in list filtersAnother thought! can you add a field name into the page title? so for example on this page http://cetacousin.org/cetacean-profile/?pdb=4 instead saying “Cetacean Profile” it will say “Echo II” ?
Cheers
Forum: Developing with WordPress
In reply to: Customise PluginThanks – I do know some css, just need a starting point cause honestly I have tried and failed many times 🙁
Forum: Plugins
In reply to: [Participants Database] Add script into a record?Hello
I have tried to follow your documentation and not getting anywhere; I am not very good with php and javascript (more of a html girl)
This is the javascript that needs adding
<script language=”JavaScript”>function calculateAge(birthMonth, birthDay, birthYear)
{
todayDate = new Date();
todayYear = todayDate.getFullYear();
todayMonth = todayDate.getMonth();
todayDay = todayDate.getDate();
age = todayYear – birthYear;if (todayMonth < birthMonth – 1)
{
age–;
}if (birthMonth – 1 == todayMonth && todayDay < birthDay)
{
age–;
}
return age;
}</script>and this is the supporting code that needs to go into the field named age
<script language=”JavaScript”>Date.prototype.ageLastBirthday = function(dob) { var cy = this.getFullYear(); var by = dob.getFullYear(); var db = new Date(1996,09,07); db.setFullYear(cy); var adj = (this-db<0) ? 1 : 0; return cy – by – adj; }</script><script type=”text/javascript”>
document.write(” ” + calculateAge(10,12,2010) + “” );
</script>I am sure its something obivious I am doing wrong but any help would be most invaluable.
CC
- This reply was modified 9 years, 1 month ago by cetaceancousins.
Forum: Plugins
In reply to: [Participants Database] Change Single Records LayoutNevermind to last comment, found my answer!
Forum: Plugins
In reply to: [Participants Database] Change Single Records LayoutThank you works a charm!
The only other question I do have is on the lists page, can you specify specific fields to be displayed for example if I wanted only the killer whales from Seaworld San Diego to be displayed, can this be done by linking the species field and location field?
Forum: Plugins
In reply to: [MDTF - Meta Data and Taxonomies Filter] Calendar & Filters updatingHello pavloborysenko
Thank you so much for the fix for the calendar; I can confirm it now works
As for the updating section – I found my issue the cache wasn’t clearing. It has now been cleared and all seems to be working.
Again thanks!!