Posts: 184
Threads: 20
Joined: Apr 2010
mvlcek Wrote: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 works. Thanks.
Any way to have the link open in a blank page?
Posts: 2,094
Threads: 54
Joined: Jan 2011
andyash Wrote:Any way to have the link open in a blank page?
The plugin Auto-open Page Options opens the page options whenever you edit a page.
Posts: 524
Threads: 48
Joined: Mar 2011
I have two custom fields (text) defined in the plugin's options (v1.7). Opening a page shows the two entries side by side which pushes the second custom field outside the main admin column. See attached pic.
I don't have any admin css changes here or anything, but wonder if I'm the only one experiencing this?
Posts: 2,094
Threads: 54
Joined: Jan 2011
polyfragmented Wrote:I have two custom fields (text) defined in the plugin's options (v1.7). Opening a page shows the two entries side by side which pushes the second custom field outside the main admin column. See attached pic.
I don't have any admin css changes here or anything, but wonder if I'm the only one experiencing this?
I see this, too. Seems to be a problem with the link/image fields. Having the link/image field last works fine.
I'll look into it.
Posts: 7
Threads: 0
Joined: Apr 2010
I have GS3.0 and new I18 Gallery and I18 Custom Fields.
They works very good.
I have boxinfo (from Custom Fields) in sidebar.
I want "mini gallery" in sidebar
(% gallery name=test %)
It din't works. I see only above code
I can see gallery in sidebar ONLY after instert gallery code in sidebar AND IN PAGE .
Posts: 2,094
Threads: 54
Joined: Jan 2011
cyklades Wrote:I have GS3.0 and new I18 Gallery and I18 Custom Fields.
They works very good.
I have boxinfo (from Custom Fields) in sidebar.
I want "mini gallery" in sidebar
(% gallery name=test %)
It din't works. I see only above code
I can see gallery in sidebar ONLY after instert gallery code in sidebar AND IN PAGE .
The best way - if the gallery is always the same in the sidebar - would be to use
Code: <?php get_i18n_gallery_header('my_gallery_name'); ?>
...
<?php get_i18n_gallery('my_gallery_name'); ?>
directly in the template.
(see http://get-simple.info/forum/post/15390/#p15390)
The current version of I18N Gallery does not support galleries in a custom field.
Posts: 7
Threads: 0
Joined: Apr 2010
mvlcek - Thank you. It works!
Posts: 53
Threads: 12
Joined: May 2011
2011-07-09, 12:53:14
(This post was last modified: 2011-07-09, 12:54:34 by Womens health.)
I have recently installed the Custom Fields plugin and created two fields: a WYSIWYG and an Image field. The WYSIWYG field works fine, but when I click the Browse button on the Image field I get an Error 500 in the popup window.
Any ideas on how to fix this? Thanks.
Running GS 3.0 with Multi-User, I18N, and I18N Custom Fields plugins.
Posts: 2,094
Threads: 54
Joined: Jan 2011
Cerulean Wrote:I have recently installed the Custom Fields plugin and created two fields: a WYSIWYG and an Image field. The WYSIWYG field works fine, but when I click the Browse button on the Image field I get an Error 500 in the popup window.
Any ideas on how to fix this? Thanks.
Running GS 3.0 with Multi-User, I18N, and I18N Custom Fields plugins.
Missing .htaccess in plugins/i18n_customfields/browser?
Rule in root .htaccess forbidding access?
Posts: 53
Threads: 12
Joined: May 2011
Thanks for your reply, mvlcek.
.htaccess is present in plugins/i18n_customfields/browser
My .htaccess in the root only has custom error pages defined - I removed the .htaccess to see if that had any effect and now the Browse button brings up a blank popup (without the Error 500 page defined in my .htaccess).
I tried adding a Link custom field and the browse button there also gave me the blank popup.
I tried a clean install of GS 3.0 with just the Custom Fields plugin on a different server and the Browse button still just gives me a blank popup rather than the file browser I expect should appear. The only thing slightly non-standard about these GS installs is that they are installed inside a directory rather than the domain root, but that shouldn't affect anything should it?
Posts: 2,094
Threads: 54
Joined: Jan 2011
Cerulean Wrote:Thanks for your reply, mvlcek.
.htaccess is present in plugins/i18n_customfields/browser
My .htaccess in the root only has custom error pages defined - I removed the .htaccess to see if that had any effect and now the Browse button brings up a blank popup (without the Error 500 page defined in my .htaccess).
I tried adding a Link custom field and the browse button there also gave me the blank popup.
You must have sitewide cookies enabled in gsconfig.php. Do you have it enabled?
Cerulean Wrote:I tried a clean install of GS 3.0 with just the Custom Fields plugin on a different server and the Browse button still just gives me a blank popup rather than the file browser I expect should appear. The only thing slightly non-standard about these GS installs is that they are installed inside a directory rather than the domain root, but that shouldn't affect anything should it?
Hopefully not.
Posts: 53
Threads: 12
Joined: May 2011
2011-07-09, 23:25:48
(This post was last modified: 2011-07-09, 23:26:20 by Womens health.)
Enabling sitewide cookies fixed it - cheers!
Is the pre-requisite of the sitewide cookies setting explained somewhere and I just missed it? 'Cos it's disabled by default.
Posts: 2,094
Threads: 54
Joined: Jan 2011
Cerulean Wrote:Enabling sitewide cookies fixed it - cheers!
Is the pre-requisite of the sitewide cookies setting explained somewhere and I just missed it? 'Cos it's disabled by default.
You missed it - here under installation.
I now added it to the Extend installation description, too.
Posts: 53
Threads: 12
Joined: May 2011
Ah, yes. Brilliant plugin by the way, so many uses.
Posts: 1,204
Threads: 30
Joined: Jun 2010
I've been looking for it for quite some time, but still didn't found where should I add target="_blank" to get external link opened in new window.
Any hint would be appreciated.
Addons: blue business theme, Online Visitors, Notepad
Posts: 53
Threads: 12
Joined: May 2011
2011-07-10, 12:20:23
(This post was last modified: 2011-07-10, 12:28:16 by Womens health.)
I'd like to use an Image custom field to supply a path to an image resizing script.
For instance, with TimThumb ( http://code.google.com/p/timthumb/) a resized image is inserted with:
Code: <img src="timthumb.php?src=path/to/image.jpg&w=200">
I tried
Code: <img src="timthumb.php?src=<?php get_custom_field('myname'); ?>&w=200">
but that didn't work.
I suspect I need to do something like use return_custom_field('myname') to assign the path to a variable and then use the variable with TimThumb? But I don't really know how to do that because sadly my PHP knowledge is poor. Can anyone give me some advice to get this working?
Thanks.
Posts: 2,094
Threads: 54
Joined: Jan 2011
Cerulean Wrote:I tried
Code: <img src="timthumb.php?src=<?php get_custom_field('myname'); ?>&w=200">
but that didn't work.
What didn't work?
What is the generated HTML code (when viewing the page)?
You also need a path to the PHP script.
Posts: 53
Threads: 12
Joined: May 2011
mvlcek Wrote:What is the generated HTML code (when viewing the page)? The generated code is
Code: <img src="timthumb.php?src=http://yawp.co.nz/getsimple2/data/uploads/dreamstimefree_304388.jpg&w=200">
So the path to the image is inserted by the Custom Field, but it isn't available for processing when it is needed by the TimThumb script. I'm a PHP novice, but I imagine both scripts are executed at the same time rather than the Custom Field script running first to supply the path to the TimThumb script.
But if the following is pasted into the browser address bar the resized image is created just fine.
Code: http://yawp.co.nz/getsimple2/timthumb.php?src=http://yawp.co.nz/getsimple2/data/uploads/dreamstimefree_304388.jpg&w=200
mvlcek Wrote:You also need a path to the PHP script. In this case the TimThumb script is in the root so there is no path needed.
Posts: 2,094
Threads: 54
Joined: Jan 2011
Cerulean Wrote:The generated code is
Code: <img src="timthumb.php?src=http://yawp.co.nz/getsimple2/data/uploads/dreamstimefree_304388.jpg&w=200">
So the path to the image is inserted by the Custom Field, but it isn't available for processing when it is needed by the TimThumb script. I'm a PHP novice, but I imagine both scripts are executed at the same time rather than the Custom Field script running first to supply the path to the TimThumb script.
No! This is a web site: the execution is like this: - the browser request a page
- a HTML is created on the server (here by calling index.php of GetSimple, which calls the I18N Custom Fields plugin) and sent to the browser
- the browser parses the HTML, recognizes the image URLs and sends requests for the images to the server
- the server serves the images (here by calling the timthumb script) and sends them to the browser
- the browser displays the images
Cerulean Wrote:But if the following is pasted into the browser address bar the resized image is created just fine.
Code: http://yawp.co.nz/getsimple2/timthumb.php?src=http://yawp.co.nz/getsimple2/data/uploads/dreamstimefree_304388.jpg&w=200
... which tells you that you should probably add the path to the image link.
Cerulean Wrote:mvlcek Wrote:You also need a path to the PHP script. In this case the TimThumb script is in the root so there is no path needed.
You don't need the path, if you switch off fancy urls (as the index.php and the timthumb.php are in the same directory). With fancy urls on and no path, if you are on page http://my.server/getsimple2/about/, the browser will request the image at http://my.server/getsimple2/about/timthumb.php?..., which is wrong.
Posts: 53
Threads: 12
Joined: May 2011
I mistakenly thought all relative URLs were relative to the site root and I didn't realise Pretty URLs changed that.
Using the get_site_url tag I can make the URL to the script absolute but still dynamic, so that's great.
All sorted now. Thanks for the help, mvlcek.
Posts: 6
Threads: 0
Joined: Jul 2011
Hi all -
am using getsimple 3.0 and the custom fields plugin.
all seams to look and work fine accept that nothing get saved when writing something in the custom fields.
what am doing wrong.
i can configure the plugin - all ok
the custom fields show in page options
but when values are added and page is saved - nothing is in the field anymore.
please advice.
Posts: 2,928
Threads: 195
Joined: Feb 2011
is debug activated in gsconfig.php?
what is the result of support => health check?
Posts: 6
Threads: 0
Joined: Jul 2011
2011-07-17, 19:47:42
(This post was last modified: 2011-07-17, 20:12:56 by prt.)
Connie Wrote:is debug activated in gsconfig.php?
what is the result of support => health check?
dubug mode is activated -> but i dont know what to do and how do i check it.
health check is all ok. -> see attached screenshot
Posts: 6
Threads: 0
Joined: Jul 2011
ronatgetsimple Wrote:dubug mode is activated -> but i dont know what to do and how do i check it.
health check is all ok. -> see attached screenshot
here a screenshot from the debug mode:
Posts: 2,928
Threads: 195
Joined: Feb 2011
debug-mode adds error messages at the top of the page which help to identify the problems
|