Page 1 of 1
Disable title on detail entry page
Posted: Sat Apr 16, 2005 4:48 am
by YaKnowGuy
Hi all,
Love v.08. Ta muchly!
When you view an entry ie click on the "continue reading" link, text shows in the header. I dont want this to appear. How can I disble it. Is it in the Style.css file? I think it is but im not sure what I have to do. Im quite handy with html but not as good with css. FYI im using the MT3-Independence theme.
Thanks,
Greg
Re: Disable title on detail entry page
Posted: Sat Apr 16, 2005 11:15 am
by garvinhicking
You mean that link:
Continue Reading "My Title"...
right?
You cannot disable this via CSS; you must edit the templates' entries.tpl file and modify the Smarty Template code there. Since you are using a MT-X file, just copy the templates/default/entries.tpl to that directory folder and edit it. Replace
Code: Select all
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
with this:
Code: Select all
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY}</a><br /><br />
This would still leave the "" intact. If you also want to remove those, you'd need to replace the code with:
Code: Select all
<br /><a href="{$entry.link}#extended">Continue Reading</a><br /><br />
to a hardcoded string.
Also look at our Styling/Theming documentation on
www.s9y.org - there is described how you can easily create your own template so that changes that you make do not get overwritten when upgrading.
Regards,
Garvin
Not quite
Posted: Sat Apr 16, 2005 12:01 pm
by YaKnowGuy
Hey Garvin,
I dont want that link removed at all..phew!
When you view a full entry, in the page header, the title of the entry appears in text. Its that text i dont want to appear.
In the following link, note the white text in the top banner. Thats the stuff thats got to go.
http://www.sharedmemories.info/blog/ind ... l#extended
Thanks mate for your time,
Greg
Re: Not quite
Posted: Sat Apr 16, 2005 12:24 pm
by garvinhicking
For that you will also need to edit your entries.tpl or your index.tpl
Just look at the files, there are just variables shown, it should be easy to figure it out. If you don't, report back next week and I'll take a closer look.
Regards,
Garvin
Solution!
Posted: Sun Apr 17, 2005 12:13 am
by YaKnowGuy
Thanks Garvin,
I just removed the H1 and H2 lines and bingo. Yes you are right its quite obvious once you know where to look. Hey I'm learning all the time.
Thanks again,
Greg