Date in headline instead of day and date line

Phoca Guestbook - creating guestbooks in Joomla! CMS
Akkarin
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 30 Oct 2011, 19:03

Date in headline instead of day and date line

Post by Akkarin »

Hello

With the default template the date is postet in a day and date line at the end of the post. I would prefer to see the day and date at the right end of the headline of the post. Is there a way to change that position?
I had a look to the documentation and to the forum but could not find a solution for that.

Akkarin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Date in headline instead of day and date line

Post by Jan »

Hi, then you need to customize the template of Phoca Guestbook - this you can find here:

components/com_phocaguestbook/views/guestbook/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
Akkarin
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 30 Oct 2011, 19:03

Re: Date in headline instead of day and date line

Post by Akkarin »

With some searching I had the same idea but I do not know how to program with PHP and so I did not get a solution.
I was able to change the font size of the email adress and the homepage adress (I find the original size ugly) but I could not change the code to get the date to the right side of the headline.

Is that an idea for a new version of the guestbook? The user should be able to change the position of this objects (date, email adress, homepage adress). :)

Akkarin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Date in headline instead of day and date line

Post by Jan »

Hi, there is a problem with parameters count, it is not unlimited :-( ... so not every part which can be set in CSS, can be added to parameters :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply