Alright call me dumb but I have been sitting here all day trying to figure out how to alter this dang form. Simple task most likely but I am mainly a graphic designer anyways. So here is what I've done, and what I have. I am utilizing drupal 6.8 with views 6.x-2.2. I have created the views-exposed-form--viewname--displayname.tpl.php with the view name I have created and the displayname, I have a few different displays I don't know if that matters. I have the block that was created by the "Exposed form in block: YES" configuration. placed in the content of a test page associated etc etc. I then copied call the content from the /views/themes/views-exposed-form.tpl.php into my views-exposed-form--viewname--displayname.tpl.php in addition to that I put a
inserted some bad language here
And then I pressed on the "Tools Tab" under views clicked that cool little Clear views' cache button. then ran a cron. Refreshed the page I tested virtually every combination of that .tpl.php file name in both my themes directory and the views/themes directory and still nothing is happening I am so lost I want to know if I am doing something wrong or what. I have been getting help from the following pages:
http://views.doc.logrus.com/group__views__templates.html
http://drupal.org/node/262270
http://views.doc.logrus.com/
Anyways any feedback would be great I am kinda losing my mind (apparently there's not much to lose but still) Let me know if anyone needs any more information to possibly give me additional assistance
Comments
Comment #1
erantone commentedOn edit page of the view, go to "Basic Settings", "Theme: Information", then press "Rescan Template Files" button, then press "Ok" button, and "Save"
Check if it has changed afterwards.
Good luck!
Comment #2
merlinofchaos commentedOne thing to check: displayname should actually be the display id of the display, not the title you entered. So be sure to check theme: information.
Otherwise...what you're doing should have worked, I think. I'm not sure what else might be wrong.
Comment #3
yang_yi_cn commentedI have a view called 'challenge_list', which has one exposed filter, printing through the $form shows the following:
<?code
[#theme] => Array
(
[0] => views_exposed_form__challenge_list__block_1
[1] => views_exposed_form__block_1
[2] => views_exposed_form__challenge_list__block
[3] => views_exposed_form__block
[4] => views_exposed_form__challenge_list
[5] => views_exposed_form
)
?>
I tried views_exposed_form__challenge_list.tpl.php and views_exposed_form.tpl.php, they both works, however views_exposed_form__challenge_list__block_1.tpl.php doesn't.
Any idea?
Comment #4
merlinofchaos commentedConvert _ to - when creating a template file.
Comment #5
dawehnerso this should work, i think this can be marked as fixed
Comment #6
merlinofchaos commented