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,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 199
  • Total: 199

Code button help please!

Started by Smoky, January 16, 2008, 09:26:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Smoky

I am trying to make a button out of a url, and its not showing up.. i want it to show in the area of the forum, gallery etc., and the code that i am using, it isn't showing up..

maybe i have a space or typo or??

here it is:



    // the [Tutorials] button
if ($context['allow_tutorials_view'])
echo ($current_action == 'tutorials' || $context['browser']['is_ie4']) ? '<td                class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tutorials' ? 'active_back' : 'back' , '">
<a href="http://www.twistedgraffix.com/tutorial/">Tutorials</a>
</td>' , $current_action == 'tutorials' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
         


would apperciate it if someone could go over it for me.. thanks..  ;)

G6Cad

remove this bit of code and try again
if ($context['allow_tutorials_view'])

Smoky

#2
ok G6.. thanks..  :D

that did work, just wrong button on it lmao!! is happy again.. more coffee.. almost done.. whipping out my photoshop and time to doodle!! woohooo!!!   :D ;)

IchBin

Smoky, 500+ posts and you still haven't read the sticky posts in here?....
* IchBinâ,,¢ sighs...

Smoky

rofl umm ICH.. i think my eyes were alergic to coding at what time I posted  :2funny: heck im still messing with code  :knuppel2: mmm.. i need kleenex.. im eyes are swollen, and i feel like i been on a 3 day spin.. and this is just for my main part of my site
* Smoky bangs head on floor repeatedly

next i get to re theme a wordpress theme, and code it too.. why oh why.. do we do these things??   :buck2: :2funny:

This website is proudly hosted on Crocweb Cloud Website Hosting.