pelias
Forum Replies Created
-
Forum: Plugins
In reply to: Displaying atlernate header.php content on different pagesI was able to make different “Pages” temlpates, added a php variable to the top of each template I needed (I.E.
$headerBG = "header1";
and so on), as well as placed the variable in the “header.php” file where a css class would go:<div id="header" class="$headerBG">content</div>
In the WP admin I just set each page to use the page template I want.
This way I do not have worry about maintaining multiple headers/footers. I can change the design as needed while making the “pages” templates as portable as possible.
Cool!
Forum: Plugins
In reply to: Displaying atlernate header.php content on different pageshi Lorelle — thanks for the reply. I will take a look at the links and hopefully I can answer your questions clearly.
Ideally I would like a different header for each site section. Using WP’s “Page” functionality I have set up sections. Some sections have subpages to them. So to answer your question I want to be able to associate a header image to a top level “Page” (or any page if possible).
For example I have the top level “Pages” — “Home” / “Services” / “About” / “Contact” — that break the site into 4 different sections. My goal is to be able to use a specified header image in each section. Additionally in sections with subpages the subpages will share the parents’ header. I.E. “Services” has 4 subpages that will share the “Services” section header.
Being able to change the styles depending on the section would satisfy my needs. I could have my base styles static and section styles could be dynamic depending on the page.
I do not employ categories for the pages but can if it will help.
Forum: Plugins
In reply to: FCKeditor Plugin ChenPressThis makes sense now. No matter what I did I could not get it to work. I didn’t realize I had to hack so much of the confige ??
Can I add a feature request?
Allow the user to specify a base uploads area and have the imagebrowser automatically traverse the file system under the specified area. WYSIWordPress allows this and it is easily done in PHP. implementation into the plugin might be tricky but that is why I can’t program worth a #@$%…
If you do not want to use default folder structure:
files
filesFile
filesFlash
filesImage
filesMediayou need to change lots of cold ???editorfilemanagerbrowsermcpukconnectorsphpconfig.php
$fckphp_config['ResourceTypes'] = array('File','Image','Flash','Media');
==>
$fckphp_config['ResourceTypes'] = array(gallery1','gallery2','gallery3');and redifine all the code about 'File','Image','Flash','Media' in this config.php.
finally you also need to fix the FCKConfig.ImageBrowserURL and FCKConfig.LinkBrowserURL in the file fckconfig.js.
Forum: Plugins
In reply to: FCKeditor Plugin ChenPressfor some reason I am still having path problems. folders/files are chmod’d to 777 and the correct path is in the config file. WYSIWYGPress works fine so I am lost as to why ChanPress won’t work (WYSIWYGPress is disabled as I try and get ChanPress working).
Does ChanPress allow for the following uploads folder config?
/cms/wp-content/media/gallery1
/cms/wp-content/media/gallery2
/cms/wp-content/media/gallery3Using:
$fckphp_config['UserFilesPath'] = "/cms/wp-content/media" ;
I am unable to see the folders on the server. when I try and add a new folder or upload an image I get a permission denied error (even though I have triple checked everything in that directory is writable by everyone (777). I am thinking ChanPress is not folloing the setting in the config file for some reason.
Big thanks for any help with this!
Forum: Fixing WordPress
In reply to: Current Page Questions…i am a complete moron! when I was trying code (just like your suggestion) I was not giving the class the correct inheritance. li.current_page_item was not working and prompted my post. After a few days of stepping away from the code, and seeing your reply, it clicked!
I needed to use div#sidebar div#nav li.current_page_item a to reference it correctly.
Thanks for help!
Forum: Plugins
In reply to: WordPress 1.5 Database ManagerGamerz – I’ve tried that as well. I am thinking there is some weird server config I am running into. Unless you have any other ideas?
Forum: Fixing WordPress
In reply to: Redirecting Pagesbig thanks!
Forum: Plugins
In reply to: WordPress 1.5 Database ManagerI’ve got an odd problem here. For the most part this plugin works great. On my dev server, production server and most hosting providers I have used it on the plugin is flawless. However, As I am helping a few people add it to their WP installs I am running into a problem.
On sites hosted at Velcom (https://www.velcom.com/) I am getting the following error (the wp-backup-db folder is chmod’d to 777):
Warning: filesize(): Stat failed for /usr/www/user/domain.com/www/wp/wp-backup-db//1120842641_-_SiteManager.sql (errno=2 – No such file or directory) in /usr/www/user/domain.com/www/wp/wp-admin/database-manager.php on line 89
Warning: unlink(/usr/www/user/domain.com/www/wp/wp-backup-db//1120842641_-_SiteManager.sql): No such file or directory in /usr/www/user/domain.com/www/wp/wp-admin/database-manager.php on line 90
I’ve tried changing the code from:
$backup['path'] = ABSPATH . 'wp-backup-db/';
to:
$backup[‘path’] = ABSPATH . ‘wp-backup-db’;`But that does not help either. Has anyone seen a solution to this?
Forum: Fixing WordPress
In reply to: Redirecting Pagesthanks for the help guys. i was looking for a plugin solution due to the fact the install is for someone else who, when they want to change or add links, would not know how to ssh into the server and edit the .htaccess file. i’d like to make this as user friendly as possible.
angusman — where can i find that the plugin of yours?
thanks again for all of the help!
Forum: Fixing WordPress
In reply to: Redirecting Pagesi think I found a plugin that will do the trick CG-Redirect <https://www.chait.net/index.php?p=310>. I will test it out in the morning but it looks like it is just what I need.
Forum: Fixing WordPress
In reply to: Current Page Questions…Has anyone been able to style the “current_page_item” with CSS?
I am trying to highlight the current page link in a menu bar but I am not having any luck getting the CSS implemented correctly.
li.page_item { formatting code here } and li.current_page_item { formatting code here } do not seem to work. And, as far as I know from my CSS experience, defining:
#nav li.page_item current_page_item
OR
#nav li.page_item li.current_page_item
is not the correct way to handle things.
Big thanks for any help. The Dynamic Menu Highlighting article does not seem to be compatible with WP 1.5+’s PAGES feature.
Forum: Plugins
In reply to: Modifying wp_list_pages outputYellowSwordfish — I agree but what surprises me is how many people just use IE 5… I am working with two desigers right now (on this project) that use IE 5 and “have to have it work”. Granted the browser is a pain (and not even being developed any more). Since IE 5 is part of our target audience I have to find a way to get it to work.
Thanks for the reply though. It is much appreciated!
Forum: Plugins
In reply to: Modifying wp_list_pages outputIE 5 on the Mac has no problem when I hard code the nav adding div tags around the top level pages. The CSS works as planned in all of my browser testing. However, since I am trying to develop a generic WP install I can upload and setup I would love to be able to make the menu system as flexible as possible. If I can edit the output of the pages list we are golden.
For this purpose WP is not going to be used as a blog so I would prefer to use the pages feature oppossed to the categories. Also the dropdown_cats() is not the functionality I am looking for. I am looking for along the lines of CSS menus. I also have the problem that user has to have the drop down menus because “they are soooooo cool!” ??
If we could have the optioanl functionality of wp_get_archives() then we’re set. It would be great if these funtions that listed data shared the same functionality. Is this possible? https://codex.www.ads-software.com/Template_Tags/wp_get_archives
Forum: Fixing WordPress
In reply to: Modifying wp_list_pages outputI posted this at https://www.ads-software.com/support/topic/34008#post-192455
Maybe we can find some help over there.
Forum: Plugins
In reply to: Lazy GalleryHow can I integrate “Lazy Gallery” into a WP “Page”?
I setup a a€?Pagea€? in WP with a page template I created called a€?gallery.phpa€?. In a€?gallery.phpa€? i used a php include (pointing to a€?lazy-index.phpa€?) but nothing seems to show up (blank in FF/broken images in Safari).
My goal is to use WP as a light CMS and control all navigation within WPa€| I would rather not hard code header/footer links if I can get WP to generate my site architecture. Does anyone have any ideas on how to get this to work?
Thanks for any pointers!