Zen Cart Logo
Forums / Addon Sideboxes / Link Manager 3.0 Support Thread

Link Manager 3.0 Support Thread

Views: 486,754

Results 1,041 to 1,060 of 1,988
3 Jul 2008, 12:50 AM
#1041
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Link Manager 3.0 Support Thread

Doodlebuckets:

Yep, that's next on my list. I have tried to get the page to display as I want it to, but I don't know how to get what I need, so if you could teach me how that would be great!

http://www.ncwheatmontanacoop.com/order/index.php?lPath=2&main_page=links

For the above page (and all others eventually), I would like where it says "Recipes" in bold, just above "Our Members' tried and true recipes!", I want it to say the category title...in this case, "Yeast Breads".

Next, I need for the titles to be non-clickable, larger font, and in bold. Also, the line at the top of the page, if that could show up between each Recipe to separate them, that would be great.

I have gone around and around with this, but this is a part of code that I don't yet understand. I know this is not a Links Manager application, but I sure appreciate your help! Maybe when it's all done, you could upload it as another contrib...

Not a problem.

Lets do the easy part first (Also, the line at the top of the page, if that could show up between each Recipe to separate them, that would be great.)

open includes/templates/YOUR_TEMPLATE/css/links.css

find the following declarations:

.productListing-even .linkListing-data{padding:5px;font-size:1em;;background:ivory;color:#000;}
.productListing-odd .linkListing-data{padding:5px;font-size:1em;color:#000;}

Replace them with:

.productListing-even .linkListing-data{padding:5px;font-size:1em;;background:ivory;color:#000;border-top:1px solid #000;}
.productListing-odd .linkListing-data{padding:5px;font-size:1em;color:#000;border-top:1px solid #000;}

Save the file and upload to your server

Now the next one (I would like where it says "Recipes" in bold, just above "Our Members' tried and true recipes!", I want it to say the category title...in this case, "Yeast Breads".)

open includes/modules/pages/links/header_php.php

find the following section of code lines 27 - 32

  if ($display_mode == 'links') {
  $breadcrumb->add(NAVBAR_TITLE, zen_href_link(FILENAME_LINKS, '', 'NONSSL'));
  $breadcrumb->add($link_categories_query->fields['link_categories_name']);
  } else {
  $breadcrumb->add(NAVBAR_TITLE);
  }

replace this section with the following:

  if ($display_mode == 'links') {
  $breadcrumb->add(NAVBAR_TITLE, zen_href_link(FILENAME_LINKS, '', 'NONSSL'));
  $breadcrumb->add($link_categories_query->fields['link_categories_name']);
  $subtitle = '<h2>' . $link_categories_query->fields['link_categories_name'] . '</h2>';
  } else {
  $breadcrumb->add(NAVBAR_TITLE);
  }

save the file and upload to your server

Now open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php

find at around line 105:

<?php echo HEADING_TITLE; ?>

immediately below this line add the following:

<?php echo $subtitle; ?>

Save the file and upload to your server

Now the last one (I need for the titles to be non-clickable, larger font, and in bold.)

open includes/templates/YOUR_TEMPLATE/css/links.css

add the following declaration:

h4.linkTitle {
font-size: 1.1em;
font-weight:bold;
}

Save the file and upload to your server

Now open includes/modules/YOUR_TEMPLATE/link_listing.php

find the following line of code at around line 76

 $lc_text = '<a href="' . zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' . $listing_query->fields['links_title'] . '</a><br />' . $listing_query->fields['links_description']; }

replace this with the following:

$lc_text = '<h4 class="linkTitle">' . $listing_query->fields['links_title'] . '</h4><br />' . $listing_query->fields['links_description']; }

Save the file and upload to your server.

I think this will give you the look you wanted (or at least close to it.)

3 Jul 2008, 12:54 PM
#1044
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

Nevermind! I replaced the wrong line of code in link_listing.php! I appreciate everything!!!

Glad to help!

3 Jul 2008, 2:07 PM
#1045
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

Glad to help!

Sigh, there's one more thing: Status:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in C:\Sites\Single18\kennybranch\webroot\order\admin\includes\functions\html_output.php on line **333

**I reuploaded my admin folder but still get this error. Did I do something that caused this when I changed some of the defines?

3 Jul 2008, 2:59 PM
#1046
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

Sigh, there's one more thing: Status:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in C:\Sites\Single18\kennybranch\webroot\order\admin\includes\functions\html_output.php on line **333

**I reuploaded my admin folder but still get this error. Did I do something that caused this when I changed some of the defines?

The code in line 333 is

if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);if that helps...

3 Jul 2008, 5:56 PM
#1047
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

The code in line 333 is

if that helps...

in what part of admin is this error showing up?

3 Jul 2008, 9:59 PM
#1049
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

Sorry! on the admin links (new link add) page ie
http://www.ncwheatmontanacoop.com/order/admin/links.php?page=1&action=new

I can't really tell without knowing what you changed in the file.

Can you zip up the file and post it here so I can take a look.

12 Jul 2008, 5:36 PM
#1050
jmeca avatar

jmeca

New Zenner

Join Date:
Nov 2006
Location:
Sapin
Posts:
44
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hello:

Recently i upgrade the link manager but i have a problem.

I have a shop whit two languages English and Spanish and a see only the box links in the english language no in the spanish, i think copy all files in the two diferent languages and i comprobate then and i think all is right.

Any Ideas? Your help will be very aprecited.

http://www.expomueble.es

Thank you very much

12 Jul 2008, 6:24 PM
#1051
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

jmeca:

Hello:

Recently i upgrade the link manager but i have a problem.

I have a shop whit two languages English and Spanish and a see only the box links in the english language no in the spanish, i think copy all files in the two diferent languages and i comprobate then and i think all is right.

Any Ideas? Your help will be very aprecited.

http://www.expomueble.es

Thank you very much

This should help:

Just unzip the file, make sure to change the YOUR_TEMPLATE folders to match the name of your custom template (classic)

upload the entire includes folder to your server.

[Attachment no longer available]

13 Jul 2008, 7:51 AM
#1052
jmeca avatar

jmeca

New Zenner

Join Date:
Nov 2006
Location:
Sapin
Posts:
44
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hello Clide:

Thank you very much for you help and your time, i copy all files lñike you say me in the includes directory but sill the problem.

I can't see the links box in the spanish language, i don't what is the problem.

Another question. Can I install your module in my shop http://www.expomueble.es whit two languages althoug i traduce the spanish front?

Thank You very much for you help.:yes:

13 Jul 2008, 7:59 AM
#1053
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

jmeca:

Hello Clide:

Thank you very much for you help and your time, i copy all files lñike you say me in the includes directory but sill the problem.

I can't see the links box in the spanish language, i don't what is the problem.

Another question. Can I install your module in my shop http://www.expomueble.es whit two languages althoug i traduce the spanish front?

Thank You very much for you help.:yes:

Yes by all means go ahead and translate the files.

You may need to update the links in admin -> extras -> links

and you may need to update the categories in admin -> extras -> Link Categories

Here are the language files for the admin

[Attachment no longer available]

13 Jul 2008, 8:50 AM
#1054
jmeca avatar

jmeca

New Zenner

Join Date:
Nov 2006
Location:
Sapin
Posts:
44
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hello Clyde:

Thak you very much for your help i tried todo whit the admin and now work ok.

I refer before the module Order Step if can i install in my shop whit two languages?

Thank you very much

13 Jul 2008, 3:12 PM
#1055
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

jmeca:

Hello Clyde:

Thak you very much for your help i tried todo whit the admin and now work ok.

I refer before the module Order Step if can i install in my shop whit two languages?

Thank you very much

You should be able to do that.

There is only on file that would need to be translated.

includes/languages/english/extra_definitions/order_steps_defines.php

Just copy the file to:

includes/languages/spanish/extra_definitions/order_steps_defines.php

Save the file and upload to your server.

13 Jul 2008, 10:40 PM
#1056
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

I can't really tell without knowing what you changed in the file.

Can you zip up the file and post it here so I can take a look.

What file are you referring to? I only changed the defining text.

13 Jul 2008, 10:56 PM
#1057
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

What file are you referring to? I only changed the defining text.

You said you were getting this error on the admin side - Where/When exactly is this error occurring?

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in C:\Sites\Single18\kennybranch\webroot\order\admin\includes\functions\html_output .php on line 333

13 Jul 2008, 11:05 PM
#1058
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

You said you were getting this error on the admin side - Where/When exactly is this error occurring?

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in C:\Sites\Single18\kennybranch\webroot\order\admin\includes\functions\html_output .php on line 333
http://www.ncwheatmontanacoop.com/order/admin/links.php?page=1&action=new

It's on this page, where I am trying to make an entry via the admin.

13 Jul 2008, 11:12 PM
#1059
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Doodlebuckets:

http://www.ncwheatmontanacoop.com/order/admin/links.php?page=1&action=new

It's on this page, where I am trying to make an entry via the admin.

No login information so I can't check.

Are you using ZC 1.3.7 or 1.3.8

PHP version?

check out this thread:

www.zen-cart.com/forum/showthread.php?t=74677

14 Jul 2008, 1:03 AM
#1060
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

No login information so I can't check.

Are you using ZC 1.3.7 or 1.3.8

PHP version?

check out this thread:

www.zen-cart.com/forum/showthread.php?t=74677

Clyde, the modified admin html_output file fixed it! Thanks for looking into this. I searched and searched but couldn't fix the answer. You da bes :o)