Page 1 of 1

Changing post structure while being embedded.

Posted: Sat Jul 26, 2008 10:59 am
by iori
Hello again.

I have Serendipity currently embedded on the main page of a site I am working on (mostly for fun, and something for a friend of mine). What we want is a page that he can regularly (easily) update while having no knowledge of website coding, I am traveling Asia and cannot be on call for him.


Sorry for those that read my earlier post, I answered most of my own question, in regards to the layout of a post anyways. I am still curious about disabling the title and author links and just having them as standard text. And if I can edit the .css file for a specific template?

Cheers
Scott

Re: Changing post structure while being embedded.

Posted: Sat Jul 26, 2008 8:32 pm
by garvinhicking
Hi!

You can disable quite all the links inside your index.tpl or entries.tpl template file. If you tell me which links you want to disable exactly, and what your URL is, I can be more specific.

The CSS file can be edited inside the "style.css" file of your selected template directory.

Regards,
Garvin

Posted: Sun Jul 27, 2008 6:16 am
by iori
Hello,

Thanks again Garvin, at the moment I am hosting the site locally on my mac. So I go to http://localhost:8888/ . Serendipity is embedded on http://localhost:8888/news/news.php.

I am using the competition entry (coffee cup) by David Cummins right now. The links I wish to disable would be any that link back to and open a window to the raw Serendipity posts (unembedded), the stuff in the archive directory by the looks of it.

Does that help?

Cheers

Posted: Sun Jul 27, 2008 10:43 pm
by garvinhicking
Hi!

You can check the entries.tpl template file and there look out for <a href>s that point to {$entry.link} - you can remove those <a> tags to remove the links to single entries.

HTH,
Garvin

Posted: Mon Jul 28, 2008 3:28 pm
by iori
Thank you once again Garvin, I now know (sort of) what I am doing. I am sure if I loose my way again you will hear from me.

Keep up the great work.
Cheers
Scott