Miből tudhatod meg, hogy egy drupal oldalnak átírták a kezdőlapját a Webhely-információk menüpontban? Onnan, hogy a böngésző címsorában nem látható a feed ikon. Most ezt gyógyítjuk meg, mivel olyan kényes területe ez a drupalnak, amihez hosszas keresgélés, rengeteg meg nem válaszolt issue-t látva sikerült összeszedni minden szükséges info-t.
A standard drupal megjelenítés alapból háromféleképp jeleníthet meg feed ikont.
1. Blokk-ban. Ez bármikor elérhető, így ha a kezdőlapon rss ikon van, de a böngésző címsorában nincs, akkor egy blokkot látsz.
2. Böngész címsora. Ez a honlap fejlécében található, valami ilyesmi:
[geshifilter-code]<head> <link href="rss.xml" title="Honlap címe" type="application/rss+xml" rel="alternate"> </head>[/geshifilter-code]
3. RSS ikon, általában a tartalmi rész alatt - bár ez sminktől függő. Ez a page.tpl.php $feed_icons nevű változója.
Az elsővel ugye nincs gond, bármikor kitehetjük, de az utolsó kettő bizony eltűnik, ha nem a http://oldalad.hu/node a beállított kezdőlap.
Maga a kód tök egyszerű, viszont vagy marha sok forrásból sikerült összetúrni, muszáj vagyok levésni, hogy legközelebb tudjam. Szóval a smink template.php-jébe kell beírni, illetve a page preprocesst kiegészíteni.
[geshifilter-drupal6]function sminkneve_preprocess_page(&$vars, $hook) { if ($vars['is_front']) { $title = variable_get('site_name', 'Drupal') .' '. t('RSS')) $feed_url = url('rss.xml', array('absolute' => TRUE)); drupal_add_feed($feed_url, $title); $vars['head'] = drupal_get_html_head(); $image = theme('image', path_to_theme() . '/images/rss.png', t('Syndicate content'), $title) ; $vars['feed_icons'] = '<a href="/rss.xml" class="feed-icon">' . $image . '</a>' ; } }[/geshifilter-drupal6]
Az url('rss.xml') akár egy views által generált feed útvonala is lehet. A $title-t is alakíthatjuk úgy, ahogy akarjuk.
Ha valakinek van jobb megoldása, hajrá, bár ez az idióta blog.hu már egyáltalán nem enged reg nélkül kommentelni, szóval remélem az új bejegyzés már a saját oldalamon készül.
Pláne, hogy az aboros által javasolt "perverz sminkelési technikák" címmel sem valószínű, hogy kikerülök a címoldalra. :)
Hozzászólások
Way cool! Some extremely
Way cool! Some extremely valid points! I appreciate you writing this article plus the rest of the website is also really good.|
Hi there, of course this
Hi there, of course this piece of writing is in fact pleasant and I have learned lot of things from it concerning blogging. thanks.|
you're in point of fact a
you're in point of fact a excellent webmaster. The web site loading speed is amazing. It seems that you're doing any unique trick. In addition, The contents are masterpiece. you've done a great activity in this topic!|
Appreciate the
Appreciate the recommendation. Let me try it out.
Do you mind if I quote a
Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your weblog? My website is in the very same area of interest as yours and my users would really benefit from a lot of the information you present here. Please let me know if this okay with you. Thanks!|
That is a really good tip
That is a really good tip particularly to those new to the blogosphere.
Simple but very accurate info… Thanks for sharing this one.
A must read post!
Thanks for sharing your info.
Thanks for sharing your info. I truly appreciate your efforts and I will be waiting for your further write ups thank you once again.
Very descriptive blog, I
Very descriptive blog, I loved that bit.
Will there be a part 2?
What's up to every one, the
What's up to every one, the contents existing at this
web site are actually awesome for people knowledge, well, keep up the good work fellows.
FlexBuild Huntington Beach Concrete Company
2520 Florida St, Huntington Beach, CA 92648
714-410-5374
suzannaweiss98719 [at] gmail [dot] com
Very descriptive article, I
Very descriptive article, I enjoyed that bit. Will there be a part 2?
Hello i am kavin, its my
Hello i am kavin, its my first occasion to commenting anywhere,
when i read this piece of writing i thought i could also make comment
due to this brilliant paragraph.
Its not my first time to
Its not my first time to visit this website,
i am browsing this web page dailly and get
pleasant data from here everyday.
Does your website have a
Does your website have a contact page? I'm having
trouble locating it but, I'd like to shoot you an e-mail.
I've got some ideas for your blog you might be interested in hearing.
Either way, great site and I look forward to seeing it
improve over time.
It's actually a nice and
It's actually a nice and useful piece of info. I'm glad that you just shared this useful info with us.
Please stay us informed like this. Thank you for sharing.
Independance Immobilière -
Independance Immobilière - Agence Dakar Sénégal
Av. Fadiga, Immeuble Lahad Mbacké
BP 2975 Dakar
+221 33 823 39 30
Agence Immobilière Dakar
Hello, i think that i saw you visited my site thus i came to “return the favor”.I am attempting to
find things to enhance my web site!I suppose its ok to use some
of your ideas!!
Hey there! I know this is
Hey there! I know this is kind of off topic but I was wondering if
you knew where I could get a captcha plugin for my comment form?
I'm using the same blog platform as yours and I'm having difficulty finding one?
Thanks a lot!
Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com
Excellent post. I was
Excellent post. I was checking continuously this blog and I'm impressed!
Extremely helpful information specifically the last part :)
I care for such info a lot. I was seeking this certain info for a
very long time. Thank you and best of luck.
It's really a cool and useful
It's really a cool and useful piece of information. I'm satisfied that you just
shared this useful information with us. Please keep us up to date
like this. Thanks for sharing.
I was recommended this blog
I was recommended this blog by my cousin. I am no longer positive whether this publish is written via him as nobody else recognize such designated approximately my trouble. You are amazing! Thank you!|
Hey there! This is my 1st
Hey there! This is my 1st comment here so I just wanted to give a quick shout out and say I really
enjoy reading through your articles. Can you recommend any other blogs/websites/forums that go over the same topics?
Thanks for your time!
Everyone loves what you guys
Everyone loves what you guys are up too. This kind of clever work and coverage!
Keep up the very good works guys I've added you guys to our blogroll.
M.E.C Mon Electricien
M.E.C Mon Electricien Catalan
44 Rue Henry de Turenne
66100 Perpignan
0651212596
Electricien Perpignan
bookmarked!!, I really like your site!
you are in reality a good
you are in reality a good webmaster. The website loading pace is amazing.
It sort of feels that you are doing any unique trick. Furthermore,
The contents are masterwork. you've done a fantastic task in this matter!
Undeniably believe that which
Undeniably believe that which you stated.
Your favorite justification appeared to be
on the net the easiest thing to be aware of. I say to you, I definitely get irked while
people consider worries that they just do not know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having
side-effects , people can take a signal. Will probably be back
to get more. Thanks
It's a shame you don't have a
It's a shame you don't have a donate button! I'd without a doubt donate to this superb blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account. I look forward to fresh updates and will talk about this blog with my Facebook group. Talk soon!|
Thanks for the auspicious
Thanks for the auspicious writeup. It actually used to be a enjoyment account it.
Glance advanced to more delivered agreeable from you!
By the way, how could we keep up a correspondence?
Independance Immobilière -
Independance Immobilière - Agence Dakar Sénégal
Av. Fadiga, Immeuble Lahad Mbacké
BP 2975 Dakar
+221 33 823 39 30
Agence Immobilière Dakar
We are a group of volunteers and opening a new scheme in our community.
Your web site offered us with valuable info to
work on. You've done a formidable job and our
whole community will be grateful to you.
It's a shame you don't have a
It's a shame you don't have a donate button! I'd definitely donate to
this superb blog! I guess for now i'll settle for book-marking and adding your
RSS feed to my Google account. I look forward to brand new updates and
will share this website with my Facebook group.
Talk soon!
I could not resist
I could not resist commenting. Well written!
Wow that was odd. I just
Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn't show up. Grrrr... well I'm not writing all that over again. Anyways, just wanted to say great blog!|
Hey There. I discovered your
Hey There. I discovered your weblog the use of msn. That is an extremely neatly written article.
I'll make sure to bookmark it and come back to read
extra of your useful information. Thank you for the
post. I'll certainly comeback.
Yes! Finally someone writes
Yes! Finally someone writes about ig.
Taxi moto line 128 Rue la
Taxi moto line
128 Rue la Boétie
75008 Paris
+33 6 51 612 712
Taxi moto paris
Ridiculous quest there. What occurred after? Thanks!
Attractive section of
Attractive section of content. I just stumbled upon your web site and in accession capital
to assert that I get actually enjoyed account your blog posts.
Any way I'll be subscribing to your augment and
even I achievement you access consistently fast.
I like the helpful info you
I like the helpful info you provide in your articles. I'll bookmark your weblog and check again here frequently.
I'm quite sure I'll learn a lot of new stuff right here!
Best of luck for the next!
Terrific work! That is the
Terrific work! That is the type of information that should be shared across the web.
Shame on Google for not positioning this submit
higher! Come on over and discuss with my site .
Thank you =)
Hey! Someone in my Myspace
Hey! Someone in my Myspace group shared this website
with us so I came to check it out. I'm definitely loving the information. I'm bookmarking and will be
tweeting this to my followers! Wonderful blog and terrific
design.
It's enormous that you are
It's enormous that you are getting thoughts from this paragraph as well as from our argument made at this place.|
I read this paragraph
I read this paragraph completely concerning the resemblance of hottest and previous technologies, it's remarkable article.
It's in fact very difficult
It's in fact very difficult in this active life to listen news on TV, so I just use internet for that reason, and take the
newest news.
Hello it's me, I am also
Hello it's me, I am also visiting this web page on a regular basis, this site
is actually fastidious and the users are really sharing good thoughts.
Hi there! Someone in my
Hi there! Someone in my Facebook group shared this website with us so I came
to look it over. I'm definitely loving the information. I'm book-marking and will be tweeting this to my followers!
Great blog and outstanding style and design.
Quality articles or reviews
Quality articles or reviews is the main to be
a focus for the users to pay a quick visit the site, that's
what this web site is providing.
Willie G youllied hello there
Willie G youllied
hello there and thank you for your information – I've certainly picked up something new from
right here. I did however expertise a few technical points
using this website, since I experienced
to reload the site a lot of times previous to I
could get it to load correctly. I had been wondering if your web host is OK?
Not that I am complaining, but sluggish loading instances times will
sometimes affect your placement in google and could damage your quality
score if advertising and marketing with Adwords. Well I
am adding this RSS to my e-mail and could look out for much more of your respective intriguing content.
Ensure that you update this again soon.
It's very trouble-free to
It's very trouble-free to find out any topic on net as compared to books, as I found this article at this
web site.
Woah! I'm really enjoying the
Woah! I'm really enjoying the template/theme of this website.
It's simple, yet effective. A lot of times it's very hard to get
that "perfect balance" between usability and appearance.
I must say that you've done a amazing job with this.
Also, the blog loads very quick for me on Chrome. Superb
Blog!
We are a group of volunteers
We are a group of volunteers and starting a new scheme in our community.
Your site offered us with valuable information to work on. You've done an impressive job and
our entire community will be grateful to you.
It's an awesome paragraph in
It's an awesome paragraph in support of all the internet
people; they will obtain benefit from it I am sure.
It's hard to come by educated
It's hard to come by educated people for this topic, however, you seem like you know what you're talking about! Thanks|
I am regular reader, how are
I am regular reader, how are you everybody? This piece of writing posted at this web site is really
pleasant.
Hozzászólás