I am trying to rewrite some php statements that we in a page template. The statements now need to go into a Global PHP field using the Views PHP module, It seems statements have to be altered to work correctly.
How can I change the statement below to check if there is data? <?php if ($row->field_story) : ?>
I tried these below but they did not work:
Will you UPDATE DRUPAL 6 Website to DRUPAL 7 or DRUPAL 8 ? Aren't all these updates ridiculous for most of us ?
Hello,
As it seems that I am not the only one who thinks that it's useless to update D6 (drupal 6) websites that are working well please come and tell what you think ?
Someone is telling me that, when they try to open my site, they get this message
warning: mail() [function.mail]: SMTP server response: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. in E:\Inetpub\vhosts\climatecalm.org\httpdocs\drupal2\includes\mail.inc on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.
I have a page mysite.com/mypage In page.tpl.php there is a variable $content. I would like to access it's executed value as a URL related to the original page's URL, something like mysite.com/mypage.plain.
I want to do that without having to create a page-node-xx.tpl.php for each page.
I have looked for a while for a solution to this but didn't find anything, so the community is my last resort.
On my website I use the same standard content structure that is very time consuming to format even with an editor.
I use three or four types of content snippets in a page, and one content snippet can contain a title, an image, and text, while another snippet can contain a title, text and youtube media, or another can contain text and a little ad.