Topic-icon {JFBCLogin} has disappeared

Active Subscriptions:

None
10 years 2 weeks ago #43483 by imeoda
I put {JFBCLogin} script in my login module (BT_Login) and went well but when i uploaded it on my webspace after sometime disappeared.
My test site is on:
www.new-events.it/demo/liguriasconti/index.php

And here how it worked on my localhost


Thanks for help
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43485 by alzander
I'm not sure.. my best guess is that your change wasn't properly uploaded or that you already have a template override for that file, so the upload you made isn't taking effect.

Can you edit the {JFBCLogin} tag to look like:
TEST{JFBCLogin}TEST
That should at least show TESTTEST after JFBConnect has removed our tag, and will help narrow down if your changes are taking affect.

Also, the {JFBCLogin} tag generally will just show a blue "Facebook" button, not what you show in your image. If you want a custom image like above, we can help you with the HTML you'd need to implement that.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43488 by imeoda
Replied by imeoda on topic {JFBCLogin} has disappeared
Thanks for answer Alex,

first of all, i changed the button_facebook.png file to make it look like that. Is there a better and proper solution to achieve that?

Then i tried with
TEST{JFBCLogin}TEST
but nothing appears.

At last i put a custom HTML with {JFBCLogin} and worked.

So i conclude i put the code in a part of the page where it doesn't work properly.

Here the part of the code where i inserted it:
<div class="btl-buttonsubmit">						
						<button type="submit" class="btl-buttonsubmit" onclick="return registerAjax()" >
							<?php echo JText::_('JREGISTER');?>							
						</button>
						 
						<input type="hidden" name="task" value="register" /> 
						<?php echo JHtml::_('form.token');?>
					</div>
			</form>
			<!-- if  integrated any component -->
			<?php }else{ ?>
				<input type="hidden" name="integrated" value="<?php echo $linkOption?>" value="no" id="btl-integrated"/>		
			<?php }?>
		</div>
						
		<?php } ?>
	<?php } ?>
	
	</div>
	<div class="clear"></div>
</div>
<br/>
TEST{JFBCLogin}TEST
<script type="text/javascript">
/*<![CDATA[*/
var btlOpt = 
{
	BT_AJAX					.......................
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43494 by alzander
If TESTTEST doesn't show, you're editing the wrong *file*, not the wrong location in the file. You'll need to determine why that text isn't showing first, because if that's not displaying, JFBConnect won't see the {JFBCLogin} tag either to replace it.

My best guess is that you have a template override of that file, but it could be many different things that makes the file you're editing the wrong file.

I hope that helps get you started,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43505 by imeoda
Replied by imeoda on topic {JFBCLogin} has disappeared
Thanks
i see your point but i'm a little confused because on my local server (the screenshot prove that) and the first minutes i uploaded the file i could see the button. :/
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43510 by alzander
I'm clueless as well to. I don't know your server configuration, so I can't be sure what's actually happening on the live site. If the TESTTEST text isn't showing though, that's a sign that the file you're editing isn't being parsed at all.

My suggestion is to add other text or alter text that's already there to verify things. Additionally, check your /templates/<YOUR_TEMPLATE>/html/mod_xyz directory for your module and make sure there isn't already a template override in that directory. If so, you need to make sure you're editing that file.

Beyond that, there's not much we can do since it's not our tag that isn't being processed, it's everything. If you get to a point where your changes are taking effect but the tag isn't stripped, we should be able to gladly help you from there.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43523 by imeoda
Replied by imeoda on topic {JFBCLogin} has disappeared
Yes there is a template override.... now it works fine.
Thank you very much for help
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43527 by alzander
Figured that was the cause. Glad to hear we could help get you going. If you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.