Re: Custom Fields (and I18N)
debug-mode adds error messages at the top of the page which help to identify the problems
did you see the screenshot above from the deug mode?
it doesnt show a error for the custom field plugin. or i am wrong?
You are not logged in. Please login or register.
We had problems with our forum being hacked. From what we can tell, all data is safe, but it forced us to upgrade our PunBB installation. Announcement
GetSimple Support Forum → Plugins → Custom Fields (and I18N)
debug-mode adds error messages at the top of the page which help to identify the problems
did you see the screenshot above from the deug mode?
it doesnt show a error for the custom field plugin. or i am wrong?
I saw the screenshot and it does not show something for your problem indeed
I just wanted to explain the purpose of the debug mode
Is there a way to use customfields (along with dynpages plugin) to load content of other pages ?
Let's assume there are 3 pages which contain different content.
When I create or edit a page, I'd like to embed content of one (or more) pages by choosing it from dropdown list or by marking a checkbox.
I'm using currently dynpages, but it would be nice to have a bit more automated solution to place content from other pages using customfields, which would be more pleasant to use instead of components.
It would need some changes in CF plugin of course, but maybe there's an other solution than CF+dynpages ?
I'm testing the 3.1 beta right now, haven't touched any .htaccess. I'm having problems accessing the page browser from within a custom field "link" (plugin version is 1.7). A window opens, but I'm getting a 403 error in there. I know it's a beta, any idea though?
Can't replicate this on my 3.0 test install, works there as expected
i can configure the plugin - all ok
the custom fields show in page optionsbut when values are added and page is saved - nothing is in the field anymore.
Are you using any other plugins? Which? Maybe there is a conflict.
I18N Custom Fields version 1.8:
allows to search for text in custom fields (with I18N Search 2.0+) - just check the checkbox in the custom fields configuration to add a field's content to the search index
added french language (unknown author)
Thanks for this great plugin! Could you add a textarea as an input type? I'm using the "Long Text" field type now, but I'd like to be able to enter text on multiple lines. I can't use the WYSIWYG type because the editor adds HTML that I don't want.
Thanks for this great plugin! Could you add a textarea as an input type? I'm using the "Long Text" field type now, but I'd like to be able to enter text on multiple lines. I can't use the WYSIWYG type because the editor adds HTML that I don't want.
I'll add it to the TODOs for the next version.
filupn wrote:Thanks for this great plugin! Could you add a textarea as an input type? I'm using the "Long Text" field type now, but I'd like to be able to enter text on multiple lines. I can't use the WYSIWYG type because the editor adds HTML that I don't want.
I'll add it to the TODOs for the next version.
Great, thanks!
Got a Problem with Custom Fields on Get_simple 3.0.
The Field "Image" creates an Server Error when i try to select an image:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
There is no information in the Server error Log
Does anybody know how to get it to work?
Please contact the server administrator, [no address given]
Peter, maybe you ask your hoster's support?
Ok thanks, i asked my hoster and he told to change all the rights of the folders to chmod 755 and all the files to chmod 644. somhow this was mixed up. So i worked.
How can i specify template for my custom fields? At the moment for example my custom contact fields phone, email, adress show up on every page in the page management.
How can i specify template for my custom fields? At the moment for example my custom contact fields phone, email, adress show up on every page in the page management.
That's how it is. You cannot show a custom field on specific pages only.
arde wrote:How can i specify template for my custom fields? At the moment for example my custom contact fields phone, email, adress show up on every page in the page management.
That's how it is. You cannot show a custom field on specific pages only.
Ok. Now it is bit too complicated when site updater sees maybe even dozens of different custom boxes on every page that does not necessarily even affect that page, simple becomes a rather complicated. I think that this is one of the most important plugin for this CMS, so it would be great to see further development of this.
Would really like a tutorial for stupid people like me. :) Can't figure out this plugin...
Can I add one custom field to all pages ?
mvlcek wrote:arde wrote:How can i specify template for my custom fields? At the moment for example my custom contact fields phone, email, adress show up on every page in the page management.
That's how it is. You cannot show a custom field on specific pages only.
Ok. Now it is bit too complicated when site updater sees maybe even dozens of different custom boxes on every page that does not necessarily even affect that page, simple becomes a rather complicated. I think that this is one of the most important plugin for this CMS, so it would be great to see further development of this.
I second this. Would deffinately donate to your plugin development fund to make this happen sooner rather than later...
Hi... I've looked for solution, but didn;t find...
I have plugins: PageXML and i18n custom field. And when I get standard fields for ex. title i want get my custom field to: "category":
if($strona=="portfolio") {
$childlist = getChildren(return_page_slug());
$subpagelist = array();
foreach($childlist as $child) {
if (returnPageField($child, 'private') != 'Y')
$subpagelist[] = array($child, returnPageField($child,'title'), returnPageField($child,'menuOrder'), returnPageField($child,'category'));
}
/* sort children my menuorder subval_sort is built in to GS2.1+ */
$subpagelist = subval_sort($subpagelist ,2);
foreach($subpagelist as $subpage) {
$thumb = '/data/uploads/' . $subpage[0] . '_thumb.jpg';
$link = $subpage[0] . '/';
$title = $subpage[1];
$cat = $subpage[3];
echo 'check: '.$cat.' '.$title.' / ';
}
}?>
I tried to return_custom_field('') but didn't work... anybody has some advice for me?
@macu
Try this (not tested):
Edit the PagesXML/PageCaching plugin (v2.3) pages.php file, line 304:
if (isset($plugin_info['customfields'])){and change it to this:
if (isset($plugin_info['i18n_customfields'])){(Note that when GS 3.1 is available, the Pages plugin will not be needed.)
@mvlcek: small feature request:
change edit.php, line 102
echo '<tr><td><h2>Custom Fields</h2>...to
echo '<tr><td><h2>'.i18n_r('i18n_customfields/CUSTOMFIELDS_TITLE').'</h2>...It's the title of the custom fields section in page options. I'd like it translated too.
Spanish language for I18N Custom Fields available in Extend
I18N Custom Fields version 1.8.1:
some cosmetic changes displaying the fields
spanish language (thanks @Carlos)
Just a quick heads-up. If you're running suPHP, this plugin will give "HTTP Error 500: Internal Server error" on some pages (notably, the 'browse' button for custom fields of the "Link" type). You may see something like this in your error log:
SoftException in Application.cpp:249: File "--snip--/plugins/i18n_customfields/browser/pagebrowser.php" is writeable by groupThis is caused by the file permissions in the .zip file, which unpack all files and directories writable by the group and world (permissions 777 for directories, 666 for files). To fix this on unix machines, run the following commands from the root of your GS installation:
# find ./plugins/i18n_customfields -type d -exec chmod 755 '{}' \;
and
# find ./plugins/i18n_customfields -type f -exec chmod 644 '{}' \;filupn wrote:Thanks for this great plugin! Could you add a textarea as an input type? I'm using the "Long Text" field type now, but I'd like to be able to enter text on multiple lines. I can't use the WYSIWYG type because the editor adds HTML that I don't want.
I'll add it to the TODOs for the next version.
I have the same problem with WYSIWYG (CKEditor 3.6.2 in GS 3.1) changing some code lines I like to edit in the backend. Would also like to see a "Text Area" field type in Custom Fields (1.8.1 in use). Thx.
GetSimple Support Forum → Plugins → Custom Fields (and I18N)
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.