<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm using node.tpl.php to rewrite the content like this:<br>
<div><br>
<h2><?php print $title ?></h2><br>
<div class="content"><?php print $content ?></div><br>
</div><br>
<br>
So that I don't have the header link bc i don't want the content to
show anywhere other than the home page. Thanks everyone for giving me
several different options to try. At the moment, for my needs it seems
like the best option to get what i need would be to change node.tpl.php
so that it links the title like normal if you're an admin. Furthermore
I should probably only retheme stories until i get a better handle on
the different options.<br>
<br>
<br>
Metzler, David wrote:
<blockquote
cite="mid:25C3492D5925964585F542C770231C120262BDD7@oak.evergreen.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2180" name="GENERATOR">
<div dir="ltr" align="left"><span class="078150715-21082007"><font
color="#0000ff" face="Arial" size="2">Last I checked, node Title was a
required field, and by default, the node title on a home page displays
with a link to that piece of content. So how are you suppressing them
for the two paragraphs. Are you using panels? Are you supressing the </font></span><span
class="078150715-21082007"><font color="#0000ff" face="Arial" size="2">the
titles via custom tpl's for specific node types (e.g. story.tpl)? Are
these blocks with custom text? Have you customized node.tpl, story.tpl
or another .tpl file to remove titles? </font></span></div>
<div dir="ltr" align="left"><span class="078150715-21082007"></span> </div>
<div dir="ltr" align="left"><span class="078150715-21082007"><font
color="#0000ff" face="Arial" size="2">As one person has suggested,
adding the edit link at the theming layer with tests on which "role" a
user is in, is one way to add specific links to editing a node on the
page. Could you include more info about how your paragraphs are
constructed? </font></span></div>
<div dir="ltr" align="left"><span class="078150715-21082007"><font
color="#0000ff" face="Arial" size="2"><br>
Dave</font></span></div>
<div dir="ltr" align="left"><span class="078150715-21082007"></span> </div>
<div dir="ltr" align="left"><span class="078150715-21082007"></span> </div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [<a class="moz-txt-link-freetext" href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>] <b>On
Behalf Of </b>sander-martijn<br>
<b>Sent:</b> Monday, August 20, 2007 4:07 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:support@drupal.org">support@drupal.org</a><br>
<b>Subject:</b> Re: [support] Change home page from story to page?<br>
</font><br>
</div>
Yes I do. And the edit/revisions tabs appear on the other pages. (that
was a good question though - my first try at a template didn't include
tabs and i was missing all kinds of things)<br>
<br>
Sarah Adams wrote:
<blockquote cite="mid:46CA1457.4080208@geekjock.ca" type="cite">
<pre wrap="">Do you have $tabs included in the home page template?
sander-martijn wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Well not every home page on the internet is a teaser list. This
particualar one has a random image (thanks for your help on that btw I
got it working), two paragraphs of text that are only on that page, a
specialized search (custom module) and 3 news items. The news items
will just be headers that link. However the two paragraphs don't link
off anywhere, so you can't see them anywhere except the homepage.
Therefore to edit them you need to go to the content management part
of the admin and find the story and edit it. I was just wondering if
there was an easier way to have the editors manage the home page content.
Metzler, David wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Doen't quite make sense. The home page is normally a "teaser list" of
nodes. If you click on the node that you want to edit, whether it's the
top sticky one or another, you should be able to edit that node,
(provided you have permissions of course).
Not sure what you mean by "go looking for it", so am a little confused
as to whether I'm answering your question.
Dave
-----Original Message-----
From: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>] On
Behalf Of sander-martijn
Sent: Monday, August 20, 2007 1:32 PM
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:support@drupal.org">support@drupal.org</a>
Subject: [support] Change home page from story to page?
When I first set up my site, I added a story to the home page which now
appears there but isn't editable from the home page. Can this be
changed? I do want the home page to have other elements such as news
stories that have been promoted to the home page, so maybe this is the
only or best way to do it. but i think the best case would be for an
editor to be able to edit the main home page content from there rather
than to have to go looking for it.
--
[ Drupal support list | <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]
</pre>
</blockquote>
<pre wrap="">--
------------------------------------------------------------------------
sander-martijn <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sander@sander-martijn.com"><mailto:sander@sander-martijn.com></a>
interface developer | architect
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sander@sander-martijn.com">sander@sander-martijn.com</a> <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sander@sander-martijn.com"><mailto:sander@sander-martijn.com></a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.sander-martijn.com">www.sander-martijn.com</a> <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.sander-martijn.com"><http://www.sander-martijn.com></a>
------------------------------------------------------------------------
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="font-weight: normal; font-size: 10px; text-transform: lowercase; color: rgb(51, 51, 51); font-style: normal; font-family: verdana,arial,helvetica,sans-serif; text-align: center;"><a
moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
href="mailto:sander@sander-martijn.com">sander-martijn</a><br>
interface developer | architect<br>
<a moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
href="mailto:sander@sander-martijn.com">sander@sander-martijn.com</a><br>
<a moz-do-not-send="true"
style="color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif; text-decoration: none;"
href="http://www.sander-martijn.com">www.sander-martijn.com</a> </p>
<hr align="center" noshade="noshade" size="1" width="100%">
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>