Author |
Message |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sun Jan 04, 2009 1:52 pm |
|
Quick question all. The best I remember, I used to be able to go into the theme story_home.html and change to Code:<a href="$story_link">$title</a>
| and it would create a link to the news title for the full story of the news article. That doesn't seem to work anymore. How can it be done now? Thank you. |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Sun Jan 04, 2009 2:38 pm |
|
When $story_link is defined it looks like this:
Code:$story_link = '<a href="modules.php?name=News&file=article&sid='.$s_sid."$r_options".'">
| '
So you would just need to do something like:
Code:$story_link$title</a>
|
|
|
|
|
 |
nuken

|
Posted:
Sun Jan 04, 2009 4:29 pm |
|
Thank you for your response. Do you mean define story_link in themes.php? |
|
|
|
 |
jakec

|
Posted:
Sun Jan 04, 2009 4:34 pm |
|
It is already defined within the News module.
If you do a global search of the files for $story_link you will see what I mean. |
|
|
|
 |
nuken

|
Posted:
Sun Jan 04, 2009 6:32 pm |
|
Thanks for your help, I think I'll mess with it another day.... |
|
|
|
 |
nuken

|
Posted:
Mon Jan 05, 2009 8:52 pm |
|
Amazing how a good nights sleep makes things work better....
Works great. Thank you. |
|
|
|
 |
jakec

|
Posted:
Tue Jan 06, 2009 3:14 am |
|
No problem, glad you got it working.  |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Tue Jan 06, 2009 5:05 am |
|
nuken, I don't remember exactly what changed to do this for nukeSEO.com, but it was definitely in the theme as you suggested. It sounds like what you did, and I'm glad you got it working. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
nuken

|
Posted:
Tue Jan 06, 2009 5:53 am |
|
My original problem was related to the theme. When I switched themes on my test site, it worked great. Every theme except a clan theme that I'm using on my son's guild site worked. I figured I would look at that theme and see why it was acting stupid. What it does is passes a number not related to the article number and it goofs up the content. Odd little situation. It works on every other theme though. Thanks again. |
|
|
|
 |
|