Hello all, I’m back. Actually have been here ...just silent, lurking, busy.
Tonight I have to build a mostly-blog. Mostly...because it doesn’t really have to be a blog, it just has to have tagging, rss, and categories and archives. And it has to be able to post pictures. And the summary field doesn’t do that without mods. hm....and I need to be able to post video too. What would be great is a "youTube" button like I added to my SMF forum fields, but I dunno if such a creature exists. I’ll look.
so yeah, pogwatch to the rescue, but you know what? I tried using pubKit and got my head turned around backwards. It didn’t work and was painful and I uninstalled it. So I’m going at this again in order to ...ahem..... understand the concepts rather than just cutting and pasting code....and we’ll see if that works better? yeah.
and I do that best by talking to myself, so here goes. As before if you want to chime in, you’re welcome to.
here’s what I’m working on:
http://www.redtoadmedia.net/tylerSITE/build2/
and the news chunk goes on the home page.
as usual I made myself a static/nonmodx version while designing and then added that to the template when ready and that is here, this way you can see what it is supposed to look like:
http://redtoadmedia.net/tylerSITE/build/
using 0.9.6.3 and before you start deluging me with head thumps and telling me to upgrade, please remember I am a Luddite and timid and struggle enough as is learning this stuff and cannot wrap my head around the black UI and changes yet. But I am trying to ...just can’t on this project. Yet. If I get this working quickly and simply then I will try to upgrade it. I actually built this site months ago and this is a redesign and so I have take it one step at a time. (But in my forays into version 1.x I can’t find QuickEdit?????? Um? and that is an issue.)
anyhow, I have Ditto 2.1
and as far as what I’m reading:
http://www.pogwatch.com/pkBlog/724.html
http://www.pogwatch.com/ditto.html
http://ditto.modxcms.com/files/snippet-ditto-php.html
and then
Ditto for Dummies, which is attached to this post. It is actually for Ditto 2.01 I think ...but I like it.
Here is my initial response to all of the stuff I am reading.
My head just might explode. Really.
so. I’m going to take this one step at a time. Elephant, meet fork.
First step:
Made a document called News.
Made child documents for testing called news items one two and three.
okay. so I have this static code/style for the news story. I will make that a chunk and then replace it with my modx codes as needed in a bit:
<div id="newsfeed"> <span class="newsroom">FROM THE NEWSROOM</span><br />
<p class="author">Date 12 pt Arial</p>
<p class="author">Author 12 pt Arial posted by <a href="#">redtoad</a> </p>
<br />
<span class="style2">Duis quis nisi purus. Lorem ipsum dolor sit
amet, consectetur adipiscing elit. Aenean ac gravida ante. In commodo
pharetra imperdiet. Integer quis arcu quis arcu lobortis laoreet.
Fusce egestas suscipit urna. Aenean sem erat, congue nec blandit
non, egestas at justo. Aenean adipiscing ipsum sed ante posuere
accumsan. Suspendisse ac dolor sit amet tellus convallis consectetur
eu at quam. Maecenas volutpat ante vel quam placerat eleifend.
Nulla turpis nulla, ultrices at bibendum vel, ullamcorper sit
amet purus. Mauris pretium facilisis arcu quis aliquam. Vivamus
porttitor ante ut turpis molestie ac porta sapien pulvinar. Phasellus
eu sapien nulla. Nullam dictum molestie justo, id pretium sapien
bibendum quis. </span><a href="#" class="readmore">
READ MORE
</a>
</div>
I need to have a title, photo (if I use TV’s for the photo?), date, author, summary, body, a read more link and categories (tags). I have to be able to tell it that this should be published to a newsfeed on the home page as well as published to the "news" page. I need to be able to put one article in different categories (I saw a forum post on this and my eyes glazed over while reading it, mostly because I’m really tired...but hopefully I’ll get into doing and light will break). I need archives. ...so dates are important.
we don’t want comments, so that is one simplification. I do want to add a "tweet this " and "digg" and all those other goodies to the posts. I don’t really have to have a separate login/usergroup/blog UI to make the posts with but I can if I feel froggy.
okay, so now I’m going to decipher the Ditto Call so I under stand it and then place it in my News page and then replace my code above with the appropriate little modx tags so it can be used as a post template.
off to try it.
this really does help me think, to write this out like this.