|
|
#1 | |
|
Junior Member
Join Date: Oct 2006
Location: Dallas, Texas
Posts: 16
Rep Power: 12 ![]() |
In "http://www.68classifieds.com/forums/showthread.php?t=401",
Lhotch wrote: Quote:
And it Worked, up to v3.1.4. Problem: From v3.1.4, to 3.1.5, the breadcrumb var, in the functions.php file, changed so that this code no longer works. Question: "How do I modify the code above to work with v3.1.5?" (note: have tried {$section|strip}.gif, to no avail.)
__________________
M7 v.3.1.5 Developer Last edited by MSeven; 10-11-2006 at 11:50 AM. |
|
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,150
Rep Power: 119 ![]() |
How about changing it to this:
HTML Code:
{if $smarty.get.sec==""}
<!-- // Header // -->
<div id="header"><a href="index.php"><img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/header.gif" width="633" height="93" border="0" alt="{$title}" /></a></div>
<!-- // Header // -->
{else}
<!-- // Header // -->
<div id="header"><a href="index.php"><img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/{$section}.gif" width="633" height="93" border="0" alt="{$title}" /></a></div>
<!-- // Header // -->
{/if}
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Oct 2006
Location: Dallas, Texas
Posts: 16
Rep Power: 12 ![]() |
Quote:
__________________
M7 v.3.1.5 Developer |
|
|
|
|
|
|
#4 |
|
Coder
Join Date: Mar 2006
Posts: 4,585
Rep Power: 111 ![]() ![]() |
I beleive the problem is somewhere along the line the last peice of the breadcrumb was made into a link where in the past it wasnt. The original code from your post should still work you just need to strip the tags from the final variable, something like this...
PHP Code:
|
|
|
|
|
|
#5 | |||
|
Junior Member
Join Date: Oct 2006
Location: Dallas, Texas
Posts: 16
Rep Power: 12 ![]() |
Quote:
Quote:
Quote:
Otherwise I guess, I will need to know if the change to the $breadcrumb was for security reasons? or for function reasons? so that I will then know how much further I should persue this. Meaning; "if the $breadcrumb change is not Critical to anything, then I may keep the 3.1.4version, if I knew what I would be losing by not using the 3.1.5version. (Naturally I would prefer to use the new version, but...)
__________________
M7 v.3.1.5 Developer |
|||
|
|
|
|
|
#6 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,150
Rep Power: 119 ![]() |
This is going from memory but I believe the breadcrumb was changed so it would display the full category path and the last one is clickable where before the last one was just text.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#7 |
|
Coder
Join Date: Mar 2006
Posts: 4,585
Rep Power: 111 ![]() ![]() |
Ok, try this.....
PHP Code:
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Oct 2006
Location: Dallas, Texas
Posts: 16
Rep Power: 12 ![]() |
Quote:
But again, Thanks for the info as it will help. I Love your script by the way. I find it's structure and design to be "Firefox" quality. (Hoping that means as much to you as it does me.) Par Excellence!!!
__________________
M7 v.3.1.5 Developer |
|
|
|
|
|
|
#9 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,150
Rep Power: 119 ![]() |
Thanks for the compliments! It does mean a lot.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: Oct 2006
Location: Dallas, Texas
Posts: 16
Rep Power: 12 ![]() |
Quote:
Larry, will take me awhile to integrate and check this out and I didn't want to leave you hanging. The initial test was a dud. But will keep trying, and see if I can find out why. Will let you know ASAP, (probably tomorrow), but as I said, I didn't want to leave you hanging in the meantime. p.s. Thanks Larry! I knew you would come to the rescue. And if I may blow some smoke your way, ...I have read many of your post and find your explanations to be clear and concise, detailed yet specific. And you show a willingness to help that makes a person feel as though everything is gonna be ok. Glad your on the 68 team.
__________________
M7 v.3.1.5 Developer |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Header on Featured Ads | lbrown13 | HTML, CSS, and Design Help | 10 | 05-23-2006 04:09 PM |
| Header V3.0.15 | newone | HTML, CSS, and Design Help | 17 | 05-05-2006 09:44 AM |
| header change | newone | v3.0 Questions & Support | 0 | 04-28-2006 11:25 PM |