Black Pearl

add "view my topics" link to breadcrumbs? - Black Pearl

add "view my topics" link to breadcrumbs?

by zero061099 » Mon Dec 17, 2012 12:34 am

Hi nice theme and all but I tried to add prime view my topics and I cant seem to figure out how to get the "View Your Topics" link as shown in the pic below.... heres the code he originally wanted to add to

ucp_main_front.html

Code: Select all

| <a href="{U_SELF_TOPICS}">{L_PRIME_SELF_TOPICS}</a>


obviously this will not work because it wont show when I put the code in that file because you have a seperate file for those links shown in pic below so can you tell me how to do this? thanks! :D

add.png
add.png (7.24 KiB) Viewed 299 times
User avatar
zero061099
Registered User
Posts: 328
Joined: Wed Jun 13, 2007 1:19 am

Re: add "view my topics" link to breadcrumbs?

by Joshua203 » Mon Dec 17, 2012 7:22 am

I don't really understand your question because in the title you already give the answer ?¿?!!!
Image
http://DutchaGoGo.com (development/under construction ..forever?¿?) ;)
User avatar
Joshua203
Registered User
Posts: 227
Joined: Tue Jul 21, 2009 7:01 pm
Location: Rotterdam, Netherlands, Europe, Earth.
Name: Joshua 203

Re: add "view my topics" link to breadcrumbs?

by zero061099 » Mon Dec 17, 2012 11:17 am

thats what im tryong to say! the code or answer as u put it doesnt work
so can u tell me wherre that code aboukd go in ur theme? bc it doesnt belong where the author of the mod says on ur theme and it doesnt work where i thougjt it would go
User avatar
zero061099
Registered User
Posts: 328
Joined: Wed Jun 13, 2007 1:19 am

Re: add "view my topics" link to breadcrumbs?

by Joshua203 » Mon Dec 17, 2012 12:44 pm

In ucp_main_front.html you 'll see an "include breadcrumbs" line... the breadcrumbs file mentioned there should be the one that needs the modification ;)

don't forget to purge the cache
Image
http://DutchaGoGo.com (development/under construction ..forever?¿?) ;)
User avatar
Joshua203
Registered User
Posts: 227
Joined: Tue Jul 21, 2009 7:01 pm
Location: Rotterdam, Netherlands, Europe, Earth.
Name: Joshua 203

Re: add "view my topics" link to breadcrumbs?

by zero061099 » Mon Dec 17, 2012 1:08 pm

dude Im not slow...how do you think I knew it was the breadcrumbs file?? What Im saying is when I add the code to the file no link appears...I have tried several places in the coding and it wont show. YET if I (messing around) put the code into "menu_block.html" the link shows up. Perhaps I am doing something wrong in the breadcrumbs file?

heres one variation of where I tried to place the code...... (breadcrumbs.html)
<div class="bc-tbl bc-div">
<p class="bc-header">
<a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks -->&nbsp;&#187;&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
</p>
<div class="bc-links">
<div class="bc-links-left">{CURRENT_TIME}<!-- IF S_USER_LOGGED_IN -->&nbsp;|&nbsp;{LAST_VISIT_DATE}<!-- ENDIF --><br />{S_TIMEZONE}</div>
<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>&nbsp;|&nbsp;<a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>|<a href="{U_SELF_TOPICS}">{L_PRIME_SELF_TOPICS}</a><!-- ENDIF --><br />
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS -->&nbsp;|&nbsp;<!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS --><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN -->&nbsp;|&nbsp;<!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>&nbsp;|&nbsp;<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --><!-- ELSE --><!-- IF S_IS_BOT or not U_MARK_FORUMS -->&nbsp;<!-- ENDIF --><!-- ENDIF -->
</div>
</div>


EDIT: SOLVED RIGHT ABOVE LOL]
User avatar
zero061099
Registered User
Posts: 328
Joined: Wed Jun 13, 2007 1:19 am

Re: add "view my topics" link to breadcrumbs?

by Joshua203 » Mon Dec 17, 2012 1:32 pm

You should check your conditions in there (if's, else's and endif's) .. big chance you messed that up!

PS please don't call me dude... I'm not a teenager :roll:
Image
http://DutchaGoGo.com (development/under construction ..forever?¿?) ;)
User avatar
Joshua203
Registered User
Posts: 227
Joined: Tue Jul 21, 2009 7:01 pm
Location: Rotterdam, Netherlands, Europe, Earth.
Name: Joshua 203

Re: add "view my topics" link to breadcrumbs?

by zero061099 » Mon Dec 17, 2012 2:01 pm

really "dont call me dude" Im not a teen either just a figure of speech ...two not a good chance as it works fine and does not show up when logged out but shows when logged in so I guess it does work after all but thanks for your help anyways ;)
User avatar
zero061099
Registered User
Posts: 328
Joined: Wed Jun 13, 2007 1:19 am