milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
      • Italy2022
      • Côte d'Azur 2024
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home

Set front page to yes by default

Details
Written by: Stanko Milosev
Category: Joomla
Published: 22 October 2009
Last Updated: 26 October 2009
Hits: 5225

If you want front page radio button in backend of submiting articles be always on front page, then in administrator/components/com_content/controller.php instead of:


$lists['frontpage'] = JHTML::_('select.booleanlist', 'frontpage', '', $row->frontpage); 

Write:

if (!$edit) $row->frontpage = 1;
$lists['frontpage'] = JHTML::_('select.booleanlist', 'frontpage', '', $row->frontpage);

Taken from here.

Also, if you want front page radio button in frontend of submiting article be always on front page, then in \components\com_content\views\article\view.html.php instead of:

$article->frontpage = 1;

Write:

$article->frontpage = 0;

Flash

Details
Written by: Stanko Milosev
Category: Joomla
Published: 12 October 2009
Last Updated: 30 November -0001
Hits: 5357

If you have problems embeding flash into your Joomla! site, try to disable Code cleanup:

Extensions->Plugin Manager->Editor - TinyMCE 2.->Code cleanup on save->Always

HTML code cleanup

Details
Written by: Stanko Milosev
Category: Joomla
Published: 24 July 2009
Last Updated: 30 November -0001
Hits: 5262

If you want your HTML code in the articles to keep clean, to keep your Indentation/Tabs/Space Policy (justification), then in plugins find TinyMCE plugin and set Code Cleanup on Save = Never

RSS icon in the FireFox

Details
Written by: Stanko Milosev
Category: Joomla
Published: 23 July 2009
Last Updated: 23 July 2009
Hits: 5209

If your Joomla! site still have RSS icon in FireFox adress bar, and you want to get rid of it, then in your template search for the code:

<link rel="alternate" type="application/rss+xml" 
title="RSS 2.0" href="http://www.harpervance.com/feeds/ranwillisblog.php" />

And comment it. Taken from here.

  1. Display your website name in the HTML title of your Joomla 1.5 page
  2. Images
  3. Root link
  4. File download.

Subcategories

C#

Azure

ASP.NET

JavaScript

Software Development Philosophy

MS SQL

IBM WebSphere MQ

MySQL

Joomla

Delphi

PHP

Windows

Life

Lazarus

Downloads

Android

CSS

Chrome

HTML

Linux

Eclipse

Page 89 of 168

  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93