TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 409
  • Total: 409

Is TP right for me?

Started by Xycose, October 23, 2006, 03:29:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xycose

I have another question, and thanks so far guys.

I didn't want to use any of the sideblocks originally, and just wanted an "Articles" tab at the normal SMF menu at the top, that would take you to a link tree type thing for the articles, but I think I might use the the "blocks" and only on the left side. I'm getting everything how i want it before i even try to put it live on my site, to make sure i can.

What I'm having trouble with is the "sitemap" block. IT has the "downloads" and the "demo article" which i changed to just Articles but what i want to do is have Articles come up first
Articles
Downloads

Currently it is
Downloads
Articles
and i cant find a way to change it the other way around. Any help?

Xycose

Also, I made another test account on the test forum, make a new member group, set that member group to be allowed to "submit" articles, and i put that member into the membergroup, I can't find where to submit the articles though that member though?

JPDeni

Quotewhat i want to do is have Articles come up first
You can alter TPortalBlocks.template.php. Look for function TPortal_sitemap(). You'll probably want to move all of the first ones to the end. So, cut
if($context['TPortal']['show_download']=='1')
echo '<li><a class="sitemap_header' , $current=='dl' ? '_active' : '' , '" href="'.$scripturl.'?action=tpmod;dl"><img src="',$settings['images_url'],'/tpmodule2.gif" border="0" alt="" /> '.$txt['tp-dldownloads'].'</a></li>';

if($context['TPortal']['show_gallery']=='1')
echo '<li><a class="sitemap_header' , $current=='show' ? '_active' : '' , '" href="'.$scripturl.'?action=tpmod;show"><img src="',$settings['images_url'],'/tpmodule2.gif" border="0" alt="" /> '.$txt['tp-admin15'].'</a></li>';
if($context['TPortal']['show_linkmanager']=='1')
echo '<li><a class="sitemap_header' , $current=='link' ? '_active' : '' , '" href="'.$scripturl.'?action=tpmod;link"><img src="',$settings['images_url'],'/tpmodule2.gif" border="0" alt="" /> '.$txt['tp-admin13'].'</a></li>';
if($context['TPortal']['show_teampage']=='1')
echo '<li><a class="sitemap_header' , $current=='team' ? '_active' : '' , '" href="'.$scripturl.'?action=tpmod;team"><img src="',$settings['images_url'],'/tpmodule2.gif" border="0" alt="" /> '.$txt['tp-admin17'].'</a></li>';


and paste it just before

         echo '
         </ul>


QuoteI can't find where to submit the articles though that member though?
The submit article link is in the Admin Tools block.

This website is proudly hosted on Crocweb Cloud Website Hosting.