×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to Customize a tag {SAMPLE_TAG}

How to Customize a tag {SAMPLE_TAG} 14 years 4 weeks ago #9383

  • Dante
  • Dante's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi there... I have try last week change the code on index.html, to create a new tags, like this:

{BLOCK-MYTAG}
{MYTAG}
{/BLOCK-MYTAG}

But I not having any ideia how to change this tags, for my only...
What should I do, to get this TAGS working...

I have try it:
.
.
.
           /* {PRINT}                                       */	    
	    $display    = $this->alreadyRegistered();
	    $html 		= JOSC_utils::checkBlock('BLOCK-PRINT', $display, $html);
	    if($display){
	    	$html       = str_replace('{MYTAG}', $display, $html);	
	    }

Any Ideas? Thanks ALL!

How to Customize a tag {SAMPLE_TAG} 14 years 3 weeks ago #9389

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
the way you did it, looks perfectly ok for me. Isn't it working or what?

ah and keep in mind that different functions in code process different code. For example the form is processed from another function than the post.
  • Page:
  • 1
Time to create page: 0.094 seconds