stvcg00
Forum Replies Created
-
Forum: Plugins
In reply to: Base PHP Classes Plugins Sharing Classes and Organization?I also noticed that you can load your library into the themes “functions.php” and the “functions.php” loads before the plugins load…
Therefore i can load all my based classes in this file and then extend customized plugins from “functions.php” It seems kind of unorganized but it seems to works…
It would be great if word press had to levels of customization…. the plugin folder and a global library folder the library folder would be a folder where one can upload base classes to where you could utilize these in your theme and plugins… this will help me reuse code.
Forum: Plugins
In reply to: Base PHP Classes Plugins Sharing Classes and Organization?Thank you for replying! =O) =O) =O) =O)
I greatly appreciate it! =O) =O) =O) =O)
Option 2 seems like the more times you load a library the more to would compound on performance because you are increasing the amount of code to be executed?
Also I noticed I have to name each class differently because it can not load it multiple times or it generates and error…
I tried Option 1 in my theme but it doesn’t seem to share over to a plugin and theme but generates an error because the plugin will not see the class but the theme will and vice versa?
Forum: Plugins
In reply to: Base PHP Classes Plugins Sharing Classes and Organization?Please? anyone??…
I am so frustrated with wordpress right now…Forum: Plugins
In reply to: Base PHP Classes Plugins Sharing Classes and Organization?Uhg… Can any one help?
Forum: Requests and Feedback
In reply to: A Question About Future CodexThanks I will sign up
opps I found it =O)
I am getting this “notice” to… did you figure out how to remove it?
Forum: Requests and Feedback
In reply to: A question… Post table & page templatethanks… I guess the template hierarchy is so themes can handle one off pages or pages that are slightly unique in behavior…
That is kind of a bummer… =T in future versions i was hoping it would evolve so plug panels could load based on the selected template…
I find my authors get over very whelmed by all the custom fields and plug panels… It would be great if I could just reference the theme file name in the default loop data… therefore I can show the panels that are important to that theme template…
Forum: Requests and Feedback
In reply to: A question… Post table & page templateHi esmi…
Thanks for the reply… can you clarify what you mean by “strict hierarchy to determine what template file to use”? Are you referring to posts using the “comments.php” and other theme files that relate to threads?
If so this brings up another question… why make those theme template files? Why not make the PHP class therefore one could just reference them from a library and then instantiate the class when needed… sort of like code ignitor?
Thanks! =O)