[How to] Delete date area and lang area

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
SaNkA
Posts: 18
Joined: Tue Jan 11, 2005 1:52 pm

[How to] Delete date area and lang area

Post by SaNkA »

Hello Thorsten and all members :)

I use phpMyFAQ only for french support.

1) I would like to remove news's date because I use like a static annonce.

2) I would like to remove [lang] precision. Exemple :
Article name [lang]

Thank you ;)

Best regards,
Thomas.

#Edit : Question 2) solved :wink: ==> here
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

1) Look for the function generateNews() in the file inc/functions.php and remove the folloing line:

Code: Select all

$output .= sprintf('</div><div class="date">%s</div>', makeDate($row->datum));
2) Look for the function printThemes() in the file inc/functions.php and remove the folloing code:

Code: Select all

[".$row->lang."]
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
SaNkA
Posts: 18
Joined: Tue Jan 11, 2005 1:52 pm

Post by SaNkA »

Hi Thorsten ;)
Thorsten wrote: 1) Look for the function generateNews() in the file inc/functions.php and remove the folloing line:

Code: Select all

$output .= sprintf('</div><div class="date">%s</div>', makeDate($row->datum));
I had :

Code: Select all

		    $output .=  "</div><div class="date">".makeDate($row->datum)."</div>\n";


Then, I conserve only that is below and it seems ok :

Code: Select all

$output .=  "</div>\n";
The other question was solved.

Thank's for your reactivity !
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

great!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply