![]() |
|
#1
|
||||
|
||||
|
I have added some modules to my front page. In orvder to do so I created some templates. I named the templates like the directions told me to but they will not fall under the subcategory in the templates called "'vBadvanced CMPS Templates". They stand alone by themselves. I titled them as follows: adv_portal_paid, adv_portal_sponsor. I also put the proper command in the includes/adminfunctions_template.php. The command is: 'adv_portal' => 'vBadvanced CMPS',
Why won't they work and foll under the 'vBadvanced CMPS Templates? |
|
#2
|
||||
|
||||
|
I'm honestly not sure why the don't appear with the rest, but will be looking into it.
|
|
#3
|
||||
|
||||
|
Yes it blows my mind because I have group other templates like this and it works. I look at the spelling and it seems to be correct. So I am baffeled. It is really bugging me.
|
|
#4
|
||||
|
||||
|
I know it groups 'index_' templates with the homepage, and I don't think there's anything different with the way the templates and such are handled with the two, so I'm not quite sure why the CMPS templates aren't grouped with the others. I'll take a look at the functions real quick to see if I see anything obvious...
|
|
#5
|
||||
|
||||
|
I have created one myself and put it in the includes/adminfunctions_template.php. It is: 'articles' => 'Articles', and I have titled all my templates articles_name1, articles_name1, and so on. They all work when ever I add a new template. So what is freaking me is that this is no differenet. Unless it has something to do with the way they were installed when we ran the install for CMPS and it installed the origanol ones.
I will shut up and wait patiently for your findings. LOL. |
|
#6
|
||||
|
||||
|
I am assuming that you have had no luck with this yet Brian? I have a couple friends that are running CMPS who have the same problem. So I know it is not just me.
|
|
#7
|
||||
|
||||
|
Brian I guess you just gave up on this problem?
|
|
#8
|
||||
|
||||
|
Not really... I figured out that the problem is in the way the vBa templates are named. Since they have two '_' marks in their names, that's what's causing them not to be able to be grouped with the rest. I'll probably change the naming structure in a future version though.
|
|
#9
|
|||
|
|||
|
Quote:
also, why do the stock templates fall into the proper category? Last edited by Popsicle Pete; 01-13-2005 at 01:35 PM. |
|
#10
|
||||
|
||||
|
Because of the way they're named. Your articles templates will be named something like 'article_whatever_somethingelse', and it will group all templates that start with 'article' together. Since vBa products start with 'adv_productname', the only way to group custom templates would be to group all templates that start with 'adv' together.
|
|
#11
|
|||
|
|||
|
Quote:
why do the stock templates group properly then? it uses this: 'adv_portal' => 'vBadvanced CMPS', to add the category to the array. it groups appropriately named templates. for instance, adv_portal_news_archive or adv_portal_polloption_multiple edit-i also noticed it goups all my adv_links templates properly as well. Last edited by Popsicle Pete; 01-13-2005 at 01:45 PM. |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Module: Templates Used blocked | Edric | Troubleshooting / "How do I..." Questions | 4 | 07-08-2004 01:30 PM |
| Adding new pages, modules, templates for dummies. | Pro | Troubleshooting / "How do I..." Questions | 1 | 05-21-2004 09:44 PM |
| How do I move templates into a folder? | joeychgo | Troubleshooting / "How do I..." Questions | 3 | 05-18-2004 06:12 AM |