climbingmonkey
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I display only the most popular categories?I would love to hear how this is done and if you can get it to work. I could also use something like this and I will check out the code as well.
Forum: Plugins
In reply to: WordPress & Gallery2Oh and the URL for my test site has changed. Now it is: http://test.marcnjami.com/. Gallery2 doesn’t play well when mixing domains and that is why the URL above doesn’t show pretty pictures. 🙂
Forum: Plugins
In reply to: WordPress & Gallery2We just release Beta 1.1 which addresses some permalink and image block issues. 🙂
Forum: Plugins
In reply to: FCKEditor plugin?Sweet! I’ll check it out…
Forum: Plugins
In reply to: WordPress & Gallery2Look great! And I love your tagline BTW… If you would we would like it if you could add you site to our Show Off thread. It is here: http://wpg2.ozgreg.com/viewforum.php?f=9
Forum: Plugins
In reply to: FCKEditor plugin?I wish…. 🙂
Forum: Plugins
In reply to: WordPress & Gallery2Yep, I’ve have been trying my best to “break” the plugin. So I configured it badly to see the end result. As you noticed it didn’t turn out pretty. 🙂
When we say seemless we mean that end users will be givin the impression of one application as opposed to two.
You need to have G2 installed on your server already, and yes it combines the logins, UI, G2 perm groups and allows you to display a variety of image “blocks” within wordpress.
As for the subdomain question I have no good answer for you. It really depends on your setup. If you search the boards you will see that some users are running into issues with the way Gallery2 embed.php is written (not the fault of the plugin) and how it works with subdomains. We have had reports from other users that have gotten it to work. It really depends on your setup and where the files live. I can make it work but then again I have full control over my server. Hope this helps!
Forum: Plugins
In reply to: WordPress & Gallery2We think it is coming along nicely!
Forum: Themes and Templates
In reply to: Displaying Catagory Names In The Title<?php wp_title(); ?> works with cats as well… at least is does on my site… 🙂
Forum: Themes and Templates
In reply to: CleanBreeze Theme for WordPress 1.5Nope the sidebar is at the bottom with my Firefox 1.0.4 as well…
Forum: Themes and Templates
In reply to: Static WordPress “Page” as Landing Page for SiteAfter some time, I have revisited this and I’ve finally seen the light. (Right?)
When you create a new post it defaults to “uncategorized” right? The WP template order for cat calls is category-BLAH.php then category.php archive.php then index.php. (See here: http://codex.wordpress.org/Category_Templates) Lets say I made a category.php template file that had the same code as index and set all my posts to be under the uncategorized cat AND a more specific cat. So each post would now be in 2 cats right? I could make my link to my blog be this: http://www.yoursite.com/wordpress/?cat=1 and that should grab every post and display it using the category.php template. Make sense? If you are a apache user I imagine you could url_rewrite ?cat=1 -> /blog or something like that then you have pretty urls. Since I run IIS/Windows I don’t have this luxury 🙁
Since I didn’t figure this out until I got and email from another user with the same goal, here’s what I did… And YES my home page is WP managed! 🙂
My root dir contains an index.php and a custom header and footer. My index file grabs my wp stuff <?php require_once(‘wordpress/wp-blog-header.php’);?> and then my custom header <?php include_once(‘header.php’);?>. Then it grabs the page with the id of 1 and does all the activity, page and cat grabbing. Then I import my custom footer. Walla!
I did this for my g2 page and my archives as well. Now I have prettier urls (gallery, archives and wordpress all live in seperate dirs under my root btw) and they are all themed with the DEFAULT template. I put that in caps because this approach doesn’t play well with theme switching. When you grab wp-blog-header.php it only really knows what theme is the default as opposed to a switched theme. I don’t really see a need for me to use theme switching anyhow, so it works great for me.
Thank you to everyone that held my hand through this process. I appreciate your time and hopefully this might help others in the community. 🙂
Cheers!
Forum: Themes and Templates
In reply to: Static WordPress “Page” as Landing Page for Siteyes, the same dir… and you are correct wp loads home.php before index. And wp uses IT to display my wp queries. This is what I’m trying to avoid.
My home.php file displays the content of pageID 1 only. (a page to front solution) It also displays a simple widebar at the bottom of that page content. My index.php however displays my preset number of posts, and should have a sidebar with different contents.
When WP routes a query it goes through home.php (because WP or ishome() sees yoursite\ the same as: yoursite\index.php) and since home.php exists the templating system uses it to “process” the query.
In my case, when having both home and index in my template dir, This results in 5 posts with my widebar at the bottom (the home.php template) when I want to have my sidebar instead (as is contained in my index.php file).
With all this said… If you go to my site: http:\\www.marcnjami.com you will see what the end result should look like. I ended up yanking my home, gallery and archives files and putting them in seperate directories. WordPress themed and content driven “external” pages if you will. Since my new “landing” page is external from the wordpress dir and yet knows where it is, it can still get content and theme info.
Messy and not ideal but it is doing what it is told for now.
Forum: Themes and Templates
In reply to: Static WordPress “Page” as Landing Page for SiteYep they should… the side effect of this is that the post and cat queries are being routed without specificity to index.php. My home page only knows how to display page_id=1. Uggggg… a never ending process it seems…
Forum: Themes and Templates
In reply to: Static WordPress “Page” as Landing Page for SiteI figured it out… I needed to add home.php to my list of default documents (in IIS) for my wordpress directory. It was setup to load home first BEFORE index.php. This was the key…
So I configed the directory in IIS, and copied my homepage file to home.php in the root of wordpress. It sat next to my gallery2 integration file and my archives page. That did the trick.
See for yourself: http://www.marcnjami.com/wordpress/
Thanks much for your patience 🙂
Forum: Themes and Templates
In reply to: Static WordPress “Page” as Landing Page for SiteMy home and index files are different…
Home is a customized page template I made that only loads the content of page one and customized wide nav bar. Index loads a list of all my posts, the standard sidebar, in typical blog format.
With a home.php and an index.php in my wordpress theme directory, when I change the link to point to index.php directly, the templating heirachy is seeming to kick in and still uses the layout and content contained in the home.php file. It sees http://mysite.com/ the same as http://mysite.com/index.php and then it says yep this “is_home()” go ahead and use the home.php cause it is there… 🙂
I see what you are trying to say but in my experience the template hierarchy does kicks in even if I specify a link to index.php directly. Bummer…