View Full Version : I want to add a description to Add New Link (Payed Link)
RaceJunkie
08-24-2006, 01:48 PM
Please see the attachment. How would a user know what they are buying?
Sergey Ten
08-24-2006, 06:00 PM
Hello RaceJunkie,
Please follow the directive:
*** Open your suggest-link.tpl ***
*** Find 24 line with such code ***
<label for="p{$plan.id}"><strong>{$lang[$plan.name]} - {$config.currency_symbol}{$plan.cost}</strong></label></p>
*** Replace with ***
<label for="p{$plan.id}"><strong>{$lang[$plan.name]} - {$config.currency_symbol}{$plan.cost} ({$plan.description})</strong></label></p>
*** Save change ***
RaceJunkie
08-24-2006, 06:36 PM
I just done that. . Thanks
Plan added. Add the following lines to your language file:
'Featured' => 'Featured',
'Have your link in the featured box' => 'Have your link in the featured box',
What does this mean? I hate to bother you but ths s/w is lacking a decent user manuel unless i am missing it somwhere..
That means exactly what it say...
There is a link in the left column of admin panel: "language editor"
Click on it and you will see your language file.
Add these two lines to the existing file in the section:
/** special area for additional custom strings **/
and click "save changes"
RaceJunkie
08-24-2006, 06:58 PM
ok.. Thanks Can you tell me what this actually does?
And how do I edit the Free Link Description?
To change "Free" description find this line in the language file:
'free' => 'Free',
and change it to something you want to say:
'free' => 'Your new description for free link',
and again save changes.
Smarty template system that eSyndicat is using lets you to make lots of customizations without touching (and messing up) source code
Sergey Ten
08-24-2006, 07:13 PM
RaceJunkie,
*** Open your suggest-link.tpl ***
*** Find 21 line with such code ***
<label for="p0"><strong>{$lang.free}</strong></label></p>
*** And add your description ***
<label for="p0"><strong>{$lang.free} Some description</strong></label></p>
*** Save change ***
RaceJunkie
08-24-2006, 07:58 PM
Thanks or the help..
Sergey Ten
08-24-2006, 08:34 PM
You are welcome RaceJunkie ;)
cmarket
09-09-2006, 04:29 PM
Suggest Link Page: description works here.
http://www.toymarket.org/suggest-link.php?id=
Upgrade Your Lisiting:
http://www.toymarket.org/upgrade-link.php?id=19
How to add a description of what they are buying on "upgrade listing" page?
Thank you!!!!
cmarket
09-14-2006, 04:31 PM
Hi .. anyone...
:zevaiu: :wink:
Vincent Wright
09-16-2006, 12:11 PM
Do you want to add link title, url, description, etc?
cmarket
09-19-2006, 12:40 AM
Hi,
I would like to add a description.
Just like on the suggest a link page but this description is on the Upgrade your listing page ( so they know what they are buying )
thank you!
Vincent Wright
09-19-2006, 06:34 AM
I still don't understand.
Is it link description, plan description, or something else.
Could you tell me the example of what it might read?
cmarket
09-19-2006, 07:15 PM
when person is logged in and wants to upgrade their listing. It needs a description of what they are buying see this page - there is no description here. How do you place a description of what they are buying, when they choose to upgrade their listing? just like we did on the add a link page?
http://toymarket.org/upgrade-link.php?id=29
On the "add a link" page - the info on this thread -gives instructions how to add a description to the " add a link page" it works fine see example
http://toymarket.org/suggest-link.php?id=0
:offtopic:
cmarket
You may want to look at your site with FireFox. It's a bit messed up.
Here's what I see:
cmarket
09-19-2006, 09:38 PM
Thanks - I think simon is working on the top area so it will be fixed :huh: :)
Thanks - I think simon is working on the top area so it will be fixed :huh: :)
Here's a quick fix for that.
Open css file and find:
div.header
{
height: 110px;
background-color: #FFF;
}
and change to:
div.header
{
height: 132px;
background-color: #FFF;
}
cmarket
09-19-2006, 10:56 PM
thank you greg! :dance2:
Vincent Wright
09-20-2006, 04:51 AM
Ok, concerning descriptions...
It seems that the script does not fetch link information from the database on Upgrade Link page (even though the link id is passed as a parameter).
Having this information you can display link properties like title, url, description, etc.
First of all, you have to fetch this information. Open upgrade-link.php, at the top of the file, after the require_once() directives, add this code:
$id = (int)$_GET['id'];
$link =& $gDirDb->getLinkById($id);
$gDirSmarty->assign_by_ref('link', $link);
Now the link fields are available in the template file and you can use it the way you need.
E.g. I added this immediately after the <h1> title:
<div class="box-content">
You are going to upgrade this link:<br/>
<a href="{$link.url}">{$link.title}</a>
</div>
You can play with the code and the $link variable to adjust the look and feel.
If you have questions feel free to ask.
cmarket
09-21-2006, 06:29 PM
Hi,
This is great and needed on the page! :D
But i am trying to show a description on the "upgrade you listings" page like the "suggest a link" page.
http://toymarket.org/upgrade-link.php?id=29 - this page needs the same description as below
- $1
- $2
http://toymarket.org/suggest-link.php?id=0
$1 BASIC LISTING 1 yr. - List in 5 categories * up to 6 images *Alexa thumbmnail image * All vendors in each category may be sorted by company name, or city and state, depending on what the viewer chooses. By default the page is orginally viewed by date submitted.
- $2 PREMIUM FEATURED LISTING 1 yr. - *Your Listing appears in 5 categories at the top area of your specific category and will be highlighted *direct link to your site on the homepage of toys for tots *All vendors in the featured listings area of each category may be sorted by company name, or city and state, depending on what the viewer chooses. By default the page is originally viewed by date submitted. *Limit of 4 companies per category.
Thank you in advance :wink:
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.