I have used page--front.tpl.php for creating my front page. In my footer it displays the message No front page content has been created yet. I have used solution specified in  to hide the message  Is there another way to hide the message. Thank you
88854
I only want blocks on the homepage. Because I don't have any nodes, and I want to keep the homepage as /node I am getting a "No front page content has been created yet." message on my page.  How do I get around this?
16939
I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the packages  and scrpage2 (part of the -bundle) - are they interchangeable, or are there situations where I should prefer one package to the other?
5381
Why is  and  blocked from the post content on the main site? I tried to make a sample URL and I had to use  instead.
4437
I have a requirement to show  page message for a particular selected template. The template selection done here. But render is always returning true in this case. Can someone help me here?  &lt;apex:selectList id="chooseTempalte" label="Choose Template" title="Select your Template"        value="{!selectedTemplateId}" size="1" onChange="rerenderEmailFields(this.value)"&gt;    &lt;apex:selectOptions value="{!TemplateOptions}"/&gt; &lt;/apex:selectList&gt;  &lt;apex:outputLabel style="color:red;"  rendered="{!IF(selectedTemplateId='Update Status - Send to ABSM', false, true)}" &gt;     Please note this selected option  will set the status value to Under Review &lt;br/&gt;&lt;br/&gt; &lt;/apex:outputLabel&gt;   Please find the apex controller snippet here.  public List&lt;SelectOption&gt; getTemplateOptions() {         options = new List&lt;SelectOption&gt;();         for (EmailTemplate t : etMap.values()) {             options.add(new SelectOption(t.Id,t.Name));             if((selectedTemplateId == '' || selectedTemplateId == null) &amp;&amp; t.Name == 'Update Status - Send to ABSM')             {                 selectedTemplateId = t.Id;                 ApplyTemplate();             }         }      return options; }
25022
I am using my school's latex . Unfortunately, since this package was last updated, we are now required to add the word 'Page' above the topmost page number on each page of the Table of Contents. This cls file includes the following bit of code, which puts 'Page' at the top of the first page, but not any subsequent pages (see attached)  \newcommand\chapteruaf{ \if@arabic\relax\else\if@chapterone\setcounter{page}{1}\else\relax\fi\fi \@chapteronefalse                     \if@openright\cleardoublepage\else\clearpage\fi                     \thispagestyle{myheadings}%                                                                                                    \global\@topnum\z@                     \@afterindentfalse                     \secdef\@chapter\@schapteruaf} \def\@schapteruaf#1{\if@twocolumn                    \@topnewpage[\@makeschapterheaduaf{#1}]%                                                                                     \else                    \@makeschapterheaduaf{#1}%                                                                                                     \@afterheading                  \fi} \def\@makeschapterheaduaf#1{%                                                                                                    {\parindent \z@ \centering     \reset@font     \normalsize \bfseries  #1\par                                                                                                  \vspace{-18.3pt}\hspace{143mm} Page                                                                                            \nobreak   }}   First page of the TOC:   second page of the TOC:   Any thoughts here? I have played with this a bit, and can't get it to work. Thanks.
122761
I need to create only one tpl.php file for all taxonomy terms in my website. I know taxonomy_term_page.tpl.php will do the required function in Drupal6.  For drupal 7 I had override the taxonomy-term.tpl.php. I see all the nodes associated to a term, is displayed at the last.  How can I hide those nodes?
4969
I'm really confused with index.php, home.php and front-page.php. In many cases even though I had an index.php, I overwrite it with front-page.php. But recently, I became aware about home.php.   What's the difference between the home.php and index.php? What's the ideal condition to use a home.php than an index.php? What's the ideal condition to use a front-page.php? When I'm using a front-page.php then what specific task an index.php is doing for me then?   I've read the  in Codex. Please don't mix my question with Page Templates, I understand 'em, alHamduLILLAH.
15249
I just asked a question on Stack Overflow. Often I notice my questions coming through on the front-page, but this one isn't there, even after I gave it some time. Why is this?
86245
On first page of Table of Contents there is no header and footer, but on the second page there are a header and a footer.  My question: I don't need any numbering and header/footer on table of content. How can I have the entire table of contents (not only its first page) appear with no header or footer, and have them start at Chapter 1?  \documentclass[tikz,table,twoside,12pt,a4paper]{report} \usepackage{PTSansNarrow} \usepackage[T1]{fontenc} \usepackage{array,tabularx} \usepackage[most]{tcolorbox} \usepackage{xcolor} \usepackage{enumerate} \usepackage{graphicx} \usepackage[ruled, vlined, linesnumbered]{algorithm2e} \usepackage{censor} \censorruledepth=-.2ex \censorruleheight=.1ex \usepackage{setspace} \usepackage{subfigure} \usepackage{subfig} \usepackage[top=3.5cm, bottom=3.5cm, left=3.5cm, right=2.75cm]{geometry} \usepackage{fancyhdr} \usepackage{url} \usepackage{fancyvrb} \usepackage{color} \textwidth14cm \definecolor{darkblue}{rgb}{0.1,0.3,0.5}  \DefineVerbatimEnvironment% {MyVerbatim}{Verbatim} {gobble=0,label=\hspace{.85\textwidth},labelposition=all}  \usepackage[Lenny]{fncychap}%Sonny, Lenny, Glenn, Conny, Rejne, Bjornstrup and Bjarne \usepackage{cite} \usepackage{rotfloat} \usepackage{subfloat} \usepackage[titletoc]{appendix} % load package with ``framed'' and ``numbered'' option. \usepackage[numbered,autolinebreaks,useliterate]{mcode} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{} \fancyhead[R]{\nouppercase{\leftmark}} \fancyfoot[C]{\thepage}  \renewcommand{\headrulewidth}{2pt} \renewcommand{\footrulewidth}{1pt}   \begin{document}  \pagenumbering{gobble}% Remove page numbers (and reset to 1) \clearpage \title{\textbf{THESIS NAME}\\ \begin{figure}[ht] \centering \includegraphics[width=0.5\textwidth]{logo.eps} \end{figure} }  \date{} \author{\textbf{SUBMITTED BY:}\\\textbf{STUDENT NAME} \vspace{5mm} \\ \textbf{Supervised By}\\ \textbf{NAME}\quad \vspace{10mm} \\ \textbf{DEPARTMENT OF COMPUTER SCIENCE} \\\textbf{NAME OF UNIVERSITY}        \\\textbf{Session:2012-2013} } \maketitle  \null \vfill \null \vfill \onehalfspacing \newpage \pagenumbering{roman} \chapter* {PROJECT APPROVAL} SAKASLJFSAJFKSAJFJEIJ S\KJ\\\\ \newline COMMITTEE\\\\ \newline \begin{flushleft} External Examiner: \line(1,0){250} \end{flushleft} \begin{flushleft} Comments: \line(1,0){250} \end{flushleft} \begin{flushleft} Internal Examiner: \line(1,0){250} \end{flushleft} \begin{flushleft}  Comments: \line(1,0){250} \end{flushleft} \begin{flushleft}  Chairman: \line(1,0){250}  \end{flushleft}  \begin{flushleft}  Comments: \line(1,0){250}  \end{flushleft}  \chapter* {DEDICATION}  KSAHDSAFH ASK JFASKJF  \chapter* {ABSTRACT}  XCLSCSAJFSAFOSAFISADKFLASKFL;ASKSAKFLKSALKFS  \chapter* {ACKNOWLEDGEMENT} LSAFLDSFJ SDAFJIASFAS JFSJAF SFSFAUI DSAF \chapter* {AUTHOR'S DECLARATION} ABC \newline Signature of Authors\\ \newline ABC: \xblackout{forty       two}\\ \newline ABC: \xblackout{forty     two}\\ \newline Date: \xblackout{forty     two}\\    \newpage \pagenumbering{gobble}% Remove page numbers (and reset to 1) \clearpage \tableofcontents  \pagenumbering{arabic} \input{ch1} \input{ch2} \input{ch3} \input{ch4} \input{ch5} \input{ch6} \input{ch7} \input{ch8}   \addcontentsline{toc}{section}{\textbf{Bibliography}} \bibliographystyle{plain} \bibliography{bibk}   \end{document}
24716
I have some designer that moved slightly a text-frame and in order to be managed again by the master page we need to remove the page and create a new one inserting the content in it.  Is there any different way to do it?  I would like to be able to restore the "power" of positioning/size to the master page because now we need to change the master-page to position the text-frame a little bit to the right and in the case above mentioned will not be updated.  Thanks
18676
I just edited an answer on Unix&amp;Linux and when scrolling down, the semi-transparent right sidebar boxes "How to edit" and "How to format" kept their fixed positioning and overlapped with the page footer.     While posting this, I have seen several (not) duplicate questions about this issue, and although from my personal taste, I would prefer the boxes to stop scrolling before the footer is reached, I can accept the development teams decision to let it overlap.   However, on all those other posts, the boxes had an opaque background, so that the footer was hidden and the box content was readable. Here the boxes are transparent though, so the texts get mixed and are no longer well readable.
55982
I have seen such a beautiful preamble (got the PDF from on of my studentfriends and need help to create such a beautiful titlepage. The black bands are to make the picture anonymous, to hide the identity of my friend.  But I just need such a beautiful titlepage for my instructors. No one of us has the preamble anymore :(  Kind regards  and thank you very much in advance.  Is it allowed to ask such a question in this forum?
41016
When using fancyhdr, how do you remove the top horizontal rule?  I do not want a header at all, just a footer.  This is what I do now:  \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy}  \lfoot{text} \cfoot{text 2} \rfoot{text 3}  \begin{document} Foo Bar \end{document}
49157
Before we launched our website, we had set up a "coming soon" page and google picked up the title and description from its contents. So the description in the search results said:     Coming soon! Visit example.org for updates.   It's been a few weeks since we launched our website. We've even created a sitemap and submitted it to Google. In Google Search Console, the pages have been crawled and all the pages are appearing as expected on Google, EXCEPT the homepage which is still not updated! The title and description of the homepage in google search results still says "coming soon.".***  I checked on bing too, but it appears to be fine there.  All other pages seem to be indexed fine on Google. I don't even have any crawl errors in my reports. So what seems to be the problem? I've already waited for 2 weeks.
122510
I have found a  very similar to this, which I thought would solve my problem.   However, after changing my .htaccess file, with index.php on the end of the list, and then index.php as the only entry, I still cannot get index.php to display.  Every other page works fine, but I don't know how to fix this.  Thanks.
28660
Is there a decent way with static HTML/XHTML to create common header/footer files to be displayed on each page of a site? I know you can obviously do this with PHP or server side directives, but is there any way of doing this with absolutely no dependencies on the server stitching everything together for you?  Edit: All very good answers and was what I expected.  HTML is static, period.  No real way to change that without something running server side or client side.  I've found that Server Side Includes seem to be my best option as they are very simple and don't require scripting.
69215
I'm looking for an imprint/logo/whatever to use in order to link to online profiles in a site I'm working on.  I noticed that  has a  with a white background while the   doesn't.  Would it be too much to ask to have a page devoted to imprints (in various forms, PNG, vector, etc) or at least strip the background off of the others?