|
|
#1 |
|
Member
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
I want to put some text on top of this page
http://localhost/68Classifiedsv4/category.php?type=9 I thought it would have been in showlistings.tpl.php But no matter what I put in that it does not show What I want is to put some text above the photo title etc etc so people know that they can click then to sort the fields ALSO In admin under Templates/Page Content You can edit the home page Where is that page stored I have looked in home.tpl.php BUT I cannot see any of the text that is on the home page
__________________
Regards John Useing Developer |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,765
Rep Power: 110 ![]() |
If you login to administration then modify that category it should have a field where you can enter promotional text that will show above the listings on that page.
__________________
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: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
Quote:
You only can put html code by hand. Is there no other way that you can put text in?
__________________
Regards John Useing Developer |
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
You could add it to layout.tpl.php right in the data cell where the body is displayed.....ie
PHP Code:
__________________
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 |
|
|
|
|
|
#5 | |
|
Member
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
Quote:
That put it at the bottom see snap shot All I want to do is put some text on TOP of the cats and format it all
__________________
Regards John Useing Developer |
|
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
Quote:
it should appear above the category box if you placed it above the body variable in the code above. I placed notes in the following code snippet on where it shoudl go. PHP Code:
__________________
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 |
|
|
|
|
|
|
#7 | |
|
Member
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
Quote:
Yes after I had posted the above I went and had a look to see why it went at the bottom. Hmmmmmm yes you are correct I had put it at the bottom ![]() "EVERY PAGE" yes I have found that out when I put it at the top That will be no good at all. Larry how is it the you cannot put things in like this for EACH page you get up? I find it a bit of a pain to have to do all this coding etc just to put a bit of text on one of the pages. I thought that I could just add a table to the top of that page then format it how I wanted it, even inside that table. I'm haveing the same problem with the home page ( the text at the top) I see you can alter this in admin under Templates/Page Content/Modify BUT I do all my html code etc with another program and cannot find where that text is saved. (Is it a template or saved where?) So cannot edit it I use a program called Search And Replace also and that can find anything BUT it does not find the text at the top of the home page for some reason. Now comes the "IF STATMENT" I'm sorry but how would I write that so that it would only show the text that I put in on that page (as snap shot from last post) You might think why I want to put any text on that page. Well I have had about 30 people doing a test on the site to see what they think of the new script. more that half of them picked up the about the SORT on that page and said why do you not put some text above those box's to say that you can sort the fields. Thanks for your time so far.
__________________
Regards John Useing Developer |
|
|
|
|
|
|
#8 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,765
Rep Power: 110 ![]() |
John,
That text is stored in the db. If you use another program to create the html just view source and copy and paste it into this.
__________________
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can I run scripts in an content page? | dawyatt | v3.1 Questions & Support | 11 | 06-22-2007 02:50 PM |
| Renewal E-mails... HTML or Plain Text? | flyingpylon | v3.1 Questions & Support | 2 | 11-01-2006 03:24 PM |
| Problem getting page title | flyingpylon | v3.1 Questions & Support | 5 | 10-19-2006 01:15 PM |
| Editing test on the opening page | spaceboy | v3.1 Questions & Support | 1 | 08-15-2006 07:43 AM |
| Back Button Erases Previous Page Content | garysmith | v3.0 Questions & Support | 0 | 04-13-2006 08:22 AM |