17452 Posts in 4473 Topics by 1971 members
|Go to End|
31 May 2008 at 12:03am Last edited: 3 June 2008 11:43pm
Hi, I am currently working on my first CMS website using SS and at the moment I do not have a great knowledge of PHP.
I am trying to create a new field which I want to use for a specific page type (an article holder) that would allow me to add an image to it just like $Content
31 May 2008 at 8:05am
Use a HTMLEditorField.
Good luck !
3 June 2008 at 11:38pm
Ok that does seem to be what I am looking for but where would i place the snippet of code in my headlinearticlepage.php file, would i need any other code as well and where would that go.
So basically what i am trying to do is create a headline news item which sits at the top of my article holder page with the other stories below. This headline story will sit in its own div with an image to the left and the article headline, sub-header, date and content paragraph to the right of the image. So the other HTMLEditorField that i want to add will be where I insert the image so i can draw from it separately to the $content feild.
Does this sound like a feasible idea/method of approach?
Hope that makes sense : )
4 June 2008 at 12:17am
Sounds like you need to take a thorough look the tutorials. ;-)
Isn't it enough adding a separate imagefield to your holderpage to get the result you want ?
If I understand correctly, you want to create a list of news-items with 1 main (feature)-article on top of that page ?
4 June 2008 at 2:03am Last edited: 4 June 2008 2:04am
Ok, ok, my bad. 2 cut a long story short I skipped the staff tutorials because I worked through them last year but couldn't grasp making a template so left SS until recently, and then i only did the tutorials i thought relevant.
But thanks for the push in the right direction - much appreciated. And yes thats correct.
|Go to Top|