Drupal - Custom templates - Enter file name

Stagger Lee
1818 Posts
Stagger Lee posted this 19 September 2015

Why dit it lost option to name custom template in Drupal ?
As I remember directly after update I could do it.

I make new custom template, give it title name and template is made without ever giving me option to write filename.

Tested with Desktop too and default theme.

Why dit it lost option to name custom template in Drupal ? As I remember directly after update I could do it. I make new custom template, give it title name and template is made without ever giving me option to write filename. Tested with Desktop too and default theme.

Last edited 21 September 2015 by Support Team

Vote to pay developers attention to this features or issue.
20 Comments
Order By: Standard | Newest
Stagger Lee
1818 Posts
Stagger Lee posted this 19 September 2015

This is error (warning):

The source file "/result/@(fileName)" does not exist.

In this JS code here:

/**
     * Moves a file or directory
     * @param {String} src A path to a source file or directory
     * @param {String} dst A path to a destination file or directory
     */
    FileManager.prototype.move = function move(src, dst) {
        src = normalizedPathCache[src] !== undefined ? normalizedPathCache[src] : (normalizedPathCache[src] = ('/' + src + '/').replace(_pathDelimiter, '/').slice(0, -1));
        dst = normalizedPathCache[dst] !== undefined ? normalizedPathCache[dst] : (normalizedPathCache[dst] = ('/' + dst + '/').replace(_pathDelimiter, '/').slice(0, -1));
        if (dst.indexOf(src + '/') === 0) {
            console.warn('Unable to move the parent directory "' + src + '" to the child directory "' + dst + '".');
            return;
        }
        var fileStorage = this._fileStorage,
            file = fileStorage[src],
            directory = fileStorage[src + '/'];
        if (!file && !directory) {
            console.warn('The source file "' + src + '" does not exist.');
            return;
        }
        if ('/' === dst && file) {
            console.warn('Unable to replace the root directory with "' + src + '" file.');
            return;
        }

        this.copy(src, dst);
        this.remove(src);
    };

This is error (warning): The source file "/result/@(fileName)" does not exist. In this JS code here: /** * Moves a file or directory * @param {String} src A path to a source file or directory * @param {String} dst A path to a destination file or directory */ FileManager.prototype.move = function move(src, dst) { src = normalizedPathCache[src] !== undefined ? normalizedPathCache[src] : (normalizedPathCache[src] = ('/' + src + '/').replace(_pathDelimiter, '/').slice(0, -1)); dst = normalizedPathCache[dst] !== undefined ? normalizedPathCache[dst] : (normalizedPathCache[dst] = ('/' + dst + '/').replace(_pathDelimiter, '/').slice(0, -1)); if (dst.indexOf(src + '/') === 0) { console.warn('Unable to move the parent directory "' + src + '" to the child directory "' + dst + '".'); return; } var fileStorage = this._fileStorage, file = fileStorage[src], directory = fileStorage[src + '/']; if (!file && !directory) { console.warn('The source file "' + src + '" does not exist.'); return; } if ('/' === dst && file) { console.warn('Unable to replace the root directory with "' + src + '" file.'); return; } this.copy(src, dst); this.remove(src); };
Support Team
Support Team posted this 21 September 2015

Hi,

Unfortunately there is no option to change filename of the Custom template in Drupal.
And there was no such option.
You can change only title.
For what cases you need to control the filename?

Thank you,
Olivia

Hi, Unfortunately there is no option to change filename of the Custom template in Drupal. And there was no such option. You can change only title. For what cases you need to control the filename? Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 21 September 2015

I simply want to use Theme Debug in settings.php and name templates as Drupal advice me:

$conf['theme_debug'] = TRUE;

https://www.drupal.org/node/223440

It would go faster with custom templating in Drupal.

I simply want to use Theme Debug in settings.php and name templates as Drupal advice me: $conf['theme_debug'] = TRUE; https://www.drupal.org/node/223440 It would go faster with custom templating in Drupal.
Stagger Lee
1818 Posts
Stagger Lee posted this 21 September 2015

Can I make this as feature request ?
Just change topic icon to yellow one.

Can I make this as feature request ? Just change topic icon to yellow one.
Support Team
Support Team posted this 21 September 2015

Hi,

Yes. I've added your suggestion to our wish list.

Thank you,
Olivia

Hi, Yes. I've added your suggestion to our wish list. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 24 September 2015

I see now in theme setting option to connect Custom Template to specific alias. Missed this in documentation.
There is some more work needed on Drupal templates. Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template.

Right click, Open link disable all controls, dont know why. I see on cloud it works.

Can you just make so we can chose even other custom templates inside "Custom Template" for "Custom page template URL" ?
New custom Blog, Page, Post templates ? And work is done, not needed anything more for Drupal.

I see now in theme setting option to connect Custom Template to specific alias. Missed this in documentation. There is some more work needed on Drupal templates. Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template. Right click, Open link disable all controls, dont know why. I see on cloud it works. Can you just make so we can chose even other custom templates inside "Custom Template" for "Custom page template URL" ? New custom Blog, Page, Post templates ? And work is done, not needed anything more for Drupal.
Stagger Lee
1818 Posts
Stagger Lee posted this 25 September 2015

For instance one problem with this arrangement of custom templates and connecting them to aliases. It is template with Blog list of Posts and adding some box above Page makes one page repeat with same box above, despite it is template used for one Page.

It goes to rearrange sidebars, post content, etc, to achieve what yu want. But whole structure is very different than other templates, despite visitor doesnt see it when visiting website.

For instance one problem with this arrangement of custom templates and connecting them to aliases. It is template with Blog list of Posts and adding some box above Page makes one page repeat with same box above, despite it is template used for one Page. It goes to rearrange sidebars, post content, etc, to achieve what yu want. But whole structure is very different than other templates, despite visitor doesnt see it when visiting website.
Support Team
Support Team posted this 28 September 2015

Hi,

Sorry for the delay.

I see now in theme setting option to connect Custom Template to specific alias. Missed this in documentation.

This information s available at the very bottom of the article in section "How to use the Custom Template in Drupal themes?".

Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template.

Custom Template shows Home page. It will show the list of nodes is no Default Front page specified under the Site Information. We'll try to do something with it.

The problem is that there is a clear division into two themes: basic and preview(used in Themler) in Drupal. Unfortunately we're limited by Drupal in this case.
The templates settings from Appearance >> Settings are specific to basic theme. We can't affect the preview theme from this point.
That's why it's difficult to show the proper node assigned to Custom template in Themler. By default Custom template shows home page.

On the website front end you will see the proper template.

Right click, Open link disable all controls, dont know why. I see on cloud it works.

I can't reproduce this issue on my local Drupal too.
This could be an issue specific to template or page content (a conflict between java scripts or so).
We need to see the issue somehow.
Could you please attach the theme?
Does the issue happen on all pages?

Can you just make so we can chose even other custom templates inside "Custom Template" for "Custom page template URL" ?
New custom Blog, Page, Post templates ? And work is done, not needed anything more for Drupal.

I'm not quite understand what you mean. Could you please explain in some details your proposition?

Thank you,
Olivia

Hi, Sorry for the delay. > I see now in theme setting option to connect Custom Template to specific alias. Missed this in documentation. This information s available at the very bottom of the [article](page:26302) in section "How to use the Custom Template in Drupal themes?". > Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template. Custom Template shows Home page. It will show the list of nodes is no *Default Front page* specified under the *Site Information*. We'll try to do something with it. The problem is that there is a clear division into two themes: basic and preview(used in Themler) in Drupal. Unfortunately we're limited by Drupal in this case. The templates settings from Appearance >> Settings are specific to basic theme. We can't affect the preview theme from this point. That's why it's difficult to show the proper node assigned to Custom template in Themler. By default Custom template shows home page. On the website front end you will see the proper template. > Right click, Open link disable all controls, dont know why. I see on cloud it works. I can't reproduce this issue on my local Drupal too. This could be an issue specific to template or page content (a conflict between java scripts or so). We need to see the issue somehow. Could you please attach the theme? Does the issue happen on all pages? > Can you just make so we can chose even other custom templates inside "Custom Template" for "Custom page template URL" ? New custom Blog, Page, Post templates ? And work is done, not needed anything more for Drupal. I'm not quite understand what you mean. Could you please explain in some details your proposition? Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 28 September 2015

I dont understand. You are in control of preview theme. What is tehnically problem ?

I mean in theme settings so we could attach Blog, Post, Page templates to URL alias.
Dont know if this is possible and how.
Real examlpe: i would like to have one custom Page template and connect it to my static Page URL alias. This way I could get rid of Posts list when styling with Themler and have real and pure Page view.

I dont understand. You are in control of preview theme. What is tehnically problem ? I mean in theme settings so we could attach Blog, Post, Page templates to URL alias. Dont know if this is possible and how. Real examlpe: i would like to have one custom Page template and connect it to my static Page URL alias. This way I could get rid of Posts list when styling with Themler and have real and pure Page view.
Stagger Lee
1818 Posts
Stagger Lee posted this 28 September 2015

Take a look here:
http://answers.themler.com/questions/29834/drupal-custom-templates-improvements

My guess and all statements I have seen is at least 80% of Drupal websites use Views (now in Drupal 8 core).
Yet Themler have no means to style this layout.

Give us some feedback is it possible with Themler. (maybe as additional module for Views layout) As I have seen it naming of template files by us would open for those possibilities. Of course it is not so easy as I say, Themler needs to be aware what it is listing in preview and how.

But you develop for future and future licences, not only for paying Users right now.

Take a look here: http://answers.themler.com/questions/29834/drupal-custom-templates-improvements My guess and all statements I have seen is at least 80% of Drupal websites use Views (now in Drupal 8 core). Yet Themler have no means to style this layout. Give us some feedback is it possible with Themler. (maybe as additional module for Views layout) As I have seen it naming of template files by us would open for those possibilities. Of course it is not so easy as I say, Themler needs to be aware what it is listing in preview and how. But you develop for future and future licences, not only for paying Users right now.
Support Team
Support Team posted this 29 September 2015

Hi,

Sorry for the delay.
I've answered here:
http://answers.themler.com/questions/29834/drupal-custom-templates-improvements

Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template.

Unfortunately due to some Drupal limitations we can't work with preview theme in the same way as in WP or Joomla themes.
In Drupal the preview theme has its own Block settings (region assignment) and Appearance settings (including assignment of templates to nodes). We can't affect the preview theme from the settings of the basic theme. But we found a workaround. For example, you assigned a node/11 to the Custom Template. By right click in Themler preview area you can open this node. In this case you will see a proper template assigned to this node. Unfortunately you will still see the home page in case of switching to Custom Template in a regular way.
This workaround will be available in the next major update.

Please let us know if you have any further questions.

Thank you,
Olivia

Hi, Sorry for the delay. I've answered here: http://answers.themler.com/questions/29834/drupal-custom-templates-improvements > Custom Template gives Blog list for styling, so it is difficult to use it for custom Page template. Unfortunately due to some Drupal limitations we can't work with preview theme in the same way as in WP or Joomla themes. In Drupal the preview theme has its own Block settings (region assignment) and Appearance settings (including assignment of templates to nodes). We can't affect the preview theme from the settings of the basic theme. But we found a workaround. For example, you assigned a node/11 to the Custom Template. By right click in Themler preview area you can open this node. In this case you will see a proper template assigned to this node. Unfortunately you will still see the home page in case of switching to Custom Template in a regular way. This workaround will be available in the next major update. Please let us know if you have any further questions. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 29 September 2015

This workaround with right click and Open link is perfect if consistent.
Have one WP theme where is stopped to work. Goes well when templates are default ones, but as soon it gets complicated and you add more custom templates Open link doesnt allow to edit template anymore. Dont know what problem is.

This workaround with right click and Open link is perfect if consistent. Have one WP theme where is stopped to work. Goes well when templates are default ones, but as soon it gets complicated and you add more custom templates Open link doesnt allow to edit template anymore. Dont know what problem is.
Support Team
Support Team posted this 30 September 2015

Hi,

If possible please provide the access to the CMS admin panel so we can see the issue.
I've moved this topic to Private,

Thank you,
Olivia

Hi, If possible please provide the access to the CMS admin panel so we can see the issue. I've moved this topic to Private, Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 30 September 2015

I found out it is some line of code in my custom functions.php.
(WordPress. For one Drupal theme I cannot find. Backend is allways ultra slow and disabling and enabling all modules would take me forever)
Will inform you about what code snippet is making this.

I found out it is some line of code in my custom functions.php. (WordPress. For one Drupal theme I cannot find. Backend is allways ultra slow and disabling and enabling all modules would take me forever) Will inform you about what code snippet is making this.
Support Team
Support Team posted this 30 September 2015

Ok.
Please let us know if you need our further assistance with this issue.

Thank you,
Olivia

Ok. Please let us know if you need our further assistance with this issue. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 01 October 2015

It was this code in custom functions.php making right click Open link not able to show/edit right template. Anyway it doesnt work anymore, they force folks to buy pro version to remove comment from source code.
(Issue with "Open link" and edit, not issue from this topic)

Maybe you can check it for your own good. Many websites still use this old code.

Can you make topic visible again ?

add_action('get_header', 'rmyoast_ob_start');
add_action('wp_head', 'rmyoast_ob_end_flush', 100);


function rmyoast_ob_start() {
    ob_start('remove_yoast');
}
function rmyoast_ob_end_flush() {
    ob_end_flush();
}
function remove_yoast($output) {
    if (defined('WPSEO_VERSION')) {
        $output = str_ireplace('<!-- This site is optimized with the Yoast WordPress SEO plugin v' . WPSEO_VERSION . ' - https://yoast.com/wordpress/plugins/seo/ -->', '', $output);
        $output = str_ireplace('<!-- / Yoast WordPress SEO plugin. -->', '', $output);
    }
    return $output;
}
add_filter( 'wpseo_use_page_analysis', '__return_false' );

It was this code in custom functions.php making right click Open link not able to show/edit right template. Anyway it doesnt work anymore, they force folks to buy pro version to remove comment from source code. (Issue with "Open link" and edit, not issue from this topic) Maybe you can check it for your own good. Many websites still use this old code. Can you make topic visible again ? add_action('get_header', 'rmyoast_ob_start'); add_action('wp_head', 'rmyoast_ob_end_flush', 100); function rmyoast_ob_start() { ob_start('remove_yoast'); } function rmyoast_ob_end_flush() { ob_end_flush(); } function remove_yoast($output) { if (defined('WPSEO_VERSION')) { $output = str_ireplace('<!-- This site is optimized with the Yoast WordPress SEO plugin v' . WPSEO_VERSION . ' - https://yoast.com/wordpress/plugins/seo/ -->', '', $output); $output = str_ireplace('<!-- / Yoast WordPress SEO plugin. -->', '', $output); } return $output; } add_filter( 'wpseo_use_page_analysis', '__return_false' );
Support Team
Support Team posted this 02 October 2015

Hi,

I've found that this code removes page title.
This could be a reason. But I failed to reproduce this issue on my side. I've installed the plug-in and added your code to the functions.php:

  1. it does not work with latest version of plug-in
  2. it removes page title
  3. The Open Link feature works ok.

But, anyway, your information may be helpful to other customers.
I've moved this topic to Public.

Thank you,
Olivia

Hi, I've found that this code removes page title. This could be a reason. But I failed to reproduce this issue on my side. I've installed the [plug-in][1] and added your code to the functions.php: 1. it does not work with latest version of plug-in 2. it removes page title 3. The Open Link feature works ok. But, anyway, your information may be helpful to other customers. I've moved this topic to Public. Thank you, Olivia [1]: https://wordpress.org/plugins/wordpress-seo/
ckg94073
24 Posts
ckg94073 posted this 10 January 2026

Tested with Desktop too and default theme. Salesforce Rev-Con-201 Dumps

Tested with Desktop too and default theme. **[Salesforce Rev-Con-201 Dumps](https://www.exactinside.com/Rev-Con-201-exactdumps.html)**
iamsubhkumarr
1 Posts
iamsubhkumarr posted this 13 January 2026

The information shared about masked my aadhaar is extremely helpful. It clearly explains how to protect personal information while sharing Aadhaar for verification, banking, or online document submission purposes.

The information shared about masked [my aadhaar][1] is extremely helpful. It clearly explains how to protect personal information while sharing Aadhaar for verification, banking, or online document submission purposes. [1]: https://myaadhaaruidailink.com/
Abbas Khan
195 Posts
Abbas Khan posted this 04 March 2026

Even though the image is static, these micro-details trick the viewer’s mind into perceiving movement and vibrancy. High-resolution quality is essential, as pixelated or blurry images reduce professionalism and weaken the aura effect. Cropping must be precise so the subject remains centered even when displayed in small circular frames on mobile screens. A successful kuromi pfp balances artistic creativity with technical clarity, ensuring it looks powerful on both large monitors and small smartphones.

Even though the image is static, these micro-details trick the viewer’s mind into perceiving movement and vibrancy. High-resolution quality is essential, as pixelated or blurry images reduce professionalism and weaken the aura effect. Cropping must be precise so the subject remains centered even when displayed in small circular frames on mobile screens. A successful **[kuromi pfp][1]** balances artistic creativity with technical clarity, ensuring it looks powerful on both large monitors and small smartphones. [1]: https://aurapfp.com/cute-kuromi-pfp/
You must log in or register to leave comments