theme_filter module that will add an input filter which will convert the string or a token type string.
[theme:THEME_NAME] to related path /themes/THEME_NAME or sites/themes/THEME_NAME and
[theme:THEME_NAME:absolute] to absolute theme path like http://site-url/themes/THEME_NAME OR
http://site-url/sites/all/themes/THEME_NAME to be used to render the images from theme path.
1st way (without token_filter)::
---------
Select the text format for which you have enabled the filters, add this text to body part where You want
to use the theme path. Available tokens are
[theme:THEME_NAME] => ([theme:bartik] => /themes/bartik),
[theme:THEME_NAME:absolute] => ([theme:bartik:absolute] => http://sitename.com/themes/bartik),
[path-to-theme] => ([path-to-theme] => /themes/bartik),
[path-to-theme:absolute] => ([path-to-theme:absolute] => http://sitename.com/themes/bartik).
2nd way (with token_filter)::
--------
This module provides token to be used anywhere in the site with token module.
Here are the available tokens,
[theme-filter:theme:THEME_NAME]
[theme-filter:theme:THEME_NAME:absolute]
[theme-filter:path-to-theme]
[theme-filter:path-to-theme:absolute]
Sandbox Path:
https://www.drupal.org/sandbox/developermitesh/2317507
Git clone
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/developermitesh/2317507.git theme_filter
Comments
Comment #1
miteshmapComment #2
PA robot commentedProject 1: https://www.drupal.org/node/2422299
Project 2: https://www.drupal.org/node/2316587
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxdevelopermitesh231750...
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
miteshmapAutomated Review
Here is the result url, no error found.!
http://pareview.sh/pareview/httpgitdrupalorgsandboxdevelopermitesh231750...
Comment #5
kscheirerSorry, the bot got confused. @developermitesh you already have "git vetted user" status, and can publish your own projects. Closing this application.
Comment #6
avpaderno