Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4.1 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 04-06-2009, 07:28 AM   #1
Junior Member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 1
Kyan is on a distinguished road
Default Home Page Title

Hello,

When a new page is created within the admin section the title field used appears on the website. However, this is not the case for the Home page. What do I have to do to get the title for the Home page to appear? For various reasons I do not use the home.tpl page so I need the title to appear in the home page used within the admin alone. I'm currently using my home page as a How It Works page and would really like this title to appear within a bar displayed just above the body as I have for all other pages created within the admin.
__________________
Thanks,

v4.1.2 - Developer
Kyan is offline   Reply With Quote
Old 04-06-2009, 08:00 AM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,356
Rep Power: 41
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Well, I'm not sure exactly how you are doing what you say, but the pages title for pages created with the admin simply use a header 1 XHTML element <h1>page title</h1>.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-06-2009, 11:05 AM   #3
Junior Member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 1
Kyan is on a distinguished road
Default

My page title tag is located within my layout.tpl just above the body like this:

Code:
{if $title}{$title}{else}Site Title{/if}
Just above:

[code]{include file=$body}
__________________
Thanks,

v4.1.2 - Developer
Kyan is offline   Reply With Quote
Old 04-06-2009, 11:07 AM   #4
Junior Member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 1
Kyan is on a distinguished road
Default

Sorry the last part of my last post was cut off, below is the continuation:

If I were to use a use a header 1 XHTML element <h1>page title</h1> in the admins home page I would basically have two page titles, one within my home page and the other within my layout.tpl. The title tag works for all pages created within the admin's Page Editor except �Home�, how do I enable the home page title tag?
__________________
Thanks,

v4.1.2 - Developer
Kyan is offline   Reply With Quote
Old 04-06-2009, 01:10 PM   #5
Moderator
 
 
Join Date: Mar 2008
Posts: 813
Rep Power: 22
seymourjames has a spectacular aura about
Default

I am a little confused what you are asking but in your admin control panel, you have main settings and you can define the site title. In the default situation (you have not modified anything), this should come up on your home page.
__________________
TemplateCodes.com
seymourjames is offline   Reply With Quote
Old 04-06-2009, 01:17 PM   #6
Moderator
 
 
Join Date: Mar 2006
Posts: 4,166
Rep Power: 102
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by seymourjames View Post
I am a little confused what you are asking but in your admin control panel, you have main settings and you can define the site title. In the default situation (you have not modified anything), this should come up on your home page.
I think what he is saying is that he is not using the default home page but instead using an admin created "extra page" and he wants the site title from the home page to show when viewing his new admin created extra page which is replacing his home page.

If thats the case I am confused as to why the home page template isnt just modified to remove whats not desired (ie categories etc).
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-06-2009, 01:49 PM   #7
Junior Member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 1
Kyan is on a distinguished road
Default

Within admin, then Settings/Page Editor there are 4 default pages. The first default page is �Home� with ID #1. Then there's �Terms & Conditions� with ID #2, then �About� at ID #3 and �Contact� at #4. The latter 3 pages display a Title according to what is entered within the �Page Name� field of the Page Editor and displays the page name by way of $title. Any new page I create within the Page Editor also displays the Page Name by way of $title. �Home� or ID #1 does not, it has been disabled as most people do not need to have the words �Home� displayed on their home page. I however would like for whatever I type in the �Page Name� field of page ID #1 to display by way of $title just like all the other pages.
__________________
Thanks,

v4.1.2 - Developer
Kyan is offline   Reply With Quote
Old 04-06-2009, 01:54 PM   #8
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,810
Rep Power: 111
Eric Barnes is a jewel in the rough
Default

When editing that page couldn't you just add it in the description field:
Code:
<h1>My Home Page Title</h1>
<p>the rest of the page text.</p>
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 04-06-2009, 02:19 PM   #9
Junior Member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 1
Kyan is on a distinguished road
Default

No because I use $title in my layout.tpl. I have a border around my content with a top bar displaying $title. If I add it to the description I will have two titles. One will be the default $title, displayed within my layout.tpl which I have set to display the site title if no page titles are assigned (which seems to be the case with page ID #1) and the second (if put in the description) will display within the content, just below $title. For page ID #1 no title displays when using $title. I would like it to.
__________________
Thanks,

v4.1.2 - Developer
Kyan is offline   Reply With Quote
Old 04-06-2009, 02:28 PM   #10
Moderator
 
 
Join Date: Mar 2006
Posts: 4,166
Rep Power: 102
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Kyan View Post
For page ID #1 no title displays when using $title. I would like it to.
I have to apologize if I am still not following you BUT If $title doesnt display when when using page ID1, how about adding logic to layout.tpl to check to see if its empty and if so use a hard coded value...

{if $title ==""}
then display this text
{/if}
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Page Problem 2 go3matix v4 Questions & Support 3 02-03-2009 12:26 AM
placing a video on my about us page or the home page?? apotrader v4 Questions & Support 4 11-04-2008 10:11 PM
Ad Title as Page Title sbhkma v3.1 Questions & Support 2 11-19-2007 08:38 AM
Different Template for home page RyanG HTML, CSS, and Design Help 11 01-18-2007 10:46 AM


All times are GMT -4. The time now is 05:47 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0