Re: Link Manager 3.0 release
Quote:
Originally Posted by
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/or...ain_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:
Code:
.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:
Code:
.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
Code:
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:
Code:
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
Code:
$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:
Code:
$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.)
Re: Link Manager 3.0 release
http://www.ncwheatmontanacoop.com/or...ain_page=links
Something broke, but I dunno what. Thanks for all the help!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
Doodlebuckets
Nevermind! I replaced the wrong line of code in link_listing.php! I appreciate everything!!!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
Doodlebuckets
Nevermind! I replaced the wrong line of code in link_listing.php! I appreciate everything!!!
Glad to help!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
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?
Re: Link Manager 3.0 release
Quote:
Originally Posted by
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
Quote:
if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);
if that helps...
Re: Link Manager 3.0 release
Quote:
Originally Posted by
Doodlebuckets
The code in line 333 is
if that helps...
in what part of admin is this error showing up?
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
in what part of admin is this error showing up?
Sorry! on the admin links (new link add) page ie
http://www.ncwheatmontanacoop.com/or...e=1&action=new
Re: Link Manager 3.0 release
Quote:
Originally Posted by
Doodlebuckets
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.
Re: Link Manager 3.0 release
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