
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.)
Bookmarks