68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modifications
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult.

 
Thread Tools Display Modes
  #1  
Old Yesterday, 08:50 PM
Sandy68Classi Sandy68Classi is offline
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 2
Default Changing the name of a field and changing page backgound

First, I want to say that I like this info/questions input area that looks like a real email editor/sender. I wish I had one of these on my site in the listings pages. Would this be possible?

1) I just bought 68 Classifieds "Developer" because I was led to believe that I can do more with it as-far-as changes are concerned. I already own Designer and I see no change in the Developer's Administration area. I can't do anything different or extra in Developer.
  • I can't change FIELD names.
  • I can't find info on changing the background of any page to use a picture instead of a color.

2) Version 3.10 is what the installer placed on my website.
  • Is this the latest version?
  • Is version 4 still a beta?

3) How do I change the field name "Seller" to just "Full Name". My site is for CLASSMATES who may or may not want to sell anything. If they did sell something, it might be just a photo that was taken of the class at the reunion or it may be where the organizer of the reunion needs payment for the reunion itself which does not need a photo. The site is basically a site for classmates who want to keep in touch with each other and POST events such as a class reunion. I'm offering this service for free.
  • I did not see that each member has their own place or link to post info.
  • There is nothing on a member's page where someone can sign their specific guestbook.

I will appreciate it if someone can tell me how to make the above changes.

Thank you.
Reply With Quote
  #2  
Old Yesterday, 09:04 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 59
Default

Hi,
I am not affiliated with 68C, just a user.

There is no difference in Designer and Developer as far as the features you mention. The difference is you can edit the code in dev. As I understand it.

To fix your problem, the easiest way I can explain is to:

Log into admin, click template editer, then click the folder of the template you use, then viewlisting.tpl.php or viewlisting2.tpl.php depending on which you use (if you don't know edit both).

Now for the code you need to change:
<td><strong>{$smarty.const.LANG_SELLER}:</strong></td>

and change to:
<td><strong>Full Name:</strong></td>

There are other ways but this will work and is easy.

This overrides the language tag and will output whatever you want.

As for the background edit layout.tpl.php in the same place.
__________________

Wayne - LouAD.com (louisville, ky classifieds) 3.1.5b dev under construction.
Reply With Quote
  #3  
Old Yesterday, 09:07 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 59
Default

You need the seller store and rating mods to do the guestbook and member area.
Yes 3.1.10 is the latest , yes V4 is still beta.
__________________

Wayne - LouAD.com (louisville, ky classifieds) 3.1.5b dev under construction.

Last edited by louad : Yesterday at 09:09 PM.
Reply With Quote
  #4  
Old Today, 02:56 AM
Sandy68Classi Sandy68Classi is offline
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 2
Default

Hi louad,

Thank you for the code. It worked on the opening page. But, when clicking the linked ID username (in my case it is admin since I am the owner and the first one listed), it bought up "view member" and the "Seller" was on it. So, I went to member.tpl.php to see if I could change it there to User ID. But, the code is different.

The code is:
<tr>
<td class="formleft">{$smarty.const.LANG_SELLER}{$smar ty.const.LANG_COLON}</td>
<td class="formright">{$username}</td>
</tr>

I didn't dare change anything or I might mess it up. I don't know if I can change it? Can I?

Changing the page background from WHITE to a pictured background: I can't see "page backgound=" on the layout.tpl.php nor style.css? It is not included in the coding that I can tell.

If you want to look at my site, it is http://www.classmates-hudson-ny.com/1966/ which is being developed first and before I tell all my classmates to use it.

Thank you for your help.
Reply With Quote
  #5  
Old Today, 12:20 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 59
Default

Of course you can change it.

You can change:
<td class="formleft">{$smarty.const.LANG_SELLER}{$smar ty.const.LANG_COLON}</td>


To:
<td class="formleft">User ID:</td>

Again overriding the language tag.
I was going to tell how to edit the actual language file but if you want it say different things, that won't work and this is a better way to edit it.

If you did want to edit the language file you will need to open the folder language, then the file english.php, then find:
define("LANG_SELLER", "Seller");
and change "Seller" to whatever you want. This will replace "Seller" at every instance of the language tag.

You have to ftp this file.


As for the background, there are a number of ways to get a picture into the background, I am not sure exactly what you want to do.

Edit: <body> in layout.tpl.php to <body background="/images/yourimage.jpg"> for example will tile an image in the background of the page but not the "wrapper" table content.
__________________

Wayne - LouAD.com (louisville, ky classifieds) 3.1.5b dev under construction.
Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.