The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template Discovery
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. 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. . . . |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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 .... and repeat it in here. . . 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. :up: |
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
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. Perhaps you are right but I am still ignorant enough to believe there must be a way to do it. The thing is there in front of me so the information has to come from somewhere. . |
#7
|
||||
|
||||
I meant to say via templates. It might be constructed within the php files.
|
#8
|
||||
|
||||
Ah ha! I thought there might be a catch...
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. . . |
#9
|
||||
|
||||
No, it can only see what the browser does, and the browser cannot see PHP code, as it is rendered, by the server, into HTML.
|
#10
|
||||
|
||||
Bugger!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|