This forum is for assistance with theme development.

Include TPL file from remote server?

Hey!

So forgive me, I've only recently started using 'include' to load TPL files from my theme folder. What I was wondering was if there was a way to load a TPL file from an external server? I'm managing a base/sub theme combo for a large university, and I'd like to be able to load TPLs for the header, main menu, footer, etc. It would be really awesome if I could externalize the TPL files for loading into page.tpl.php (I'm using Zurb Foundation 5).

safe_value strips numbers

We have a template that was developed by a vendor and there are lines like the following in it: 

<td><?php print_r($singleuser->field_telephone['und'][0]['value']); ?></td>

Which have been flagged by an Acquia report as being problematic. When I change it to..

Little pencil icon to edit blocks not appearing

Hi Everybody,

I recently joined to a new work where they have Drupal for the company portal, I have the admin role but i'm not able to edit the pages using chrome, the little pencil icon is not appearing, same thing with firefox. It only works with IE, but it is slow to work editing the pages.

Any idea how to solve this issue?

Thanks in advance.

Ruben B

Invoking simple jquery action in theme

In my new theme I have written mytheme/js/custom.js where there's a jQuery(document).ready(function($){ }) function where some required loading of actions are written and they work.

I know that my custom.js is listed correctly in the mytheme.libraries.yml because when I go to the browser's inspection tool I see this file listed as a resource and I can see this file.

Customer wanted to color a div that is autogenerated by ckeditor so that's not easy to do without loading up on more custom modules. Which is heavy enough with other modules.

legal module uninstalled but user login still gets :_legal/accept_new?destination=user

apologies....just fixed it was the site disclaimer module.....I tried to delete this post but was unable to

hello drupal people ,

after looking around on the internet and searching for an answer to my problem a user login still gets this url after having uninstalled the legal module .Every user  , except the administrator gets redirected to : www.mysitesname/_legal/accept_new?destination=user .Does anyone has had this problem and how can I fix it ?

thanks in advance

Remove odd/even style

Hello, I’m a newbie to Drupal, passing one tutorial. I try to employ a theme from this tutorial for the site, watching how different components and functions affect the final appearance. To find an archive with theme follow the link to the files posted by the book’s author.

Pages

Subscribe with RSS Subscribe to RSS - Theme development