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 10-13-2007, 09:50 PM
Sandy68Classi Sandy68Classi is offline
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
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 10-13-2007, 10:04 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 64
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
Reply With Quote
  #3  
Old 10-13-2007, 10:07 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 64
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

Last edited by louad : 10-13-2007 at 10:09 PM.
Reply With Quote
  #4  
Old 10-14-2007, 03:56 AM
Sandy68Classi Sandy68Classi is offline
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
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 10-14-2007, 01:20 PM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 64
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
Reply With Quote
  #6  
Old 10-15-2007, 01:29 PM
Mike-N-Tosh's Avatar
Mike-N-Tosh Mike-N-Tosh is offline
Senior Member
 
Join Date: Jan 2007
Posts: 207
Default

Sandy,

I am also just a user and not affiliated with 68C. In first reading your post, it seems as though you are expecting this script to do things that it wasn't actually designed for. It is a classified ads script. A solution for users to be able to post classified ads.

Don't get me wrong here, I'm not saying that it can't be customized to do what you are wanting, however what you are wanting is not advertised as what this script does.

Regarding the difference between the designer version and the developer version goes, it is just like it says in the descriptions of the products. The designer version has the code pages encrypted. The developer version does not with a few exceptions.

What this means is that there isn't a difference in the administration of the solution, but that all of the code pages (eg: anything.php) files are unencrypted for you to be able to customize them as you wish.

Although I am certainly not a programmer, I was able to customize this solution to do what I needed for my site, which is actually a community web site that also includes classified ads. This script still runs the entire site though.

It might serve you well, to do some searching in these forums for ideas as to how you might customize some of the "php" files to do the types of things that you would like as well as researching some basic web design for html and CSS.

The CSS stylesheet is where you would want to make the changes to be able to have the background an image instead of a color, etc.

I hope this helps,
-Mike
__________________
Mike-N-Tosh
v3.1.7 Developer

IndianaPC.org

I can what I can and I can't what I can't.
Reply With Quote
  #7  
Old 10-16-2007, 01:57 AM
Sandy68Classi Sandy68Classi is offline
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
Default

To louad (Wayne): Your instructions worked! The background is now the way I want it. I was able to use the same info for the background of the inside table thanks to you! The "fields" title is now the way I want it. Thank you so much for your help.

I wish that each subcategory in my classmates web site could have its own alphabetical list of classmates that registered for that graduating year, like classmates.com has. I bet a new module would work that could CALL the listings in that subcategory to a page that lists the registered users in alphabetical order with their names linked to to their Ad (the Ad being their info with their photos). I already made a directory called alphabetical_members under "modules" with a config.php with the help of http://www.68classifieds.com/knowled...dule-tutorial/. I tried looking at the example of the next file I should have which is mod_user.php and only got as-far-as the 1st 7 lines as the rest of the example calls for it to be emailed. I don't know how to do the rest. Do you know what is needed?

You have been most helpful. I wish I had your knowledge. Thank you!

Sandy
Reply With Quote
  #8  
Old 10-16-2007, 02:31 AM
louad louad is offline
Member
 
Join Date: Feb 2007
Posts: 64
Default

Sandy, I do not know as I have not created any mods in 68C myself.
Sorry!
__________________

Wayne - LouAD.com
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 04:53 PM.


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