Guest User

Untitled

a guest
Jun 7th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. <kappaluppa> I am in the middle of a huge huge debate on a subject and and I am looking for someone who can give me about 10 minutes to help me understand if I am approaching something correctly or not
  2.  
  3. <BenjaSattva> I am trying to dynamically set the title on a panel page consisting of 15+ views driven by a Taxonomy Term argument. So far it is blank or Displays [cat] or [term-name]. I've tried Page_Title, Novewords_Page_Title, and Taxonomy_Title to no avail. Any ideas?
  4.  
  5. <kthomas1> kappaluppa,
  6.  
  7. <kthomas1> justask?
  8.  
  9. <readyman> ownage: Not sure of the context. If it's not in your .info file, then I don't think it will appear in your template.
  10.  
  11. <Druplicon> Just ask your question. No need to ask to ask, ask if anyone knows or is using something, or other preface. Just Ask.
  12.  
  13.  squiggy has quit (Quit: squiggy)
  14.  
  15. <kappaluppa> ok...
  16.  
  17. <kthomas1> :P
  18.  
  19. <kappaluppa> I am working on a site that we are updating look and feel. the site is established, and multilingual
  20.  
  21. <kappaluppa> there are some nodes that have titles, images and links that need to be changed to reflect the styles
  22.  
  23. <kappaluppa> one content type is a carousel
  24.  
  25. <kappaluppa> there are new images for the carousel
  26.  
  27. <kappaluppa> nothing else changes
  28.  
  29. <kappaluppa> my approach was to remove the image and add the new image
  30.  
  31.  sam1am (~sam1am@unaffiliated/sam1am) has joined #drupal-support
  32.  
  33. <kappaluppa> there are four such instances all views
  34.  
  35. <kappaluppa> since the site is many languages there are repeated nodes in the different languages
  36.  
  37. <kiwiact> kappaluppa: I don't quite understand the problem
  38.  
  39. <kappaluppa> again, my approach was to change the existing node
  40.  
  41.  drfyzziks (~drfyzziks@24-212-140-39.cable.teksavvy.com) has left #drupal-support
  42.  
  43. <kappaluppa> i was told this is the wrong way to approach it
  44.  
  45. <kthomas1> what's the alternative ;) ?
  46.  
  47. <kappaluppa> that the drupal way is to recreate about 100 nodes
  48.  
  49.  rickmanelius has quit (Quit: rickmanelius)
  50.  
  51. <kthomas1> I'd certainly have revisions on
  52.  
  53. <kappaluppa> all with the new information
  54.  
  55. <kthomas1> but if it's a revision/change and not new info,
  56.  
  57. <kthomas1> then creating new nodes seems the back arseward way
  58.  
  59. <kappaluppa> its a change in the node title such as from: this is fall TO: this is spring
  60.  
  61. <kthomas1> himm
  62.  
  63. <kthomas1> *hmmm
  64.  
  65. <kappaluppa> three fields: title, image, url
  66.  
  67. <kthomas1> well, maybe your title should be a subtitle
  68.  
  69. <kthomas1> but as long as it's the same *think* and you're *updating* it
  70.  
  71. <kthomas1> "House on 200 Alberta St."
  72.  
  73. <kthomas1> "this is a picture in spring"
  74.  
  75. <kthomas1> "this is a picture in fall"
  76.  
  77. <sam1am> How can I verify the machine name of a view and its displays in D7?
  78.  
  79. <kthomas1> it would seem odd to me to create new nodes each season, all else aside
  80.  
  81. <kappaluppa> that was my thought
  82.  
  83. <kthomas1> assuming no parent relationship etc etc
  84.  
  85. <kappaluppa> also, this is the 3rd season
  86.  
  87. <kappaluppa> the views are created via content type
  88.  
  89. <kthomas1> now, if you're trying to archive it all ...
  90.  
  91.  kvnn (~kvnn@cpe-98-151-249-46.socal.res.rr.com) has left #drupal-support
  92.  
  93. <kthomas1> then you might have a different data architecture
  94.  
  95.  nadavoid (~nadavoid@drupal.org/user/89512/view) has joined #drupal-support
  96.  
  97. <kthomas1> * and keep that archive live and easy to find
  98.  
  99. <kappaluppa> this is what I am told. that changing the title and the image in the node is destroying data
  100.  
  101. <kthomas1> but these days, even revisions are easy to search
  102.  
  103. <kthomas1> do you have revisions on?
  104.  
  105.  kthomas1 believes in revisions on by default
  106.  
  107. <kappaluppa> that's what i asked. i was told we can't have revisions on for everything
  108.  
  109. <kappaluppa> i think the same way.
  110.  
  111.  kthomas1 actually thinks you probably should not be able to turn revisions off
  112.  
  113. <kappaluppa> however, things are changed once every four months
  114.  
  115. <kthomas1> why can't you?
  116.  
  117. <kappaluppa> that's my question
  118.  
  119. <kappaluppa> too
  120.  
  121. <kthomas1> especially if it's only changed every four months
  122.  
  123. <kthomas1> it's only disk space
  124.  
  125. <kthomas1> disk is cheaper every day!
  126.  
  127. <kappaluppa> lol
  128.  
  129. <kappaluppa> here is my thought as well
  130.  
  131. <kappaluppa> we have three seasons so far
  132.  
  133.  sarah_p has quit (Quit: Computer has gone to sleep.)
  134.  
  135. <kappaluppa> one node type has 39 nodes, 3 for each language
  136.  
  137. <kappaluppa> if this is the 3rd season we should have about 120 unpublished nodes by now
  138.  
  139. <kappaluppa> there are only the 39 published nodes
  140.  
  141.  kthomas1 reboots
  142.  
  143.  kthomas1 has quit (Remote host closed the connection)
  144.  
  145.  bsmirnov has quit (Ping timeout: 245 seconds)
  146.  
  147. <GrecKo> When I change the settings for "Error messages to display", it keeps falling back to "All messages"
  148.  
  149. <GrecKo> I can't seem to change it :/
  150.  
  151.  Digidog (~digidog@f052071031.adsl.alicedsl.de) has joined #drupal-support
  152.  
  153.  kthomas1 (~ken@adsl-98-93-44-5.owb.bellsouth.net) has joined #drupal-support
  154.  
  155.  kthomas1 returns
  156.  
  157. <kthomas1> kappaluppa, yeah, sure, you never want to destroy data inadvertently
  158.  
  159. <kthomas1> but your first guarantee against that, is revisions tracking
  160.  
  161.  DestinSkiathos (~IceChat77@ppp-94-67-31-29.home.otenet.gr) has joined #drupal-support
  162.  
  163. <kthomas1> data architecture is an entirely different consideration
  164.  
  165.  August1914 (~nacho@216-45-69-17.gvec.net) has joined #drupal-support
  166.  
  167.  chaloum has quit (Remote host closed the connection)
  168.  
  169. <kappaluppa> if recreating the nodes was the way to go, I'd think we'd have 120 nodes of this content type with 80 of them unpublished
  170.  
  171.  juliakm has quit (Quit: Computer has gone to sleep.)
  172.  
  173. <kthomas1> well, you can imagine something like TV series--artist--episodes,
  174.  
  175. <kthomas1> with a bunch of node relations
  176.  
  177. <kthomas1> all depends on your actual application
  178.  
  179.  attiks has quit (Ping timeout: 245 seconds)
  180.  
  181. <kappaluppa> its image & url, with three nodes displayed in a carousel
  182.  
  183. <kappaluppa> very very simple
  184.  
  185. <kappaluppa> except there are 7 languages
  186.  
  187. <kappaluppa> so now we have 21 nodes, called in the view by language
  188.  
  189.  webflo1 (~Adium@p4FFF4E2E.dip0.t-ipconnect.de) has joined #drupal-support
  190.  
  191.  webflo has quit (Disconnected by services)
  192.  
  193. * webflo1 is now known as webflo
  194.  
  195. <kthomas1> you keep a node for each language?
  196.  
  197. <kappaluppa> the site is that way. some things are translated, some are not
  198.  
  199. <kappaluppa> i have not worked with translation much so i don't exactly know how it works
  200.  
  201. <kthomas1> v?
  202.  
  203. <Druplicon> What version of Drupal? The answer can vary widely depending on your version.
  204.  
  205. <kappaluppa> when using translation, if i create a node in English, how do the over translated version get created
  206.  
  207.  attiks (~quassel@d5153136D.static.telenet.be) has joined #drupal-support
  208.  
  209. <kappaluppa> d6
  210.  
  211. <kappaluppa> how do the other language version get created
  212.  
  213. <kthomas1> well, depends on what kind of translating you implement
  214.  
  215.  duckxx (~pat@cpe-66-108-51-222.nyc.res.rr.com) has joined #drupal-support
  216.  
  217. <kthomas1> but in D7 it's certainly possible to just enter different language versions of title & body for each node
  218.  
  219.  katbailey (~katherine@66.183.221.185) has joined #drupal-support
  220.  
  221. <kappaluppa> when i open say the English version of the node I see an option for translate
  222.  
  223.  Ejvind (Ejvind@rg4458297d1152.cm.vejen-net.dk) has joined #drupal-support
  224.  
  225. <kappaluppa> when i click on that tab i see a list of related nodes in different languages
  226.  
  227.  kevinquillen has quit (Quit: kevinquillen)
  228.  
  229.  bitchkat has quit (Quit: Leaving)
  230.  
  231. <kthomas1> sounds typical
  232.  
  233.  kthomas1 watches video driver install under virtualbox, hang again
  234.  
  235.  attiks has quit (Ping timeout: 255 seconds)
  236.  
  237.  AJToft (til@x1-6-e0-46-9a-98-30-32.k70.webspeed.dk) has joined #drupal-support
  238.  
  239. <kthomas1> wait, it looks like it's working this time around ... !
Add Comment
Please, Sign In to add comment