|
|
#1 |
|
Member
Join Date: Apr 2006
Location: Rome, Italy
Posts: 45
Rep Power: 13 ![]() |
V 3.015
Before the 68C server crashed, someone (maybe Lhotch) indicated me how to change the tag title structure in the sub-category pages to put "site name" at the end of the title; e.g. Rome � Apartments � Site Name To do so, I put this code in the category.php file, line 96: $site_title=$title; $title=""; foreach ($titlebread as $key => $value) { $title.=$value .' '. LANG_CAT_SEPERATOR .' '; } $title.=$site_title; $cols=$subCategoryCols; $body='categories/subcategories.tpl.php'; I would like to do the same thing in the title of the listing page; now the title structure is: Site Name : Title of the Listing I would like to change so: Title of the Listing : Site Name Someone can help me to do this change?
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,763
Rep Power: 110 ![]() |
That would be line 52 of viewlisting.php
Change: $title= safeStripSlashes($title ." : ". $rs['title']); To: $title= safeStripSlashes($rs['title'] ." : ". $title);
__________________
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 |
|
|
|
|
#3 |
|
Member
Join Date: Apr 2006
Location: Rome, Italy
Posts: 45
Rep Power: 13 ![]() |
Hi suzkaw,
Yes! It works well, thank you very much for your help! Now, I've modified tag Title structure in sub-categories and in lisiting pages. It remains unchanged the Title in the main-categories; e.g.: Site Name � Rome So, now, I've this situation (e.g.): Site Name (index) Site Name � Rome (main-categories) Rome � Apartments � Site Name (sub-categories) Listing Title � Site Name (listing pages) Is it possible to change the Title structure in the main-categories too? e.g.: Rome � Site Name Thanks, regards. |
|
|
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,763
Rep Power: 110 ![]() |
On line 140 of category.php it should have:
PHP Code:
PHP Code:
__________________
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 |
|
|
|
|
#5 |
|
Member
Join Date: Apr 2006
Location: Rome, Italy
Posts: 45
Rep Power: 13 ![]() |
I've modified line 140,
the structure is changed how I like, but there is a problem about the spaces; now, the title is: � RomeItaly Classifieds ...I would like that it is: Rome � Italy Classifieds Is it possible to do this change? |
|
|
|
|
#6 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,763
Rep Power: 110 ![]() |
Try this:
PHP Code:
__________________
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 |
|
|
|
|
#7 |
|
Member
Join Date: Apr 2006
Location: Rome, Italy
Posts: 45
Rep Power: 13 ![]() |
OK, I've solved the problem so:
I've added $title.=$value .' '. LANG_CAT_SEPERATOR .' '; and not $title.=' '. LANG_CAT_SEPERATOR .' '. $value; Ciao
|
|
|
|
|
#8 |
|
Member
Join Date: Apr 2006
Location: Rome, Italy
Posts: 45
Rep Power: 13 ![]() |
Yes, we have posted in the same time
|
|
|
|
|
#9 |
|
Member
Join Date: Apr 2006
Posts: 84
Rep Power: 14 ![]() |
What can I change the title of listing?
example: title category: title listing Thanks |
|
|
|
|
#10 |
|
Vegas Used Cars Online
Join Date: Jan 2007
Posts: 22
Rep Power: 10 ![]() |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User Store HTML Title | CB | v3.1 Questions & Support | 1 | 01-10-2007 09:42 AM |
| Last question... I hope | Jake | Pre Sales Questions | 5 | 10-31-2006 11:05 AM |
| Problem getting page title | flyingpylon | v3.1 Questions & Support | 5 | 10-19-2006 01:15 PM |
| Want to change "Featured Listing" title | dawyatt | v3.1 Questions & Support | 2 | 09-18-2006 10:07 AM |
| Adding a (sub)category picture and title | jamesbond | v3.1 Questions & Support | 4 | 08-11-2006 07:45 AM |