Dec 04, 2008, 03:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1]   Go Down
  Print  
Author Topic: WordPress and ModX  (Read 1897 times)
0 Members and 1 Guest are viewing this topic.
wordy
Jr. Member
*
Posts: 4


« on: Mar 15, 2007, 02:55 AM »

Hello.  I've read through past posts and it appears that right now it's not possible to integrate the WP db into modX.

I love ModX, and Ditto is really coming along, but right now, WP is still better for blogging (please don't stone me).  I was googling the topic and came upon this site: http://nanabit.net/modx/wordpress-integrator.html

I'm not sure what language that's in, but from the screen shot, it appears that they integrated WP into ModX.

Does anyone know what's going on in that screen shot, and would you be so kind as to explain it to me?  Thanks in advance Smiley
Logged
rthrash
Foundation
*
Posts: 9,577



WWW
« Reply #1 on: Mar 15, 2007, 03:15 AM »

Ditto 2 (especially the stuff in SVN) and Jot sure do make a mean argument as to being a pretty robust blogging platform. Wink

Looks like they've created a plugin that outputs the Wordpress results in a MODx site.
« Last Edit: Mar 15, 2007, 03:19 AM by rthrash » Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
uglydog
Jr. Member
*
Posts: 11


WWW
« Reply #2 on: Mar 15, 2007, 10:25 AM »

Hello.
That page is written in Japanese, so it probably be hard to understand the usage of it for non Japaneses.
Now I (the author of it  Tongue) will try to write the instruction. Sorry in advance for my poor English...

1. What is "WordPress Integrator"?
 WordPress Integrator (WPI) is a set of a snippet (WordPressIntegrator) and a plugin (WordPressRouter).
 Former captures the output of your WordPress. Latter will seize requested URL like
 http://example.com/wpi_blog/2007/03/15/howtousewpi and call the document where WordPressIntegrator-snippet is placed.

2. Requirements
 
  • MODx 0.9.5
  • WordPress 2.0.5, ME 2.1.2 (some modification required)
mod_rewrite and friendly URL (but NOT alias path) is also required.

3.  How to use
 3-1. download the wordpressintegrator.1.0.1.zip from http://nanabit.net/modx/wordpress-integrator.html
 3-2. make a document which should be the "interface" of WPI. (ex. id=200)
 3-3. copy the snippet and name WordPressIntegrator. WPMODX_WP_PATH should be the absolute path of your WP. WPMODX_TITLE is your blog's title.
 3-4. write [!WordPressIntegrator!] in document(#200).
      If you would like, add [!WordPressIntegrator?block=latest!] in top page, and [!WordPressIntegrator?block=sidebar!] for sidebar.
 3-5. make a plugin named WordPressRouter and check "OnWebPageInit". PAGE_WP_TOP is your interface-document's ID. (200 for the example above).
      WORDPRESS_ALIAS is the alias to snach from MODx. (wpi_blog for the example above)
      note that http://example.com/wpi_blog/ should NOT exists (oftenly, problems are caused by WordPress placed in http://example.com/wpi_blog/.
      please upload WordPress in another path, like http://example.com/wp/)
 3-6. login to WordPress admin page (Options>>General). set "WordPress address" to http://example.com/wp/,
      "Blog Address" to http://example.com/wpi_blog/. Uncheck gzip option.
 3-7. WordPress modification. replace all "&=" to "=" in wp-settings.php
 3-8. You can use [+wp_title+] or some placeholders in the document.
 
4. Known Problems and Solutions
 Q. [!WordPressIntegrator?block=latest!] in the top page works, but the "interface" page does not.
 A. Something is wrong about the plugin.
 
 Q. I would like to use alias path
 A. patch at here http://nanabit.net/blog/2006/12/19/alias-path-like-handling/ would help. (still ensure alias path is off)
    It makes MODx generate path like alias path, and recognize URLs more flexiblly than alias path.
    Moreover, directories' URL will be like http://example.com/directory/ instead of http://example.com/directory.html
 
 Q. It doesn't work anyway!
 A. Probably Ditto2 or Jot are easier to use. I would like to try them, too. Tongue

Thanks.
« Last Edit: Mar 15, 2007, 02:08 PM by uglydog » Logged
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #3 on: Mar 15, 2007, 01:31 PM »

Great work Uglydog and thanks for the translation !

WordPressIntegrator sure will interrest people who already have a WP blog and want to publish items on a MODx website Smiley
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
wordy
Jr. Member
*
Posts: 4


« Reply #4 on: Mar 18, 2007, 03:28 AM »

Are you really the author of that uglydog?  The tightness of the MODx dev community continues to amaze me!

I will try this out.  Thanks for the translation! Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!