sascha-rossaint
Forum Replies Created
-
Forum: Plugins
In reply to: [Wordpress Forms] [Plugin: WordPress Forms] This plugin ROCKS!ok, just let me know when you are ready
Forum: Plugins
In reply to: [Wordpress Forms] [Plugin: WordPress Forms] This plugin ROCKS!In case you need a German translation I might be able to do it – how much work is it? ??
Forum: Plugins
In reply to: [Wordpress Forms] [Plugin: WordPress Forms] This plugin ROCKS!I have been using WordPress and various plugins for years
and never had a form solution as good as this plugin.WordPress forms ROCKS
Forum: Fixing WordPress
In reply to: Editor bloody editorYes, PLEASE fix this damn editor …
i just found out that it seems to be a file ownership issue.
For me setting the ownership of the gallery folder in wp-content to
“apache:apache”
with the “chown command” via SSH
worked fine.
might be different on other servers though.i just found out that it seems to be more of a file ownership issue than a permission one.
For me setting the ownership of the gallery folder in wp-content to
“apache:apache”
with the “chown command” via SSH
worked fine.
might be different on other servers though.It was a file permission issue for me.
I set the responsible folders to 777 and all worked fine
however this shouldnt be a permenent solution …Forum: Requests and Feedback
In reply to: [Plugin: NextGEN Gallery] title if you look a galleryany results on this?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery]: Show gallery titles on gallery pageAny news on this topic?
My two questions would be:1. How can i make permalinks work with the image browser?
To avoid this in the URL: /nggallery/page-162/page/315
Until I enter the image browser permalinks work fine.2. How can i make NGGallery return the image description/alt/title
in the page title rather than the image ID Number?And like DaMst mine is rewritten by AIO SEO.
I found the part in rewrite.php that is responsible for question 2 but i dont know how to parse the image alttext or description.
I figured that the line where the variable pid is triggered is responsible.
just need the code for how to parse image description
any help would be great.thanks
saschabelow the part of the php file
function rewrite_title($title) { $new_title = ''; // the separataor $sep = ' | '; // $_GET from wp_query $pid = get_query_var('pid'); $pageid = get_query_var('pageid'); $nggpage = get_query_var('nggpage'); $gallery = get_query_var('gallery'); $album = get_query_var('album'); $tag = get_query_var('gallerytag'); $show = get_query_var('show'); //TODO:: I could parse for the Picture name , gallery etc, but this increase the queries //TODO:: Class nggdb need to cache the query for the nggfunctions.php if ( $show == 'slide' ) $new_title .= __('Slideshow', 'nggallery') . $sep ; elseif ( $show == 'show' ) $new_title .= __('Gallery', 'nggallery') . $sep ; if ( !empty($pid) ) $new_title .= __('Picture', 'nggallery') . ' ' . $pid . $sep ; if ( !empty($album) ) $new_title .= __('Album', 'nggallery') . ' ' . $album . $sep ; if ( !empty($gallery) ) $new_title .= __('Gallery', 'nggallery') . ' ' . $gallery . $sep ; if ( !empty($nggpage) ) $new_title .= __('Page', 'nggallery') . ' ' . $nggpage . $sep ; if ( !empty($tag) ) $new_title .= $tag . $sep; //prepend the data $title = $new_title . $title; return $title; }
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] permalinks and title in image-browserI found the part in rewrite.php that is responsible for question 2 but
i dont know how to parse the image alttext or description.
I figured that the line where the variable pid is triggered is the responsible line.
just need the code for how to parse image description
any help would be great.thanks
saschabelow the part of the php file
function rewrite_title($title) { $new_title = ''; // the separataor $sep = ' | '; // $_GET from wp_query $pid = get_query_var('pid'); $pageid = get_query_var('pageid'); $nggpage = get_query_var('nggpage'); $gallery = get_query_var('gallery'); $album = get_query_var('album'); $tag = get_query_var('gallerytag'); $show = get_query_var('show'); //TODO:: I could parse for the Picture name , gallery etc, but this increase the queries //TODO:: Class nggdb need to cache the query for the nggfunctions.php if ( $show == 'slide' ) $new_title .= __('Slideshow', 'nggallery') . $sep ; elseif ( $show == 'show' ) $new_title .= __('Gallery', 'nggallery') . $sep ; if ( !empty($pid) ) $new_title .= __('Picture', 'nggallery') . ' ' . $pid . $sep ; if ( !empty($album) ) $new_title .= __('Album', 'nggallery') . ' ' . $album . $sep ; if ( !empty($gallery) ) $new_title .= __('Gallery', 'nggallery') . ' ' . $gallery . $sep ; if ( !empty($nggpage) ) $new_title .= __('Page', 'nggallery') . ' ' . $nggpage . $sep ; if ( !empty($tag) ) $new_title .= $tag . $sep; //prepend the data $title = $new_title . $title; return $title; }
hanks a lot, resolved ??
Forum: Themes and Templates
In reply to: How to use different header.phps vor different pages?Thanks a lot,
resolved! ??