Support Forums


Go Back   68 Classifieds Forums > Legacy Help & Support > v3.1 Modules & Modifications

 
LinkBack Thread Tools Display Modes
Old 10-13-2007, 08:50 PM   #1
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
Rep Power: 0
Sandy68Classi is on a distinguished road
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.
Sandy68Classi is offline   Reply With Quote
Old 10-13-2007, 09:04 PM   #2
Member
 
Join Date: Feb 2007
Posts: 64
Rep Power: 10
louad is on a distinguished road
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 is offline   Reply With Quote
Old 10-13-2007, 09:07 PM   #3
Member
 
Join Date: Feb 2007
Posts: 64
Rep Power: 10
louad is on a distinguished road
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

Last edited by louad; 10-13-2007 at 09:09 PM.
louad is offline   Reply With Quote
Old 10-14-2007, 02:56 AM   #4
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
Rep Power: 0
Sandy68Classi is on a distinguished road
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.
Sandy68Classi is offline   Reply With Quote
Old 10-14-2007, 12:20 PM   #5
Member
 
Join Date: Feb 2007
Posts: 64
Rep Power: 10
louad is on a distinguished road
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 is offline   Reply With Quote
Old 10-15-2007, 12:29 PM   #6
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,206
Rep Power: 36
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
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.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
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 10-16-2007, 12:57 AM   #7
Junior Member
 
Join Date: Oct 2007
Location: Newton, NH
Posts: 3
Rep Power: 0
Sandy68Classi is on a distinguished road
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
Sandy68Classi is offline   Reply With Quote
Old 10-16-2007, 01:31 AM   #8
Member
 
Join Date: Feb 2007
Posts: 64
Rep Power: 10
louad is on a distinguished road
Default

Sandy, I do not know as I have not created any mods in 68C myself.
Sorry!
__________________
Wayne
louad is offline   Reply With Quote

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:31 PM.


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