Custom Fields (and I18N) - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Custom Fields (and I18N) (/showthread.php?tid=1404) |
Custom Fields (and I18N) - mvlcek - 2011-04-10 Angryboy Wrote:Thanks again for updating this plugin I forgot to state that you have to turn on site wide cookies in gsconfig.php: Code: define('GSCOOKIEISSITEWIDE', TRUE); Custom Fields (and I18N) - Angryboy - 2011-04-10 Ahh, thank you Working perfectly now And mvlceck's awesomestreak continues Custom Fields (and I18N) - jonnboy44 - 2011-04-15 Ok, i'm on GS 3.0 and using the latest version of I18N Custom Fields plugin. On all custom image fields, the browse button that should point to my image files, takes me to the default home page of the site. The url the browse button is generating is... http://www.staging.glyphinteractive.com/plugins/i18n_customfields/browser/filebrowser.php?func=fill_3&type=images Any idea what's going on? Sitewide cookies are enabled in GSconfig. Also, i found a small bug with naming fields in the Custom Field creation. Looks like you cannot name fields with uppercase - (ie featurePic breaks but featurepic works). Not a big deal but drove me crazy for a little while. Fantastic modification of the original plugin though. Thank you for the hard work. Custom Fields (and I18N) - mvlcek - 2011-04-15 jonnboy44 Wrote:Ok, i'm on GS 3.0 and using the latest version of I18N Custom Fields plugin. On all custom image fields, the browse button that should point to my image files, takes me to the default home page of the site. The url the browse button is generating is... The path itself seems to be correct - is there a filebrowser.php at this position? Is there a .htaccess file in this directory (with allow from all) - or are you using something different than Apache? Have you modified your .htaccess rules in the root directory? jonnboy44 Wrote:Also, i found a small bug with naming fields in the Custom Field creation. Looks like you cannot name fields with uppercase - (ie featurePic breaks but featurepic works). Not a big deal but drove me crazy for a little while. Actually that's a feature - the comparison of field names is case insensitive. But it should not break - what doesn't work with uppercase names? jonnboy44 Wrote:Fantastic modification of the original plugin though. Thank you for the hard work. You're welcome! Custom Fields (and I18N) - jonnboy44 - 2011-04-18 mvlcek Wrote:jonnboy44 Wrote:Ok, i'm on GS 3.0 and using the latest version of I18N Custom Fields plugin. On all custom image fields, the browse button that should point to my image files, takes me to the default home page of the site. The url the browse button is generating is... Quote:The path itself seems to be correct - is there a filebrowser.php at this position? Crap! stupid .htaccess files get me every time! Thank you for pointing out the glaringly obvious answer staring me in the face. Quote:Actually that's a feature - the comparison of field names is case insensitive. But it should not break - what doesn't work with uppercase names? As for the humpCase naming convention, basically any field with a label name of featurePic won't display content, but change that same lable to featurepic and the content displays. Obviously checking to make sure that the Code: <?php get_custom_field('featurePic'); ?> Once again thank you for the help and work on the plugin. Custom Fields (and I18N) - tommy - 2011-04-24 Awesome and the most useful plugin, thanks for the updates! I wonder whether it's possible the LINK and IMAGE browsing can be change to the default lightbox rather than a pop-up new window? which files should i tweak? thanks heaps!!!!!! Custom Fields (and I18N) - mvlcek - 2011-04-24 tommy Wrote:Awesome and the most useful plugin, thanks for the updates! The image browsing is the same as when browsing in the editor!? The page browsing is similar to the navigation structure view of the I18N plugin. If you want to change something the relevant file is i18n_customfields/edit.php - case "link" and case "image", the browser popups are in i18n_customfields/browser. The filebrowser.php is more or less a copy of admin/filebrowser.php. Please post your modifications, when you are finished, for others to see. If there is new functionality or it just looks better I might include it in the plugin. Custom Fields (and I18N) - tommy - 2011-04-24 blind me, you are right the admin/filebrowser.php do the same popups maybe its just me, i prefer the more subtle lightbox popup than traditional new window popups. it would be nice if it can be implemented when the browse button is click (both for the core admin and this plugin). it will takes awhile for me to tweak this being a complete noob to php thanks for the quick reply anyway! <script type="text/javascript"> function fill_<?php echo $i; ?>(url) { $('#post-<?php echo $key; ?>').val(url); } $(function() { $('#browse-<?php echo $key; ?>').click(function(e) { window.open('<?php echo $SITEURL; ?>plugins/i18n_customfields/browser/pagebrowser.php?func=fill_<?php echo $i; ?>&i18n=<?php echo $isI18N; ?>', 'browser', 'width=800,height=500,left=100,top=100,scrollbars=yes'); }); }); </script> Custom Fields (and I18N) - mvlcek - 2011-05-08 I18N Custom Fields version 1.5.3: correct some use of short php tags <? instead of <?php (thanks to Carlos for pointing this out) Custom Fields (and I18N) - Oleg06 - 2011-05-09 after copying the files to the server site shows a white page Custom Fields (and I18N) - sal - 2011-05-11 In relation to this question, could it be possible to retrieve a custom field value for a specific page, probably using the slug as the page ID? For example, to retrieve a hero image from the index page, something like this: Code: return_custom_field("img-hero", "index"); Custom Fields (and I18N) - Oleg06 - 2011-06-12 after copying the files to the server site shows a white page Custom Fields (and I18N) - Carlos - 2011-06-12 @Oleg06 Any errors with debug mode enabled? Custom Fields (and I18N) - Oleg06 - 2011-06-13 no errors, just a white screen Custom Fields (and I18N) - Carlos - 2011-06-13 Oleg06 Wrote:no errors, just a white screen Does it happen only with latest I18N custom fields 1.5.3? Did previous releases work fine? Custom Fields (and I18N) - Oleg06 - 2011-06-13 Sorry, the plugin works is likely to conflict with some of the plugins that I added too much Custom Fields (and I18N) - mvlcek - 2011-06-18 I18N Custom Fields version 1.7:
Custom Fields (and I18N) - cyklades - 2011-06-24 It's very good plugin but in WYSIWYG type it does no take images's adress. I must to paste it manually. For comparison: main wysiwyg (for standard content) works ok. Tested on 3.1B Custom Fields (and I18N) - mvlcek - 2011-06-24 cyklades Wrote:It's very good plugin but in WYSIWYG type it does no take images's adress. It's tested and supported only on 3.0. Custom Fields (and I18N) - cyklades - 2011-06-24 mvlcek Wrote:cyklades Wrote:It's very good plugin but in WYSIWYG type it does no take images's adress. Thank you, I will try on 3.0 Custom Fields (and I18N) - Master - 2011-06-25 Oleg06 Wrote:no errors, just a white screen I have a same problem. Internal Server Error 500, when I copy the i18n_customfields.php. installed: i18n_base i18n_common i18n_customfields i18n_navigation i18n_search p01-contact Whats the problem? Custom Fields (and I18N) - andyash - 2011-06-26 I am using the custom_fields plugin to create an external link in the menu. I created a blank page named BLOG and added the custom field of link with name and type as link and label as BLOG. It works. My problem is that this custom field is visible on all the new pages that I create along with the BLOG link and if I don't delete it from the new pages, they all point to the external link instead of the internal page that I have created. Any way to sort it out? Custom Fields (and I18N) - mvlcek - 2011-06-26 andyash Wrote:I am using the custom_fields plugin to create an external link in the menu. I created a blank page named BLOG and added the custom field of link with name and type as link and label as BLOG. It works. Did you enter the link as Default in the Custom Fields configuration? You should use a custom field with name = link, label = Link (or something else), type = link and default empty. Then on your empty blog page, enter the link (e.g. http://my.blog.site/link-to-my-blog) into the field. The field will be empty in newly created pages. === THIS IS MY 500th POST === Now I am a Guru no more, just an ordinary Master :-( Custom Fields (and I18N) - Master - 2011-06-26 Master Wrote:Oleg06 Wrote:no errors, just a white screen +++ Debugging: Fatal error: Cannot redeclare get_custom_field() (previously declared in /xxx/htdocs/xxx/plugins/i18n_base.php:178) in /xxx/htdocs/xxx/plugins/i18n_customfields.php on line 155 Can somebody help me? Custom Fields (and I18N) - mvlcek - 2011-06-26 Master Wrote:Debugging: Use the newest versions both of I18N and I8N Custom Fields. |