|
|
|
#1

Dec 9, 2009, 01:17 PM
|
 |
|
|
26 posts · Oct 2009
Scotland
|
|
|
Themeframe for other CMSs
I was looking at Artisteer and it offers the option to exort the style into different CMS themes. How realistic would it be in the future for Themeframe to offer something similar, or is it heavly tied into Wordpress. I have no idea about these things, but would find it interesting to find out, as I use Drupal a bit too, and may be migrating sites from WP to DP for their OS shop.
Thanks
Edit: I found this -
Convert a Word Press theme to Drupal
Submitted by paddy_deburca on Thu, 2007-11-15 10:47
themes
The example WP theme I am trying to use is sodelicious_black.
page.tpl.php
Combine header.php, page.php and footer.php into on new file called page.tpl.php. In this new page.tpl.php file:
* Replace your DOCTYPE and HTML lines with
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
* Replace the TITLE with
<title><?php print $head_title ?></title>
* Replace the links to style sheets, RSS news feeds and the such with
<?php print $head ?> <?php print $styles ?> <?php print $scripts ?>
* Clean up the page.tpl.php by removing the obsolete calls to get_header() and get_footer()
* Replace echo get_settings("home") with print base_path()
* Replace bloginfo("name") with print $site_slogan ? $site_slogan : $site_name
* Drupal uses syntax such as
<?php if (isset($primary_links)) {
print theme("links", $primary_links, array("class" => "navmenu primary-links"));
} ?>
<?php if (isset($secondary_links)) {
print theme("links", $secondary_links, array("class" => "navmenu secondary-links"));
} ?>
for navigation, so replace the navigation block with this code
* At the beginning of the main content block, Drupal customarily has a bunch of information such as
<div class="post-main">
<?php if ($breadcrumb) { print $breadcrumb; } ?>
<?php if ($mission) { print "<div id='mission'>". $mission ."</div>"; } ?>
<?php if ($tabs) { print "<div id='tabs-wrapper' class='clear-block'>"; } ?>
<?php if ($title) { print "<h2". ($tabs ? " class='with-tabs'" : "") .">". $title ."</h2>"; } ?>
<?php if ($tabs) { print $tabs ."</div>"; } ?>
<?php if (isset($tabs2)) { print $tabs2; } ?>
<?php if ($help) { print $help; } ?>
<?php if ($show_messages && $messages) { print $messages; } ?>
</div>
<?php print $content; ?>
* The Search blocks are created by Drupal, so remove any code builds a search block – just remember where it was located (top, left, centre, right, footer regions)
* Replace get_sidebar(); with print $sidebar_left . $sidebar_right;
* The Recent Posts blocks are created by Drupal, so remove any code that builds a Recent Posts block – just remember where it was located
* Clean up the code and balance all your DIV‘s and SPAN‘s
node.tpl.php
The single.php will get trimmed to become the node template – node.tpl.php
* Start off by removing everything that is already in the page template – page.tpl.php – basically everything before and including the while (have_posts()) loop
* Replace the_ID() with print $node->nid;
* Replace permalink() with print $node_url;
* Replace the_title() with print $title;
* Replace the Author block with
<?php if ($submitted) { print "<span class='submitted'>" . $submitted . "</span>"; } ?>
* Replace the Category block with
<?php if ($taxonomy) { print "<div class='terms'>" . $terms . "</div>"; } ?>
* Replace the Comments block with
<?php if ($links) { print "<div class='post-tags'>" . $links . "</div>"; } ?>
* Add <?php print $picture ?> before the content to support user pictures
* Replace the_content("Read more"); with print $content;
comment.tpl.php
The comment.php will get trimmed to become the comment template – comment.tpl.php
* As before, start off by removing everything that is already in the page template – page.tpl.php – basically everything before and including the foreach ($comments) loop
* Replace comment_ID() with print $comment->cid;
Results
And there you should have an almost working Drupal theme closely relating the previous WP theme.
* Sodelicious homepage
* Sodelicious content
* Sodelicious edit
* Sodelicious gallery
* That’s all folks.
Last edited by Liston; Dec 9, 2009 at 01:19 PM.
|
|
#2

Dec 9, 2009, 01:36 PM
|
 |
|
|
1,320 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
|
I'm hoping Flynn can eventually tweak Themeframe to create Wordpress MU themes as well.
|
|
#3

Dec 9, 2009, 01:47 PM
|
 |
|
|
26 posts · Oct 2009
Scotland
|
|
|
Fingers crossed that in the future it is developed down those lines. Obviously the focus is on a working Wordpress release, but there is a big market out there for a product such as this. Would be interesting to hear Flynn's views as to how he plans to develop Themeframe over the next year.
John
|
|
#4

Dec 10, 2009, 10:02 AM
|
|
|
I too would love to see Themeframe for Jooma or Drupal. It is looking incredible! And I am really struggling to find a good theme to use for one of my sites. Unfortunately, I need more than a blog for that site  .
|
|
#5

Dec 10, 2009, 10:17 AM
|
 |
|
|
1,320 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
Bignall, both WP and Atahaulpa work fine as a CMS. I use them for a complex news website: http://larchmontgazette.com. With widgets and plugins, you can do almost anything.
|
|
#6

Dec 10, 2009, 11:23 AM
|
 |
|
|
26 posts · Oct 2009
Scotland
|
|
|
I'll agree that WP can be used just fine as a CMS in my opinion. A lot easier to use I feel too.
Only reason Drupal is getting the nod over WP for my business site is for Ubercart. The WP ecommerce solutions just don't cut it. All my personal sites will remain firmly with WP.
Taking me a while to get my head around Drupal.
|
|
#7

Dec 14, 2009, 07:52 PM
|
|
|
Quote:
|
Originally Posted by paulae
Bignall, both WP and Atahaulpa work fine as a CMS. I use them for a complex news website: http://larchmontgazette.com. With widgets and plugins, you can do almost anything.
|
Wow, thanks, that's a great site. Could you let me know what some of the plugins are that you are using? Especially the Upcoming events, and how you are doing the list of articles on the pages with images at the top. I've been trying Category page, but still struggling with it.
Thanks!
|
|
#8

Dec 20, 2009, 09:53 AM
|
|
|
|
2 posts · Nov 2009
Minnesota
|
|
Quote:
|
Originally Posted by paulae
Bignall, both WP and Atahaulpa work fine as a CMS. I use them for a complex news website: http://larchmontgazette.com. With widgets and plugins, you can do almost anything.
|
I just was looking at your website and it looks just terrific! I am a beginner in all of this but I have a question for you. How did you setup the pages as categories?
You have pages listed as "Dine and Wine" and "Garden Guide" etc, that seem to be categories. I would like to turn the categories in my site into pages on top of the main page.
Any thoughts?
|
|
#9

May 20, 2010, 02:56 PM
|
|
|
|
74 posts · Apr 2010
Long Island NY
|
|
|
I arrived at Wordpress and Atahualpa from a direction that seems to be different from anyone I have yet to see forum posts from. My background has been with C, C++ and Visual Basic. These languages allowed me to have considerable control over implementation with little dependence on forum advice.
I first attempted to use Dreamweaver which is a WYSIWYG tool similiar to Visual Basic. What was missing was the Content Management System (CMS) which has made Wordpress very popular. To save time I decided to try wordpress although I had never heard of php before. I did find a great deal of familiarity with php and C, C++ and Visual Basic. Now I hear of ThemeFrame and it sounds very similiar to Dreamweaver which I dropped because I didn't want to re-invent the wheel. Wordpress and then Atahuapa were to be a giant step to propel me closer to my destination (a CMS application)
It sounds as if ThemeFrame is very similiar to Dreamweaver which is a WYSIWYG drag and drop type of object oriented tool. Flynn if you are listening will you please comment.
Alfie
|
|
#10

May 20, 2010, 03:03 PM
|
 |
|
|
1,320 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
|
I hope Flynn does respond too, but as a long-time Dreamweaver and Atahualpa user and recent Themeframe tester, I can add a few thoughts.
Themeframe is a WYSIWYG theme designer, something like Artisteer. It's unlike Dreamweaver, in that it doesn't manage a site's files.
Atahualpa has so much flexibility, you'll probably find it's enough for whatever you want to do, and if you can also work in PHP, so much the better. I use Wordpress and Atahualpa to manage a very busy news site, and the combination of them, with a lot of plugins and widgets, has worked very well as a CMS.
|
|
#11

May 21, 2010, 08:28 AM
|
|
|
|
74 posts · Apr 2010
Long Island NY
|
|
|
paulae
Thanks for your comments. AS I said my expertise is more in C, C++ and Visual basic but I have found that I can navigate around php code. My problem in using Atahualpa is that I can use the ATO but when a problem occurs and i would like to try and modify the php code I am finding difficulty in finding where the ATO inputs have been placed.
Here is a typical example, something you responded to above:
You referred to Atahualpa Options, Style and Edit Header Area which I have used. But you mention the following code.
%image <?php bfa_widget_area('name=top760_ad'); ?> %pages %cats %bar2
Where is this code? In what php file?
I find it difficult to find where Atahualpa has placed code although I have tried reasoning and if that doesn't work searching. However I have found that frequently neither technique works.
Although Atahualpa has been extremely rewarding - when problems occur I often find myself helpless. Whereas in languages like Visual Basic (object oriented systems) I felt more in control.
I suspect that the internals of Wordpress and Atahualpa and how they work together are not spelled out clearly.
|
|
#12

May 21, 2010, 08:42 AM
|
 |
|
|
1,320 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
|
Ah. Well, this is where Atahualpa is so nifty for non-programmers.
That 760_topad is a new widget area. In most themes, you'd have to edit the functions file to add a new widget area. Flynn lets us do it through the ATO interface. If you click on the Add New Widget Areas part of the options, you can read up on how to do it.
I wanted a new widget area between the header image and the menu bars, so I created a new widget area, then populated the new widget with content from a plugin that cycles through several ad banners.
wordpress.org's codex does spell out the PHP stuff if you care to dig in.
|
|
#13

May 21, 2010, 02:01 PM
|
|
|
|
74 posts · Apr 2010
Long Island NY
|
|
|
I appreciate the aid of the ATO interface. Even with a programming background "its nice to have a little help from my friends". However the problem is that I have come across several critical incidents where what i wish to accomplish doesn't exist and I must dig in myself. In order to do this i must understand the wordpress/Atahualpa achitechure to navigate the code. I have noticed that ATO options do not necessarily appear in the php files. Where are they? It can be one other place and that is in the MySQL database files. I've looked but still could not find them. I admit it's a mystery.
Initially i was looking for a system that would minimize the time necessary to create CMS systems. I thought I found this with wordpress and Atahualpa. But it seems that if i don't stand on my own two feet I'll fall flat on my face. When I used a combination of C,C++ and Visual Basic I always seemed to find a solution.
To sum it all up. I'd like to minimize coding and save time with great tools but be prepared to avoid being stumped. Sometimes even friends don't know the answers.
|
|
#14

May 21, 2010, 02:10 PM
|
 |
|
|
1,320 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
|
Are you looking at your dashboard? Under Appearance, find Atahualpa Theme Options.
When you save an option, it's saved in the mySQL database.
|
|
#15

May 24, 2010, 10:27 AM
|
|
|
|
74 posts · Apr 2010
Long Island NY
|
|
|
Our paths seemed to have crossed in another thread "Page and Category menu Bars / scrolling clickable category marquee.
I continued our discussion there.
It appears to me that references in a theme are automatically saved in an options database and then restored when the code refers to it. (Tests it) In standard programming the programmer actually saves the variable and then tests the variable as part of the code.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
|