Support Forums

sitetitle in viewlisting and showisting

This is a discussion on sitetitle in viewlisting and showisting within the TemplateCodes forums, part of the Third Party Support category; Because Arabic is read from right to left google the archive in Arabic 1- I want to change where the ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 04-14-2011, 09:00 PM   #1
Customer
 
Join Date: Dec 2010
Posts: 13
Rep Power: 3
kuniv is on a distinguished road
Default sitetitle in viewlisting and showisting

Because Arabic is read from right to left
google the archive in Arabic

1- I want to change where the sitetitle comes after the category in showlisting to appear higher in search engine rankings

2- and change where the sitetitle comes after the title in viewlisting

same
car BMW change to BMW car
kuniv is offline   Reply With Quote
Old 04-14-2011, 09:44 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,310
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Can you just add that in the template in the html element <element dir="rtl">.

I've not done this, but it is written in the html standards.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
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-20-2011, 11:15 AM   #3
Customer
 
Join Date: Dec 2010
Posts: 13
Rep Power: 3
kuniv is on a distinguished road
Default

hi this not work

how change sitetitle � title to title � sitetitle
kuniv is offline   Reply With Quote
Old 04-20-2011, 12:39 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,330
Rep Power: 83
seymourjames is a jewel in the rough
Default

This core 68C setting for the site title. You need to look in the core files. Its not in TC although one solution is to put a test in layout.tpl and assign a new site title. There are several forum posts about SEO on the forum and how to test for specific types of pages..
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 04-20-2011, 06:07 PM   #5
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,145
Rep Power: 68
John Snyder is a jewel in the rough
Default

This depends on exactly what page you are talking about. If you are talking about category.php you can edit the template and the category.php to reverse the order of categories:

templates/default/categories/breadcrumb.tpl

HTML Code:
{foreach from=$breadcrumb item="entry"}
        {$entry} {$smarty.const.LANG_CAT_SEPERATOR}
    {/foreach}
    <a href="category.php" class="breadcrumb">{$smarty.const.LANG_BROWSE_CATEGORIES}</a>
category.php line: 47

PHP Code:
$class_tpl->assign('breadcrumb'array_reverse($Categories->breadcrumb($cat['id'], 0))); 
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket

Last edited by John Snyder; 04-20-2011 at 06:15 PM.
John Snyder is offline   Reply With Quote
Old 04-21-2011, 02:45 AM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,330
Rep Power: 83
seymourjames is a jewel in the rough
Default

Do you want to change the bread crumb or the page title? Two different things. The first is unlikely to have any impact on search engines whereas the latter may have some minor benefit. The latter requires you to either change the core file where the page title is assigned or you need to test for it in the layout.tpl file and reassign it.

With Templatecodes (I think you are using that if memory serves me correctly?), something like this can be placed in the head. You can also effectively do this with the default template too although the test is a little different.


if $script_name == "category.php"}
{if empty($breadcrumb)}
{assign var=seo_title value="main category page title"}
{assign var=seo_desc value="main category page description"}
{assign var=seo_key value="keyword1, keyword2, keyword3"}

{else}

{foreach name=outer item=contact from=$breadcrumb}
{foreach item=item from=$contact}
{assign var=category value=$item|strip_tags}
{/foreach}
{/foreach}

{if $pageNum == 1}
{assign var=seo_title value=$category}
{assign var=seo_desc value=$sitedescription}
{assign var=seo_key value=$sitekeywords}
{else}

{assign var=seo_title value="$category $pageNum"}
{assign var=seo_desc value="$sitedescription : $pageNum"}
{assign var=seo_key value=$sitekeywords}
{/if}

{/if}

This will actually drop the whole breadcrumb from appearing in the page title and it will just put the category name which is probably best from an SEO perspective because completely unique page titles are considered by many as better. Likewise you can do something similar for viewlistings. Take a look here at one of the sites and tell me that this is what you are seeking to do with categories and viewlistings. Better than trying to explain everything in detail - my current projects
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 04-21-2011 at 02:53 AM.
seymourjames is offline   Reply With Quote
Old 05-16-2011, 11:36 AM   #7
Customer
 
Join Date: Dec 2010
Posts: 13
Rep Power: 3
kuniv is on a distinguished road
Default

i cant

:::::::
kuniv is offline   Reply With Quote
Old 05-16-2011, 01:58 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,330
Rep Power: 83
seymourjames is a jewel in the rough
Default

What can't you do? You need to be clear about what you are actually trying to do. Change the order of words in the breadcrumb which you see on the page or in the page title (what you see on top of the browser).

There are developers familiar with 68C that you could contact for paid work.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 06-29-2011, 08:34 AM   #9
Customer
 
Join Date: Dec 2010
Posts: 13
Rep Power: 3
kuniv is on a distinguished road
Default

thanks seymourjames
kuniv is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
variables name and sitetitle in email subjects frommarcq Modules / Plugins / Modifications 5 12-04-2008 03:09 PM


All times are GMT -4. The time now is 10:57 PM.


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