Forum Name In Portal Announcement
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: Forum Name In Portal Announcement
Assuming you did the same modification in your announcement query (joining the forum table to get the forum name), and add $announcement['forumname'] to the portal.php, as I said in the previous post, I think we can do that with Template Conditional or PHP In Template only (to get the "proper" forum link and do some "HTML validating" for forum name, if we care about validating our page). If all forums use usual forum name (without HTML entities), it only used for getting the proper forum link. And, if we use XThreads, we can use {$forumurl} variable as forum URL (provided by XThreads in portal announcement).
So, in Portal Announcement, I think we don't need to edit our portal.php file if we only want the forum name and forum link/URL.

Sorry if my opinion above is wrong Biggrin

02-24-2011 04:51 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Forum Name In Portal Announcement - RateU - 02-19-2011, 05:10 AM
RE: Forum Name In Portal Announcement - RateU - 02-24-2011 04:51 AM

 Standard Tools
Forum Jump: