google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

Custom Fields not 'enterable' on new content #536

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I inherited this problem. So some of the details may be scarce, but I have 
access to the WP and can get FTP and possibly DB access if needed.

The issue is that the custom fields that are attached to the bottom section of 
content are not showing up when published. Some of the custom fields are read 
in from old content, others are not. This content however displays properly in 
the browser - all the custom fields are shown in the html markup.

All new content does not show these fields in the markup.

I even tried creating a new field and attaching it, it also does not show up.

Please copy and paste the system information that appears in a yellow
textarea when you click on "Report a Bug" on any CCTM admin screen (this
includes the version of the
plugin, the version of PHP, the version of MySQL, a list of other active
plugins etc.):

----------------------- 
Plugin Version: 0.9.7.11-pl
WordPress Version: 3.7.1
PHP Version: 5.3.13
MySQL Version: 5.1.70-cll
Server OS: Linux
Language: 
------------------------ 
ACTIVE PLUGINS: 
 * Admin Menu Editor v.1.3 [http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/]
 * Akismet v.2.5.9 [http://akismet.com/?return=true]
 * All In One SEO Pack v.2.0.4.1 [http://semperfiwebdesign.com]
 * BackupBuddy v.3.0.38 [http://pluginbuddy.com/backupbuddy/]
 * BackUpWordPress v.2.3.3 [http://hmn.md/backupwordpress/]
 * BBCode Widget Titles v.1.0 [http://christophersu.org/wp-bbcode-widget-titles/]
 * dbview v.0.5.2 [http://wordpress.org/extend/plugins/dbview]
 * Duplicate Post v.2.4.1 [http://lopo.it/duplicate-post-plugin/]
 * Google XML Sitemaps v.3.3 [http://www.arnebrachhold.de/redir/sitemap-home/]
 * Post Type Switcher v.1.2 [http://wordpress.org/extend/post-type-switcher/]
 * Posts 2 Posts v.1.6.2 [http://scribu.net/wordpress/posts-to-posts]
 * Quick Page/Post Redirect Plugin v.5.0.3 [http://www.fischercreativemedia.com/wordpress-plugins/quick-pagepost-redirect-plugin/]
 * Rewrite Rules Inspector v.1.2.1 [http://wordpress.org/extend/plugins/rewrite-rules-inspector/]
 * Simple 301 Redirects v.1.05 [http://www.scottnelle.com/simple-301-redirects-plugin-for-wordpress/]
 * Ultimate Google Analytics v.1.6.0 [http://www.oratransplant.nl/uga]
 * Widget Classes v.0.1 [http://blog.aizatto.com/widget-classes]
 * WordPress Importer v.0.6.1 [http://wordpress.org/extend/plugins/wordpress-importer/]
 * WP Background Tile v.1.0 [http://www.samburdge.co.uk/plugins/wp-background-tile-plugin/]
 * wp-category-meta v.1.2.4 [#]
------------------------ 
CURRENT THEME: VictoryChurch v. 

Original issue reported on code.google.com by aaron.sm...@gmail.com on 13 Dec 2013 at 9:34

Attachments:

GoogleCodeExporter commented 9 years ago
I'm not sure if this is enough info for a bug report -- I'm not clear on what 
you mean by "doesn't show up."  Can you clarify what the actual result is vs. 
the expected result and where exactly this is occurring.

Original comment by ever...@fireproofsocks.com on 13 Dec 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Sure.

They do not show up on the message page...

http://www.victorychurch.ws/message/white-christmas/    This page has the 
custom fields filled out, yet it is not showing up live.

Also from the earlier screens - the one screen has no data in the custom fields 
section, however the content is showing up from previously.

Original comment by aaron.sm...@gmail.com on 13 Dec 2013 at 10:21

GoogleCodeExporter commented 9 years ago
Where this older entry shows the content:
http://www.victorychurch.ws/message/wake-up-do-something-missions/

Original comment by aaron.sm...@gmail.com on 13 Dec 2013 at 10:27

GoogleCodeExporter commented 9 years ago
Re the front-end: that's a matter of debugging your templates.  You would need 
to look at the single-xxxx.php template file that is printing out data from 
this custom post-type, or if the message page contains a script that iterates 
over other posts, then you'd have to debug that script that is meant to print 
out those fields.

Re the images: I don't have enough info to see if there's a problem.  You've 
got 2 screenshots there editing 2 different posts.   What are you expecting to 
see and what are you actually seeing?

A thorough bug report might go something like this:

"I am editing post 123 and I expect to see values in my custom fields (x and 
y).  Instead I'm seeing nothing in those fields in the wordpress manager."  

If you need me to log in and look around, I have to bill hourly for those fixes 
 -- you can contact me at everett@fireproofsocks.com.  Right now, I cannot 
confirm whether this is a bug or simply a matter of how you've set up your 
site. 

Original comment by ever...@fireproofsocks.com on 13 Dec 2013 at 10:32

GoogleCodeExporter commented 9 years ago
Ah fair enough.

Let me get back to you, this was working before - fill in the custom fields - 
they display live. Now it is not working in the sense that you fill in the 
custom fields, but they do not display when published.

I'll find out what happened and post back.

thanks!

Original comment by aaron.sm...@gmail.com on 13 Dec 2013 at 10:38

GoogleCodeExporter commented 9 years ago
Ok, found out the cause of the problem.

The client updated wordpress on their own around November 6th.

Before this filling out a custom field would preform as normal, fill in the 
field, and it would appear live with the content in the browser.

Looks like they are running 3.7.1 WP - now the issue is as above - fill out a 
custom field on the edit/create, expected result is the field to show up in the 
live content, it does not.

Just let me know if there is anything obvious with their setup that could cause 
this, or point me in a direction to follow (i.e., plugin or post code etc).

Thanks again for the help!

Original comment by aaron.sm...@gmail.com on 16 Dec 2013 at 2:15

GoogleCodeExporter commented 9 years ago
Again, sounds like the template file got overwritten or altered so it's not 
printing out the custom content.  That wouldn't qualify as a bug, but there's 
no way for me to know without being able to access your site.  

Original comment by ever...@fireproofsocks.com on 16 Dec 2013 at 2:25

GoogleCodeExporter commented 9 years ago
Back on this....

I spun up a blank wordpress site (3.8). Using a default (older) 2012 theme, and 
no plugins other than CTM - I can't seem to get the custom fields to show up on 
the live page.

I am attaching a file with screen shots. - Am I missing something on my end 
that is preventing the custom field from showing?

INFO:
*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7.11-pl
WordPress Version: 3.8
PHP Version: 5.2.17
MySQL Version: 5.1.72-log
Server OS: Linux
Language: 
------------------------ 
ACTIVE PLUGINS: 
------------------------ 
CURRENT THEME: Twenty Twelve v.1.3 http://wordpress.org/themes/twentytwelve

Enter custom text into field - expected result = visible on live page, actual 
result = field value is not visible on page

Original comment by aaron.sm...@gmail.com on 2 Jan 2014 at 7:36

Attachments:

GoogleCodeExporter commented 9 years ago
http://expedition-design.com/dev/victory/ - the url in question

Original comment by aaron.sm...@gmail.com on 2 Jan 2014 at 7:38

GoogleCodeExporter commented 9 years ago
As I said before: this is up to you to print the field value in your templates. 
 The field is showing correctly in the manager.  Everything on the front-end of 
your site is really is a question of formatting preference.  There are sample 
templates generated for you by CCTM if you click the link "View Sample 
Template" and place the code in the file(s) indicated.  If you're attaching the 
field to the built-in post or page post-types, then you should put the 
references in a theme file named "single.php" or "page.php" (see this diagram: 
http://codex.wordpress.org/Template_Hierarchy) 

You would print the field value using one of the CCTM's theme functions 
referencing the field's unique identifier:

<?php
print_custom_field('stuff'); 
?>

Original comment by ever...@fireproofsocks.com on 2 Jan 2014 at 7:43

GoogleCodeExporter commented 9 years ago
Bingo.

The print was in the wrong place (file).

Thanks for all the help.

Original comment by aaron.sm...@gmail.com on 2 Jan 2014 at 7:55

GoogleCodeExporter commented 9 years ago
Closing this.

Original comment by ever...@fireproofsocks.com on 1 Feb 2014 at 9:36