![]() |
Template Discovery
1 Attachment(s)
Can anybody briefly describe how to find the name of a template to edit?
I use Firefox and Firebug to help with css and stuff but haven't tapped into the knowledge on how to find the names of templates. For example: I am trying to find the name of this template to add something to it. https://vborg.vbsupport.ru/attachmen...1&d=1453484530 I can select it within Firebug but where do I read the name of the template so I can edit it? Firebug tells me this. . . Code:
.b-editor .cke_top { Is this the correct procedure? Much obliged. . . . |
Quote:
|
Yes, that's usually the right way to search for templates.
However keep in mind that in some cases the HTML/CSS is dynamically generated by JavaScript or PHP which will make it harder to find the actual location. |
1 Attachment(s)
Quote:
Quote:
I thought I had mastered Firebug but not at all. css things I can do but finding templates is difficult. Basically, I want to copy the smilie function from where it is .... https://vborg.vbsupport.ru/attachmen...1&d=1453490548 and repeat it in here. . . https://vborg.vbsupport.ru/attachmen...1&d=1453491128 Not proving to be an easy task. I have managed to locate the smilie and where it lives (I think) but can't figure out how to repeat it in the other location. Can't help wondering if there was an easier way to find the required template but it seems I am doing it the right way. Thanks for that but none the wiser. :eek::up: |
That is part of the bbcode editor bar, I'm not sure you can rearrange them like that, but I have never looked at vb5 so I'm not 100% sure.
Try searching the templates for just cke_top |
Quote:
There is only 107 lines but I don't know really what I am looking for. I guess I just have to keep messing about with it. Quote:
|
Quote:
|
Quote:
I have looked at php files and I can't make any sense of them either. Even less sense than anything else I have looked at with this pass time. I will look again tomorrow. Does Firebug help in finding which php file is the one that should be looked at? Ta. . . |
Quote:
|
Quote:
|
All times are GMT. The time now is 02:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|